+ 2

What is the difference between head tag and title bar

11th Jan 2018, 3:07 PM
purushotam sahu
purushotam sahu - avatar
3 odpowiedzi
+ 2
To make it simple in <head> you put general info and maybe some scripts, as well as <title> which would display whatever you type as a title in a tab inside the browser.
11th Jan 2018, 4:55 PM
Stefan Matijevic
+ 5
The Head tag <head> includes lots of other infor including the <title> , <meta> tags, links to CSS... The <title>.. name will appear in your browser tab when you load thee page.
11th Jan 2018, 3:13 PM
Agnesness
Agnesness - avatar
+ 2
Trying my best If you code this:- <html> <head> <title>This is title</title> </head> </html> See in the above code, There is no body tag, That means webpage will be blank and "This is title" (between title tag) will be appeared at Tab Title (of web browser). See this code: <html> <head> <title>This is title</title> </head> <body> <h1>This is Biggest Heading</h1> <h6>This is Smallest Heading</h6> </body> </html> In the above code <h1> heading and <h6> heading will be visible in web page and "this is title" <title> tag will be displayed in Tab Title or Title Bar. <h1>to<h6> heading are displayed in webpage and <title> tag is displayed in title bar of web browser.
11th Jan 2018, 3:22 PM
Uttam
Uttam - avatar