Why is my program not showing the title | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is my program not showing the title

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>PageTitle</title> </head> <body> page content </body> </html>

5th Feb 2023, 3:54 PM
Ayın tacı
Ayın tacı - avatar
5 Answers
+ 6
title is normally displayed on the web browser top bar where ➖🔲❎ is shown . in sololearn it does not exit. try your code in a web browser .
5th Feb 2023, 4:34 PM
Bahhaⵣ
Bahhaⵣ - avatar
+ 3
No error
5th Feb 2023, 4:28 PM
NinjaGamer
NinjaGamer - avatar
+ 2
Also the syntax of meta should be as follows <meta charset = "UTF-8"> Upper case letters
7th Feb 2023, 12:59 PM
Alex Wairegi
Alex Wairegi - avatar
+ 1
The code you posted is correct and it should display the title "PageTitle" in the browser tab. If the title is not appearing, there may be other issues with the HTML file or the way it's being rendered by the browser. Please ensure that the file is saved with a ".html" extension, that it's being opened with a browser, and that the browser is not in offline mode. If the issue persists, try opening the file with a different browser.
5th Feb 2023, 6:00 PM
ArsenicolupinIII
+ 1
Titlenos shown on the search bar instead use the header tag for example <header>FAIZA</header>
7th Feb 2023, 12:56 PM
Alex Wairegi
Alex Wairegi - avatar