What is HTML?

HTML (HyperText Markup Language) is the basic building block of web pages. It defines the structure of a webpage using tags.

  • Tags are like containers that tell the browser what each part of the webpage is.
  • HTML tags are written inside angle brackets < >.

Example of HTML tags:

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

In this example:

  • <h1> creates a heading.
  • <p> creates a paragraph.