Loading...
Sply Code
Home
Courses
Blog
Contact
About Us
Donate
Go Back
Next page
Quiz
Html full Course Quiz
1. What does HTML stand for?
Hyper Text Markup Language
High Text Markup Language
Hyperlinks and Text Markup Language
2. Which HTML element is used to display an image?
image
img
picture
3. Which HTML5 element is used to define the main content of a document?
section
header
main
4. What is the correct syntax to create a link in HTML?
<a href="url">Link</a>
<link href="url">Link</link>
<href="url">Link</href>
5. Which HTML5 element is used to define a navigation bar?
nav
navigation
navbar
6. What is the purpose of the
tag?
To link to external stylesheets
To define metadata about the document
To display images on the webpage
7. Which tag is used to define an unordered list?
ul
ol
li
8. What is the default value of the "type" attribute in the "input" tag?
text
number
password
9. What does the canvas element do in HTML5?
Allows drawing graphics on the page
Embeds video content
Defines a container for interactive elements
10. Which element is used to display a table in HTML?
table
tab
tr
11. What is the purpose of the
element?
To create a section of content
To define the header of the page
To define a footer section
12. What is the correct syntax for a comment in HTML?
<!-- Comment -->
/* Comment */
// Comment
13. Which tag is used to create a form in HTML?
form
input
button
14. What does the "target='_blank'" attribute do in a link?
Opens the link in the same tab
Opens the link in a new tab
Disables the link
15. Which element is used to group inline elements in HTML5?
div
span
p
16. What does the
tag in HTML5 do?
Embeds audio content
Embeds video content
Embeds a YouTube video
17. Which attribute is used to specify an image's alternate text in the
tag?
alt
title
description
18. What does the
element represent in HTML5?
A standalone section of content
A header of the document
A footer of the document
19. Which tag is used to embed a video in HTML5?
video
media
movie
20. What does the
Footer of the document or section
Navigation menu
Header of the document
21. Which of the following is used for creating a hyperlink in HTML?
<a href="url">Link</a>
<link href="url">Link</link>
<hyperlink href="url">Link</hyperlink>
22. Which HTML5 element defines the main content of a document?
main
section
article
23. What does the main element represent?
Main content of the document
Header of the document
Sidebar content
24. What is the role of
in HTML5?
Represents an independent section of content
Represents the main header of the page
Represents the footer of the page
25. How do you make an input field required in HTML5?
Using the "required" attribute
Using the "mandatory" attribute
Using the "validate" attribute
26. Which of the following is used to store data in HTML5 locally?
localStorage
sessionStorage
Both localStorage and sessionStorage
27. Which attribute in the input element defines the maximum number of characters allowed?
maxlength
size
minlength
28. What is the function of the
tag in HTML5?
It defines a figure, such as an image with a caption
It defines an article section
It defines a block-level container
29. Which tag is used to display preformatted text?
pre
code
plaintext
30. What does the
element do in the section of an HTML document?
Links external resources such as stylesheets
Adds a hyperlink to the page
Displays an external image
Submit Quiz
Your Results
Try Practical Questions