HTML Quiz Answers-Web Development II
9. Which character is used to indicate an end tag?
/
8. What is the correct HTML for creating a hyperlink?
<a href="http://www.w3schools.com">W3Schools</a>
16. What is the correct HTML for making a text input field?
<input type="text">
37. Which HTML element is used to display a scalar measurement within a range?
<meter>
38. Which HTML element defines navigation links?
<nav>
13. How can you make a numbered list?
<ol>
What does HTML stand for?
Hyper Text Markup Language
2. Who is making the Web standards?
The World Wide Web Consortium
12. Inline elements are normally displayed without starting a new line.
True
15. What is the correct HTML for making a checkbox?
<input type="checkbox">
6. Choose the correct HTML element to define important text
<strong>
11. Which of these elements are all <table> elements?
<table><tr><td>
31. The HTML global attribute, "contenteditable" is used to:
Specify whether the content of an element should be editable or not
21. An <iframe> is used to display a web page within a web page.
True
26. Which doctype is correct for HTML5?
<!DOCTYPE html>
10. How can you open a link in a new tab/browser window?
<a href="url" target="_blank">
7. Choose the correct HTML element to define emphasized text
<em>
27. Which HTML element is used to specify a footer for a document or section?
<footer>
3. Choose the correct HTML element for the largest heading
<h1>
40. Which HTML element is used to specify a header for a document or section?
<header>
17. What is the correct HTML for making a drop-down list?
<select>
24. Which HTML element defines the title of a document?
<title>
14. How can you make a bulleted list?
<ul>
29. What is the correct HTML element for playing video files?
<video>
39. In HTML, what does the <aside> element define?
Content aside from the page content
32. In HTML, onblur and onfocus are:
Event attributes
23. Block elements are normally displayed without starting a new line.
False
33. Graphics defined by SVG is in which format?
XML
25. Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
alt
22. HTML comments start with <!-- and end with -->
True
28. In HTML, you can embed SVG elements directly into an HTML page.
True
34. The HTML <canvas> element is used to:
draw graphics
36. Which input type defines a slider control?
range
35. In HTML, which attribute is used to specify that an input field must be filled out?
required
30. What is the correct HTML element for playing audio files?
<audio>
5. What is the correct HTML for adding a background color?
<body style="background-color:yellow;">
20. What is the correct HTML for inserting a background image?
<body style="background-image:url(background.gif)">
4. What is the correct HTML element for inserting a line break?
<br>
19. What is the correct HTML for inserting an image?
<img src="image.gif" alt="MyImage">
18. What is the correct HTML for making a text area?
<textarea>