HTML Basics

 Let's learn the basics of HTML - 

Consider this simple template -

<!DOCTYPE html>

<html>

<head>

<title>Page</title>

</head>

<body>


</body>

</html>


<!DOCTYPE html> - This line provide the information to browser that the version of the HTML is 5. 

This line is not a tag. It just provide the information to the browser.


<head></head> - This is a tag which contains the meta data of the document ( HTML page ). Meta 

data is the data which is not visible to the user i.e. it contains the information about the HTML page 

like title of the HTML page.


<title> - This tag is used to give the title of the HTML page which is visible in the title bar of the           

browser. When we bookmark any page then the title of the bookmark is the information in the                

title tag of HTML page.


<body> - The information in this tag is visible to the user. Example - Heading tag, Paragraph tag and 

lots more.


Thank You for Reading


Comments