Skip to main content

HyperText Markup Language

HTML stands for HyperText Markup Language. It is used to structure the content on the web by using various elements (commonly known as tags). These HTML elements define the different sections of a web page, such as headings, paragraphs, links to other webpages, listings, images, tables, etc. These elements tell the browser about the content and formatting to display.

HTML is HyperText + Markup Language. Where,

  • HyperText refers to the way in which Web pages (HTML documents) are linked together. Thus, the link available on a webpage is called "HyperText".
  • Markup Language, which means you use HTML to simply "mark up" a text document with tags that tell a Web browser how to structure it to display.
What is an HTML Element?
<tag_name>content</tag_name>
<h1>It is top-level heading</h1>
  • <h1> is the start tag.
  • "It is top-level heading" is the content, which is placed inside the start and end tags.
  • </h1> is the closing tag.
x

An HTML element is a basic building block to create a webpage, and It is created by a start tag, content, and end tag. In an HTML element, the content is placed between a start and end tag.

The basic syntax of an HTML element is −

Consider the following example demonstrates an HTML element −

Here,

Comments