<a href="http://www.w3schools.com">W3Schools</a> 9. How can you create an e-mail link?
<a href="mailto:xxx@yyy">
<mail href="xxx@yyy">
<a href="xxx@yyy">
<mail>xxx@yyy</mail> 10. How can you open a link in a new tab/browser window?
<a href="url" target="_blank">
<a href="url" target="new">
<a href="url" new> 11. Which of these tags are all <table> tags?
<table><head><tfoot>
<table><tr><td>
<table><tr><tt>
<thead><body><tr> 12. In HTML, inline elements are normally displayed without starting a new line.
True
False
13. How can you make a numbered list?
<dl>
<ol>
<list>
<ul> 14. How can you make a bulleted list?
<ol>
<ul>
<list>
<dl> 15. What is the correct HTML for making a checkbox?
<input type="check">
<input type="checkbox">
<check>
<checkbox> 16. What is the correct HTML for making a text input field?
<input type="text">
<input type="textfield">
<textfield>
<textinput type="text"> 17. What is the correct HTML for making a drop-down list?
<select>
<list>
<input type="dropdown">
<input type="list">
18. What is the correct HTML for making a text area?
<input type="textarea">
<input type="textbox">
<textarea> 19. What is the correct HTML for inserting an image?
<img alt="MyImage">image.gif</img>
<img src="image.gif" alt="MyImage">
<img href="image.gif" alt="MyImage">
<image src="image.gif" alt="MyImage"> 20. What is the correct HTML for inserting a background image?
<img src="background.gif" background>
<background img="background.gif">
<body background="background.gif">
HTML5 QUIZ
1. What is the previous version of HTML, prior to HTML5?
HTML 4.1
HTML 4.9
HTML 4
HTML 4.01
2. Which doctype is correct for HTML5?
<!DOCTYPE HTML5>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd">
<!DOCTYPE html> 3. Which HTML5 element is used to specify a footer for a document or section?
<bottom>
<section>
<footer> 4. Which of the following elements is no longer supported in HTML5?
<q>
<font>
<ins>
<menu> 5. Which of the following elements is no longer supported in HTML5?
<acronym>
<cite>
<abbr>
<base> 6. In HTML5, onblur and onfocus are:
Event attributes
HTML elements
Style attributes 7. What is the correct HTML5 element for playing video files?
<movie>
<video>
<media> 8. What is the correct HTML5 element for playing audio files?
<mp3>
<sound>
<audio> 9. Which attribute for <script> elements is no longer required in HTML5?
href
type
rel
src 10. In HTML5, which method is used to get the current location of a user?
getPosition()
getUserPosition()
getCurrentPosition() 11. The new HTML5 global attribute, "contenteditable" is used to:
Specifies a context menu for an element. The menu appears when a user right-clicks on the element
Update content from the server
Return the position of the first found occurrence of content inside a string
Specify whether the content of an element should be editable or not 12. In HTML5, contextmenu and spellcheck are:
Style attributes
HTML elements
Event attributes
HTML attributes 13. In HTML5, you can embed SVG elements directly into an HTML page.
False
True 14. Graphics defined by SVG is in which format?
XML
HTML
CSS 15. The <canvas> element in HTML5 is used to:
manipulate data in MySQL
create draggable elements
draw graphics
display database records 16. Which built-in HTML5 object is used to draw on the canvas?
getGraphics
getContent
getContext
getCanvas 17. In HTML5, which attribute is used to specify that an input field must be filled out?
placeholder
required
validate
formvalidate 18. Which input type defines a slider control?
search
slider
controls
range 19. Which input type defines a week and year control (no time zone)?
year
week
date 20. Which HTML5 element is used to display a scalar measurement within a known range?
<range>
<measure>
<meter>
<gauge> HTML. Quiz 1. What does HTML stand for? Hyper Text Markup Language Home Tool Markup Language Hyperlinks and Text Markup Language 2. Who is making the Web standards? The World Wide Web Consortium Mozilla Microsoft 3. Choose the correct HTML tag for the largest heading <head> <heading> <h6> <h1> 4. What is the correct HTML tag for inserting a line break? <br /> <break /> <lb /> 5. What is the preferred way for adding a background color in HTML? <body background="yellow"> <body style="background-color:yellow"> <background>yellow</background> 6. Choose the correct HTML tag to make a text bold <bold> <b> 7. Choose the correct HTML tag to make a text italic <italic> <i> 8. What is the correct HTML for creating a hyperlink? <a>http://www.w3schools.com</a> <a url="http://www.w3schools.com">W3Schools.com</a> <a href="http://www.w3schools.com">W3Schools</a> <a name="http://www.w3schools.com">W3Schools.com</a> 9. How can you create an e-mail link? <mail href="xxx@yyy"> <mail>xxx@yyy</mail> <a href="xxx@yyy"> <a href="mailto:xxx@yyy"> 10. How can you open a link in a new browser window? <a href="url" target="_blank"> <a href="url" new> <a href="url" target="new"> 11. Which of these tags are all <table> tags? <thead><body><tr> <table><tr><tt> <table><tr><td> <table><head><tfoot> 12. Choose the correct HTML to left-align the content inside a tablecell <tdleft> <td align="left"> <td leftalign> <td valign="left"> 13. How can you make a list that lists the items with numbers? <dl> <list> <ul> <ol> 14. How can you make a list that lists the items with bullets? <list> <ul> <ol> <dl> 15. What is the correct HTML for making a checkbox? <checkbox> <input type="check" /> <input type="checkbox" /> <check> 16. What is the correct HTML for making a text input field? <textfield> <textinput type="text" /> <input type="textfield" /> <input type="text" /> 17. What is the correct HTML for making a drop-down list? <input type="list" /> <select> <input type="dropdown" /> <list> 18. What is the correct HTML for making a text area? <input type="textarea" /> <textarea> <input type="textbox" /> 19. What is the correct HTML for inserting an image? <image src="image.gif" alt="MyImage" /> <img src="image.gif" alt="MyImage" /> <img href="image.gif" alt="MyImage" /> <img alt="MyImage">image.gif</img> 20. What is the correct HTML for inserting a background image? <body background="background.gif"> <img src="background.gif" background /> <background img="background.gif" Respuestas correctas 1 a 2 a 3 d 4 a 5 b 6 b 7 b 8 c 9 d 10 a 11 c 12 b 13 d 14 b 15 c 16 d 17 b ?? 18 b ?? 19 b 20 a