HTML Introduction

HTML Hello world

Consider the following example for HTML hello world example

<html>
<head>
<title>First Page</title>
</head>
<body>
Hello World
</body>
</html>

The details of above code are as under : –

1. <html>> : the root HTML document starting here
2. <head> : this section will not reflected in html page but used to add other attributes and filed required by document to process.
3. <title> : used to define title of the page (reflected in your browser tab title)
4. </title> : the closing title tag
5. </head> : the closing head tag
6. <body> : the actual page starts here
7.  Hello World : The content reflected in page
8. </body> : Close the document body
9.  </html> : close the HTML document definition.