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>
5 odpowiedzi
+ 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 .
+ 3
No error
+ 2
Also the syntax of meta should be as follows
<meta charset = "UTF-8">
Upper case letters
+ 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.
+ 1
Titlenos shown on the search bar instead use the header tag for example <header>FAIZA</header>