Learn Basic HTML

HTML

HTML stands for HyperText Markup Language. It is a standard markup language document designed to be displayed in a web browser. It allows the creation and structure of sections, paragraphs, and links using HTML elements (the building blocks of a web page) such as tags and attributes.

Markup Language

A markup language is a text-encoding system consisting of a set of symbols inserted in a text document to control its structure, formatting, or the relationship between its parts.

Tags

HTML tags are like keywords which defines that how a web browser will format and display the content. With the help of tags, a web browser can distinguish between HTML content and simple content. HTML tags contain three main tags:

Opening tag <>

Closing tag</>

Unclosed tag<'CONTENT'/>

Example of tags:

<p> Paragraph Tag </p>

<h1> Heading Tag </h1>

<b> Bold Tag </b>

<u> Underline Tag </u>

<image src='pic.png'/>

1st Hello World Code...

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <h1>Hello World</h1>
    <p>My 1st Blog ✌</p>
  </body>
</html>