+ 2
What is difference between title and head.
5 Respostas
+ 1
If someone gave you a title like 'sir' it will go to your head. Similarly the html title element lives within the head element.
+ 6
First I am telling that title is a part of head and title means the website page name. You can add only the page name in <title> tag.
But you can add CSS and JS link in <head> tag. You can also add meta information and favicon in <head> tag.
so, hope you have understood difference between title and head.
+ 3
What did you want to say by difference?
Title section is stored in head section
<!DOCTYPE HTML>
<html>
<head>
<title>first page</title>
</head>
<body>
</body>
</html>
Your title will not be displayed on the page, will be used by the search engine
0
Thank you
0
hello, title tag is used in head section of Html, where head part contains metadata of html page like this:
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>
There is one more title that can be used as an attribute which is useful when we want to give tooltip. like this:
<img src="../html/pic_trulli.jpg" title="trulli" alt="Trulli" >