O
Onyelusi
asked

Expert
Abhay Jajodia answered
Hi Onyelusi,
The <head> is for page information the browser needs, not for content the user reads on the page. Things in <head> include the page title, meta info, links to CSS, and scripts.
The content that shows on the webpage goes inside the <body>.
Example:
<head>
<title>My Page</title>
</head>
<body>
<h1>This will show on the page</h1>
</body>
<title> shows in the browser tab, but the <h1> shows on the actual page.
If you have more questions, I am here to help 😊
HTML
This question was asked as part of the Learn HTML course.
Our Experts
Sanjeev PanditPrincipal Engineer
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Anuj ShresthaTech Lead
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer