What is HTML?

HTML, or HyperText Markup Language, is the standard markup language for creating and structuring content on the World Wide Web. It's used to describe the structure of web pages using a set of tags. Here are a few basic examples:

  • <h1>: Defines a large heading
  • <p>: Defines a paragraph
  • <img>: Embeds an image
  • <a>: Defines a hyperlink

For instance, this is how you'd display a heading and a link in HTML:

<h1>Welcome to My Website!</h1>
<p>This is a paragraph.</p>
<a href="https://www.example.com">Visit Example</a>
What is HTML? — HTML Basics | Unlo