<title> tag isn't showing up on the web page
Solution 1
Where do you expect title to be shown?
Title is what usually is displayed in the tab bar of your browser, or as text in your window switcher in your operating system. It does not show up inside your webpage.
Your markup seems to be correct, just look for the title in the browser window.
If you meant to make a title (in the meaning of a large text displaying in your website) one way of doing this is to, below your body-tag, write
<h1>Title here</h1>.
Solution 2
<title>
is not showing in web page; it is shown in Tab / Window's title.
Suggested to learn the basic HTML structure first.
Solution 3
i think you want a header
<html>
<head>
<title>my page </title>
</head>
<body>
<h1> first page </h1>
hello
</body>
</html>
Admin
Updated on June 06, 2020Comments
-
Admin almost 4 years
I was watching tutorials about html for beginners and tried to make a simple html file. when I open this on google chrome the body "hello" is showing up but the title part "first page" doesn't. Did I type something wrong? thanks in advance for your response.
//I apologies for those of you who already answered this. I now see that I have made a mistake on explaining my problem. I meant to show it as a header not title. I already got the answer from the given answers//
<html> <head> <title> first page </title> </head> <body> hello </body> </html>
-
esqew about 11 yearsYou might be looking for the
h1
tag
-
-
Admin about 11 yearsThank you now I see it, I should've looked there first thanks again.