+ 2

What's the difference between <head></head> and <title></title>?

28th Dec 2016, 12:29 AM
Ethan
Ethan - avatar
4 Respostas
+ 8
The <head> tag, goes ,as the <body> tag, inside the <html> tag. The <title> tag it's inside the <head> tag. The <head> is responsible for the non-visual elements that helps the page works. One of those elements, it's the <title> tag, that defines a title to be displayed by the browser toolbar, and in search-engine results. In a html document, all of this could be presented this way: <!DOCTYPE html> <html> <head> <title>Your Page Title</title> </head> <body> </body> </html>
28th Dec 2016, 12:51 AM
André Santos
André Santos - avatar
+ 5
The head element is one of the main container elements on the page. It usually contains all of the meta tags, the title, styles, and occasionally scripts. Almost any page will have this element. The title element is used to tell the browser what text to put in the tab for this page.
28th Dec 2016, 12:41 AM
James Durand
James Durand - avatar
+ 3
The head tag is what belongs in the little tab on a webpage, so for example if you take google, they have that little G icon on the left of the tab, and that would be the head. The title is what is written on the tab so if you take Google again, Google would be the title.
28th Dec 2016, 9:24 PM
Cherry
Cherry - avatar
0
they r open and closing tags
18th Jan 2017, 1:09 AM
chris negati
chris negati - avatar