HTML, or Hyper Text Markup Language, serves as the backbone of the internet by allowing the creation of web pages and web applications. To grasp the concept of HTML, let’s dissect its name: “HyperText,” “Markup Language,” and “Web Page.”
HyperText: HyperText is like “Text within Text.” Imagine a text containing clickable links – that’s what we call hypertext. When you click on a link and it takes you to another webpage, you’re engaging with hypertext. Essentially, hypertext connects different web pages, which are written in HTML.
Markup Language: A markup language is a special computer language used to add structure and formatting to plain text documents. It empowers text to become interactive and versatile, transforming it into elements such as images, tables, and links.
Web Page: A web page is a document typically composed in HTML and rendered by web browsers. You access a web page by typing its URL (Uniform Resource Locator) into your browser. Web pages can be either static or dynamic, and HTML is the language that enables the creation of static web pages.
In summary, HTML is a crucial markup language that allows the construction of visually appealing web pages with styles and formatting that display attractively in web browsers. HTML documents consist of various HTML tags, each serving a distinct purpose.
Let’s see a simple example of HTML.
<!DOCTYPE>
<html>
<head>
<title>Web page title</title>
</head>
<body>
<h1>Write Your First Heading</h1>
<p>Write Your First Paragraph.</p>
</body>
</html>