Chapter 310mExercise

HTML Elements Explained with Examples — Exercise

Learn HTML Elements with simple Code Examples. Understand Start Tags, End Tags, Nested Elements, Void Elements, and correct HTML Structure.

1

Which tag is used to create a paragraph in HTML?

2

Which HTML tag creates the largest heading by default?

3

Which tag is used to create a hyperlink?

4

Which attribute specifies the image file in an <img> element?

5

What is the purpose of the alt attribute in an <img> element?

6

Which HTML element contains the main visible content of a web page?

7

Which element defines the title shown in the browser tab?

8

Which tag inserts a line break in HTML?

9

Which element is used to create an unordered list?

10

Which HTML element is a generic container commonly used to group block-level content?