JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
HTML Basic Quiz
There are
20 questions based on Basics of HTML.
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Q1. What does HTML stand for?
*
4 points
Hyperlinks and Text Markup Language
Hypertext Markup Language
Home Tool Markup Language
Hyperlink and Technology Markup Language
Q2. Which HTML tag is used to define a hyperlink?
*
4 points
<a>
<link>
<href>
<hyperlink>
Q3. Which tag is used to create an unordered list?
*
4 points
<ul>
<ol>
<li>
<list>
Q4. Which attribute is used to specify a unique identifier for an HTML element?
*
4 points
class
id
name
key
Q5. What is the DOM in web development?
*
4 points
A language for designing websites
A protocol for transferring data
A type of database
A programming API for HTML and XML documents
Q6.
Which is the correct HTML element for the largest heading?
*
4 points
<heading>
<h1>
<head>
<h6>
Q7. What is the purpose of the <br> tag?
*
4 points
to make the text bold
To break a line
To add a horizontal line
To add a blank space
Q8. What is the correct syntax for adding a background color in HTML?
*
4 points
<style> body{background:yellow;} </style>
<body bg="yellow">
<background ="yellow">
<body color="yellow">
Q9. Which tag is used to add a table in HTML?
*
4 points
<tbl>
<table>
<tab>
<tr>
Q10. Which HTML tag is used to create a definition list?
*
4 points
<dl>
<dt>
<dd>
All of the above
Q11. How can you change the numbering style of an ordered list?
*
4 points
By using the style attribute
By using the type attribute
By using the class attribute
By using the order attribute
Q12. Which tag is used to make text bold?
*
4 points
<b>
<strong>
Both <b> and <strong>
<bold>
Q13. Which tag is used to make text italic?
*
4 points
<i>
<italic>
<em>
Both <i> and <em>
Q14. Which of the following is an empty element in HTML?
*
4 points
<div>
<hr>
<p>
<span>
Q15. What is the purpose of the <title> tag in HTML?
*
4 points
To display the main heading on the webpage
To set the title of the browser tab
To define the style of the webpage
To create subtitles for images
Q16. Which tag is used to add a subscript to text?
*
4 points
<sup>
<sub>
<s>
<script>
Q17. Which tag is used to make text appear as a smaller font?
*
4 points
<small>
<font-size>
<tiny>
<s>
Q18. Which tag is used to create a dropdown list?
*
4 points
<list>
<dropdown>
<select>
<option>
Q19. What is the correct HTML for making a text bold?
*
4 points
<b>
<strong>
Both <b> and <strong>
<bold>
Q20. Which of the following is the correct syntax for creating a nested list?
*
4 points
Nesting <ol> inside <ul>
Nesting <ul> or <ol> inside another <li>
Nesting <dl> inside <ul>
All of the above
Submit
Clear form
Forms
This content is neither created nor endorsed by Google.
Report Abuse
Terms of Service
Privacy Policy
Help and feedback
Contact form owner
Help Forms improve
Report