+ 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
3 odpowiedzi
+ 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,...
+ 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.