What is HTML (HyperText Markup Language)?

HTML stands for HyperText Markup Language. The markup language used for creating and structuring web pages. 

HTML code consists of tags and attributes that define different elements of a web page such as text, images, links, tables, forms, etc.

HTML tells the browser how to display the content.

The basic structure of HTML :

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Heading</h1>
<p>Paragraph</p>
</body>
</html>

The above code explanation,

  • <!DOCTYPE html> declaration tells the browser that the document is an HTML5 document.
  • The <html> element is the root element of an HTML page. It contains two other elements: <head> and <body>.
  • The <head> element contains the title of the page.
  •  The <body> element contains the visible content of the page. such as headings, paragraphs, images, hyperlinks, tables, lists, etc.

Also read, What is WordPress?

In this article, you learned What is HTML ( HyperText Markup Language )?

This is just a simple structure of HTML, but HTML can be used to create much more complex web pages with dynamic content and interactivity

Leave a Reply

Your email address will not be published. Required fields are marked *