what is html?

what is html?

HTML stands for Hyper Text Markup Language and it is used to create webpages. It uses HTML tags and attributes to describe the structure and formatting of a web pages and its content.

some basic rules of html:-

The basic HTML structure is fixed with doctype declaration, html, head, title, and 1)body tags. The content then can be added to the body tag.

2)Tags are enclosed in < and >. A tag should have an opening tag(eg <h1>) and a closing tag(eg </h1>).

3)HTML Tags are not case-sensitive.

Features of html:-

1)It is easy to learn and easy to use.

2)It is platform-independent Images, videos, and audio can be added to a web page.

3)Hypertext can be added to the text.

4)It is a markup language.

For example:-

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph</p>

</body>
</html>