W3Schools HTML Quiz
Which character is used to indicate an end tag?
/
which doctype is correct for HTML5?
<!DOCTYPE html>
What is the correct HTML for creating a hyperlink?
<a href="http://www.w3schools.com">W3Schools</a>
What is the correct HTML for adding a background color?
<body style="background-color:yellow;">
What is the correct HTML for inserting a BACKGROUND image?
<body style="background-image:url(background.gif)">
What is the correct HTML element for inserting a line break?
<br>
What is the correct HTML element to define emphasized text?
<em>
What is the correct HTML element for the largest heading?
<h1>
Which HTML element is used to specify a header for a document or section?
<header>
What is the correct HTML for inserting an image?
<img src="image.gif" alt="MyImage">
Which HTML element defines navigation links?
<nav>
How can you make a numbered list?
<ol>
What is the correct HTML for making a drop-down list?
<select>
What is the correct HTML element to define important text?
<strong>
Which of these elements are all <table> elements?
<table><tr><td>
Which HTML element defines the title of a document?
<title>
How can you make a bulleted list?
<ul>
What is the correct HTML element for playing video files?
<video>
True or False: Block elements are normally displayed without starting a new line.
False
What does HTML stand for?
Hyper Text Markup Language
Who is making the Web standards?
The World Wide Web Consortium
True or False: An <iframe> is used to display a web page within a web page.
True
True or False: HTML comments start with a <!-- and end with -->
True
True or False: Inline elements are normally displayed without starting a new line.
True
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
alt