HTML Quiz
Which Character is used to indicate an end tag?
/
Which doctype is correct for HTML5?
<!DOCTYPE html>
Which HTML element is used to specify a footer for a document or section?
<footer>
What is the correct HTML element for the largest heading?
<h1>
Which HTML element defines the title of a document?
<title>
What does HTML stand for?
Hyper Text Markup Language
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
alt
What is the correct HTML element for playing audio files?
<audio>
What is the correct HTML for making a text input field?
<input type = "text">
In HTML, which attribute is used to specify that an input field must be filled out?
required
Who is making the Web standards?
The World Wide Web Consortium
An <iframe> is used to display a webpage within a web page. T/F
True
HTML comments start with <!-- and end with --> . T/F
True
In HTML, you can embed SVG elements directly into an HTML page. T/F
True
Inline elements are normally displayed without starting a new line
True
Which HTML element is used to specify a header for a document or section?
header
How can you make a bulleted list?
<ul>
How can you make a numbered list?
<ol>
What is the correct HTML for creating a hyperlink?
<a href="url"> urlname </a>
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 element to define important text?
<strong>
Which of these elements are all <table> elements?
<table> <tr>table row <th>table header <td>table data cell
What is the correct HTML for adding a background color?
style="background-color: red;"
How can you open a link in a new tab/browser window?
target="_blank"
What is the HTML <canvas> element used for?
to draw graphics
What is the correct HTML element to define emphasized text?
<em>
Block elements are normally displayed without starting a new line. T/F
False
What is the HTML global attribute, "contenteditable" used for?
to specify whether the content of an element should be editable or not
What is the correct HTML element for inserting a line break?
<br>