Dear All,
Today, we will start learning basic tags of HTML that is used to develop any web page. So let’s study one by one HTML Tag and do practice based from the given information and code.
Before starting anything into HTML, you need to know about basic HTML tags:
Tag | Description |
---|---|
<!DOCTYPE> | Defines the document type |
<html> | Defines an HTML document |
<head> | Defines information about the document that include other tags that used on SEO point of view |
<title> | Defines a title for the web page |
<body> | Main tag for any web document |
<h1> to <h6> | Defines HTML headings for any web page or content |
<p> | Defines a paragraph, and we can set various properties |
<br> | Insert a single line break between any content |
<hr> | Insert a horizontal line between any content |
<!–…–> | Insert any comments between any content |
This is the basic tags that need to know before doing any HTML coding.
Sample:
<!DOCTYPE html>
<html>
<head>
<title>Welcome to HTML Basic sessions</title>
</head>
<body>
Main web page content comes here
</body>
</html>