The file starts from an <html> tag and ends with the </html>. <html> tagidentifies that it is an HTML file. <html> is also called as open tag and it also needits closed tag which is </html>. Between these tags we will define the Header of the file, so add the <head> tag and below it write </head> to close <head> tag.More to display the Title to the Web Browser use the special tag <title> write heretitle </title>. Text written between the <title> & </title> tag will be displayed asthe header of the your web page. The important tag is <body> tag. Whatever youwant to display on the web page you must write it in between <body> & </body>.
Basic HTML Tags
The most important tags in HTML are tags that define headings, paragraphs, bodyand line breaks. The basic HTML Tags are described here in the form of table sothat you can remind them easily.
Basic HTML Tags
TagDescription<html>Defines an HTML document<head>Defines information about the document<title>Defines the document title<body>Defines the document's body<h1> to <h6>Defines header 1 to header 6<p>Defines a paragraph<br>Inserts a single line break<hr>Defines a horizontal rule<!-->Defines a comment
Description Of The Above Tags
<html>tagThis element tells a browser that this is an HTML document. This tag is defined atthe top of the HTML file and at the end of file.Format:<html> <body>..............body of HTML.............</body></html>Example:<html> <body> this is my first page </body></html><head> tagThe head tag defines information about the document. The browser does notdisplay the "head information" to the user. The following tags can be in the headsection: <base>, <link>, <meta>, <script>, <style>, and <title>. The head tag isused between <html> and <body> tags.Format:<html> <head>.....head sections....</head><body>......body of HTML........</body></html>