Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBenjamin Boyce
454 Pointshow to add header element
says to ad header tag how
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title> This is a wordpress Page>
</head>
<body>
<head> this is the header </head>
<section> </section>
<footer> </footer>
this is the boday of the page
</body>
</html>
1 Answer
Louis Morgan
2,288 Pointsthe <head> tag should not contain website content such as title, images, paragraphs etc. The <head> is a tag that contains your links to other stylesheets and scripts, the course will go into that don't worry! A <header> element should come immediately after the <body> tag and you put all your header content inside there such as a image, h1 and a navigation!
Hope this helps!
David Castor
8,501 PointsDavid Castor
8,501 PointsThe first tag after <body> should say <header> instead of <head>.