+ 2

What is difference between title and head.

3rd Feb 2020, 8:14 AM
Mohit Dangar
Mohit Dangar - avatar
5 ответов
+ 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.
3rd Feb 2020, 12:11 PM
Sonic
Sonic - avatar
+ 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.
3rd Feb 2020, 9:33 AM
ISTIAQUE ZAMAN
ISTIAQUE ZAMAN - avatar
+ 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
3rd Feb 2020, 8:42 AM
{P~A} Programmation Addict
{P~A} Programmation Addict - avatar
0
Thank you
4th Feb 2020, 8:11 AM
Mohit Dangar
Mohit Dangar - avatar
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" >
5th Feb 2020, 4:20 AM
Ishan Shah
Ishan Shah - avatar