Title tag <title></title> is written between ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Title tag <title></title> is written between ?

3rd Sep 2022, 1:31 AM
Fashion Of Ankit
Fashion Of Ankit - avatar
5 Answers
+ 7
✓ The <title> element is always used within a page's <head> block. >> The <title> tag defines the document's title that is shown in a browser's title bar or a page's tab. It only contains text. <!DOCTYPE html> <html> <head> <!-- title is written in head tag only --> <title>Title of page</title> </head> <body> <!-- visible content of code --> </body> </html>
3rd Sep 2022, 10:00 AM
Sujal
Sujal - avatar
+ 3
Fashion Of Ankit <!DOCTYPE html> <html> <head> <title> Page Title Here </title> </head> <body> </body> </html> -> Title Tag is Written Between Head tag.
3rd Sep 2022, 2:10 AM
Aman Kumar Sinha
Aman Kumar Sinha - avatar
0
Title tag is written between
3rd Sep 2022, 1:32 AM
Fashion Of Ankit
Fashion Of Ankit - avatar
0
Between <head> tag Like this: <!DOCTYPE html> <html> <head> <title>Document</title> </head> <body> <h1>Some Text</h1> </body> </html> The <title> tag's content will display in the browser's title bar or in the tab section.
4th Sep 2022, 8:05 AM
⛈️𝕾𝖚𝖒𝖆 𝕭𝖆𝖘𝖆𝖐❄️
⛈️𝕾𝖚𝖒𝖆 𝕭𝖆𝖘𝖆𝖐❄️ - avatar
0
<!DOCTYPE html> <html> <head> <! --title is written in head tag only--> <title>title of page</title> </head> <body> <! --visible content of code--> <! ---visible x
4th Sep 2022, 12:36 PM
Prakash Jadav