HTML Practice Quiz Verified 2024
An <iframe> is used to display a web page within a web page (true or false) - ANSWER-
true
Block elements are normally displayed without starting a new line (true or false) -
ANSWER-false
How can you make a bulleted list? - ANSWER-<ul>
How can you make a numbered list? - ANSWER-<ol>
How can you open a link in a new tab/browser window? - ANSWER-<a href="url"
target="_blank">
HTML comments starts with <!-- and ends with -->? (true or false) - ANSWER-true
Inline elements are normally displayed without starting a new line (true or false) -
ANSWER-true
What does HTML stand for? - ANSWER-Hyper Text Markup Language
What is the correct HTML element for inserting a line break? - ANSWER-<br>
What is the correct HTML element for largest heading? - ANSWER-<h1>
What is the correct HTML element to define a important text? - ANSWER-<strong>
What is the correct HTML element to define emphasized text? - ANSWER-<em>
What is the correct HTML for adding a background color? - ANSWER-<body
style="background-color:yellow;">
What is the correct HTML for creating a hyperlink? - ANSWER-<a
href="http://www.w3schools.com">W3Schools</a>
What is the Correct HTML for inserting a background image - ANSWER-<body>
style="background-image:url(background.gif)">
What is the Correct HTML for inserting an image - ANSWER-img src="image.gif"
alt="MyImage">
What is the Correct HTML for making a "checkbox"? - ANSWER-<input
type="checkbox">
An <iframe> is used to display a web page within a web page (true or false) - ANSWER-
true
Block elements are normally displayed without starting a new line (true or false) -
ANSWER-false
How can you make a bulleted list? - ANSWER-<ul>
How can you make a numbered list? - ANSWER-<ol>
How can you open a link in a new tab/browser window? - ANSWER-<a href="url"
target="_blank">
HTML comments starts with <!-- and ends with -->? (true or false) - ANSWER-true
Inline elements are normally displayed without starting a new line (true or false) -
ANSWER-true
What does HTML stand for? - ANSWER-Hyper Text Markup Language
What is the correct HTML element for inserting a line break? - ANSWER-<br>
What is the correct HTML element for largest heading? - ANSWER-<h1>
What is the correct HTML element to define a important text? - ANSWER-<strong>
What is the correct HTML element to define emphasized text? - ANSWER-<em>
What is the correct HTML for adding a background color? - ANSWER-<body
style="background-color:yellow;">
What is the correct HTML for creating a hyperlink? - ANSWER-<a
href="http://www.w3schools.com">W3Schools</a>
What is the Correct HTML for inserting a background image - ANSWER-<body>
style="background-image:url(background.gif)">
What is the Correct HTML for inserting an image - ANSWER-img src="image.gif"
alt="MyImage">
What is the Correct HTML for making a "checkbox"? - ANSWER-<input
type="checkbox">