+ 2

How to add tittle for post in html

HTML

11th Sep 2019, 11:20 AM
Kagiso
Kagiso - avatar
11 Réponses
+ 11
Andrew Johnson thanks for letting me know. The reason I referred to the <h1> tag is because he mentioned title for a post, of he had said page, perhaps I wouldn't have mentioned that. You could also let me know how to rephrase my answer so I don't confuse others 😊
11th Sep 2019, 11:42 AM
Oma
Oma - avatar
+ 9
I believe you mean a title people can see, if yes, simply use <h1>Title here</h1> or any other heading tag. If you mean the title of the page, that shows up in the browser tab, then use <title>Page title</title>
11th Sep 2019, 11:28 AM
Oma
Oma - avatar
+ 5
Well take your time Kagiso. Not everyone became a genius overnight.
11th Sep 2019, 11:27 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
Look i have don't really understand coding but i am learning 🙏🙏🙏
11th Sep 2019, 11:26 AM
Kagiso
Kagiso - avatar
+ 1
Inside <head> tag add <title> tag, like: <head> <title> My Web Page </title> </head>
11th Sep 2019, 11:24 AM
Nemanja
Nemanja - avatar
+ 1
Ey guys i am working Smart n i dedicate my life to IT
11th Sep 2019, 11:35 AM
Kagiso
Kagiso - avatar
+ 1
For title: <head> <title> add your title </title> </head> And for heading: <body> <h1> add a heading </h1> </body>
12th Sep 2019, 11:10 AM
Indrayudh Mandal
Indrayudh Mandal - avatar
+ 1
<title>,,,,,,,,,,,</title>
13th Sep 2019, 5:38 AM
Jeet Milishia
Jeet Milishia - avatar
0
Same here, i just started like few days ago, im learning HTML :) Good luck!
11th Sep 2019, 11:27 AM
Nemanja
Nemanja - avatar
0
Should be simple...a title tag <title> doesnt have any other atrribute except from title
11th Sep 2019, 11:36 AM
Jaja
Jaja - avatar
0
Chee-Oma, what you said is correct, but next time try to use better words. I got confused with what we were talking about. It is a heading when using <h1> and a title when using <title>. Im sure you know this but for those who are less experienced, as myself, it would be less confusing to use the terms used in soloLearn
11th Sep 2019, 11:36 AM
Andrew Johnson
Andrew Johnson - avatar