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>
How can you open a link in a new tab/browser window?
<a href="url" target="_blank">
what is the correct HTML element for playing audio files
<audio>
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-iamge:url(background.gif)">
what is the correct HTML element for inserting a line break
<br>
choose the correct HTML element to define emphasized text
<em>
which HTML element is used to specify a footer for a document or section
<footer>
choose 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">
what is the correct HTML for making a checkbox
<input type="checkbox">
what is the correct HTML for making a text input field
<input type="text">
which HTML element is used to display a scalar measurement within a range
<meter>
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>
choose the correct HTML element to define important text
<strong>
which of these elements are all <table> elements
<table><tr><td>
what is the correct HTML for making a text area
<textarea>
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>
In HTML, what does the <aside> element define?
Content aside from the page content
In HTML, onblur and onfocus are:
Event attributes
what does HTML stand for?
Hypertext Markup Language
who is making the Web standards?
The World Wide Web Consortium
Graphics defined by SVG is in which format?
XML
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
alt
the HTML <canvas> element is used to:
draw graphics
Block elements are normally displayed without starting a new line.
false
Which input type defines a slider control?
range
In HTML, which attribute is used to specify that an input field must be filled out?
required
The HTML global attribute, "contenteditable" is used to:
specify whether the content of an element should be editable or not
An <iframe> is used to display a web page within a web page.
true
HTML comments start with <!-- and end with -->
true
In HTML, you can embed SVG elements directly into an HTML page.
true
Inline elements are normally displayed without starting a new line.
true