DEV Community

Bharadwaj
Bharadwaj

Posted on

HTML - A Brief Introduction

HTML

HyperText Markup Language is a basic language to create and structure webpages. Like a skeleton of human body, HTML supports a website.

HTML focuses on defining the layout and presenting the content.

Let us understand each word in HTML.

What is HyperText?

This refers to the system that connect web pages to each other within the same website / across websites.

What is Markup?

Markup in this context refers to the use of tags to define the elements within a webpage. Tags (<, />) will determine how the text should be displayed. For example, header, paragraph, image, list, make a text bigger/smaller etc. can be defined through tags

Is HTML a programming language?

HTML is NOT a programming language. It is only a mark up language. There are no programming concepts like variable, loops and computational algorithms are involved in writing a HTML code.

Let us create a simple webpage

Type below code in a notepad and save as .html

<html>
<body>
<p1>

This is my first HTML page.

</p1>
</body>
</html>

Enter fullscreen mode Exit fullscreen mode

Notice that the file has changed to a browser icon. Try opening the file and it opens in a browser with text "This is my first HTML page."

Top comments (0)