In this tutorial you will learn about the HTML Basic Tags and its application with practical example.
Let’s take a look at the basic HTML Page Structure –
1 2 3 4 5 6 7 8 |
<HTML> <HEAD> <TITLE>My First Web Page</TITLE> </HEAD> <BODY> This is where the page content comes. </BODY> </HTML> |
As we can see a basic web page can be created with the following tags –
Tag | Description |
---|---|
<html>…</html> | All HTML documents should begin with <HTML> and end with </HTML> tags. The <HTML> element indicates to the browser that this is an HTML document. |
<head>…</head> | This section provides the information about the document, such as the title, author, keywords or relationships to other documents, all this details is placed inside <HEAD>…</HEAD> element.The beginning of the head section is marked by the <HEAD> tag, and the end of the head section with the </HEAD> tag.Elements that go in the head part are advanced stuff used by search engines. |
<head>…</head> | This section provides the information about the document, such as the title, author, keywords or relationships to other documents, all this details is placed inside <HEAD>…</HEAD> element.The beginning of the head section is marked by the <HEAD> tag, and the end of the head section with the </HEAD> tag.Elements that go in the head part are advanced stuff used by search engines. |
<title>…</title> | Title tag is used to represent the title of the web page. Page title appears at the very top of your browser’s window when you view the page.No other HTML Elements placed between this tag.The beginning of the title is marked by the <TITLE> tag, and the end with the </TITLE> tag.Titles should be short, descriptive, and limited. |
<body>…</body> | The Body section contains all the HTML Elements that is supposed to be presented on the web page. Everything between those two tags will be visible on your page.The beginning of the body section is marked by the <BODY> tag, and the end of the body section with the </BODY> tag |