HTML Basics Quiz

Test your knowledge of HTML fundamentals

Time Left: 2:00
1. What does HTML stand for?
Correct Answer: Hyper Text Markup Language
Explanation: HTML stands for Hyper Text Markup Language, which is the standard markup language for creating web pages.
2. Which HTML element is used to define a paragraph?
Correct Answer: <p>
Explanation: The <p> tag is used to define a paragraph in HTML.
3. Which HTML tag is used to create a hyperlink?
Correct Answer: <a>
Explanation: The <a> (anchor) tag is used to create hyperlinks.
4. Which tag is used to display an image?
Correct Answer: <img>
Explanation: The <img> tag is used to embed images in HTML.
5. What attribute is used to provide alternative text for an image?
Correct Answer: alt
Explanation: The alt attribute provides alternative text for images.
6. Which HTML tag creates an unordered list?
Correct Answer: <ul>
Explanation: The <ul> tag defines an unordered (bulleted) list.
7. Which tag is used for the largest heading?
Correct Answer: <h1>
Explanation: <h1> defines the most important heading.
8. Which tag is used to create a line break?
Correct Answer: <br>
Explanation: <br> inserts a single line break.
9. Which HTML tag is used to make text bold?
Correct Answer: <b>
Explanation: <b> makes text bold visually.
10. Which HTML element contains metadata?
Correct Answer: <head>
Explanation: The <head> element contains metadata about the document.
Back View Result