+ 1

Difference between title and head tag in html

also plz tell why head is non visual when we write a code in it it appears in output window

25th Jul 2017, 5:43 AM
Akanksha Dadhich
2 Respuestas
+ 2
<title> is a tag to name your actual page, it appears at the top of your web browser window. <head> is a not displayed tag, it contains settings informations including the tag <title>. Inside head tag you can define what language use your website, who is the author, give search keywords for Google,... design your website with CSS,...
25th Jul 2017, 6:00 AM
Geoffrey L
Geoffrey L - avatar
+ 1
The purpose of the document <head> is to provide information about the document itself. We can declare doctype and character set. End users would not have much use with it. The purpose of <title> tag is to give a name to the webpage for easy searching or navigation. We can even save that webpage in bookmarks with the given title name.
13th Sep 2017, 4:36 AM
Sandeep Kolluru
Sandeep Kolluru - avatar