NEW
Font size
WorksheetsHTML 5 Quiz
Total questions: 52
Worksheet time: 26mins
What does HTML stand for?
HighText Markup Language
HyperText Multi Language
HyperText Markup Language
HyperText Markup Link
Which of the following is a valid HTML5 element?
What is the purpose of the
To create a heading
To link to external styles
To define the title of the document
To add a footer
What does the tag require?
src attribute
href attribute
title attribute
alt attribute
What is the correct HTML for creating a checkbox?
Which attribute is used to specify the URL of the page the link goes to?
link
href
url
src
What is the purpose of the
section in an HTML document?To define styles
To create links
To display content
To contain metadata
Which of the following is not a valid HTML5 input type?
file-upload
color
date
text
What does the
tag do?
Creates a new section
Creates a horizontal line
Creates a new paragraph
Creates a line break
Which of the following is a semantic HTML5 element?
What is the purpose of the
To define the footer of a document
To create a header
To add a sidebar
To create a navigation menu
Which HTML element is used to define an unordered list?
What is the correct way to add a comment in HTML?
// This is a comment
# This is a comment
/* This is a comment */
Which of the following is used to create a table in HTML?
17. What does the tag define? a) The footer of the document b) The body of the document c) The title of the document d) Metadata about the HTML document 18. Which attribute is used to specify the character encoding in HTML? a) encoding b) charset c) meta d) type 19. What is the purpose of the tag? a) To add scripts b) To define styles c) To create a hyperlink d) To link to external resources 20. Which of the following is a valid way to include CSS in an HTML document? a) b) c) d) 21. What is the purpose of the |
