+ 2
What's the difference between <head></head> and <title></title>?
4 ответов
+ 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>
+ 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.
+ 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.
0
they r open and closing tags