Module 2: HTML Elements and Tags

What are HTML Elements and Tags?

HTML elements are the building blocks of web pages. They consist of tags that define different parts of the content, such as headings, paragraphs, links, images, and more.

Example of HTML Elements


<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<a href="https://example.com">This is a link</a>
            

Try It Yourself

Quiz: Test Your Knowledge

Which HTML tag is used for creating a paragraph?

Coding Challenge

Create a heading and a paragraph in the code editor, then display them below.