What is HTML

HTML stands for Hyper Text Markup Language, which is a programming language used to make web pages and web apps. Let’s find out what Hypertext Markup Language and a Web page mean.

HyperText is just another way of saying “Text within Text.” A hypertext is a text that has a link in it. When you click on a link that takes you to a new page, you have clicked on a hypertext. HyperText is a way to connect two or more HTML documents (web pages) to each other.

Markup language: A markup language is a computer language that tells a text document how to be laid out and formatted. Markup language turns text into something more dynamic and interactive. It can change text into pictures, tables, links, and other things.

Web Page: A web page is a document that is usually written in HTML and read by a web browser. By putting in a URL, you can find a web page. A Web page can be static or it can change over time. We can make static web pages by using only HTML.

So, HTML is a markup language that is used to make web pages that look good in a web browser. This is done by adding styles to the pages. There are many HTML tags in an HTML document, and each HTML tag has its own content.

Let’s look at an easy way to use HTML.

Example

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>Your H1 Heading</h1>
<p>Your  paragraph.</p>

</body>
</html>

What HTML Example Is About

<!DOCTYPE> says what kind of document it is or tells the browser what version of HTML it is.

This tag tells the browser that the document is an HTML file. The web page is described by the text between the html tags. It is a place for all HTML elements except!DOCTYPE> to go.

<head>: It should be the first element inside the html> element, which holds the metadata (information about the document). Before the body tag can be opened, it must be closed.

<title>: As its name suggests, it is used to add the title of an HTML page, which appears at the top of the browser window. It should be put inside the head tag and shut right away. (Optional)

<body>: The text between the body tags describes the part of the page that the end user can see. This tag holds the HTML document’s main content.

<h1>: The first level heading of the page is described by the text between the h1> tags.

<p>: The text between the p> tag explains what the paragraph on the page is about.

Things about HTML

1) It’s a very easy language to learn. It is easy to understand and change.

2) HTML makes it easy to make a good presentation because it has a lot of tags for formatting.

3) Since it is a markup language, it gives you a lot of freedom in how you design web pages and how you put text on them.

4) It makes it easy for programmers to add a link to a web page (using an HTML anchor tag), which makes the user more interested in browsing.

5) It works on any platform, like Windows, Linux, Macintosh, etc., so it is platform-independent.

6) It lets the programmer add graphics, videos, and sounds to web pages, which makes them more interesting and interactive.

7) HTML is a case-insensitive language, which means that tags can be written in either all capital letters or all lowercase letters.

People also search
Scroll to Top