HTML Introduction

An Introduction to HTML

HTML stands for HyperText Markup Language, and it serves as the foundation for structuring content on the web. Using a set of predefined elements (often referred to as tags), HTML defines the layout of a webpage. These elements are used to create different parts of the page, such as headings, paragraphs, links to other pages, lists, images, and tables. They instruct the web browser on how to display the content and apply the appropriate formatting.

HTML is the standard markup language for creating Web pages. HTML describes the structure of a Web page. HTML consists of a series of elements. HTML elements tell the browser how to display the content.

HTML is the combination of HyperText and Markup Language, where

  • HyperText refers to the method by which web pages (or HTML documents) are connected to one another. The links on a webpage that allow users to navigate to other pages are called "HyperText."
  • On the other hand, Markup Language means that HTML is used to "mark up" a plain text document with special tags, which tell a web browser how to format and display the content.

What is an HTML Element?

An HTML element is a fundamental component used to construct a webpage. It consists of a start tag, the content, and an end tag. The content is positioned between the start and end tags in an HTML element.

  <tag_name>Tag content </tag_name>

Here’s an example demonstrating a basic HTML element:

  <h1>Top Free Course </h1>
  <p>Paragraph Content </p>
Start tag Element content End tag
<h1> Top Free Course </h1>
<p> Paragraph Content. </p>
<br> none none
NOTE: HTML has several empty elements (also known as self-closing elements) that don’t enclose any content and therefore don’t need a closing tag. Instead, they represent standalone tags used for specific purposes, like the <br> element.
Previous Next