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 trial
alex axel
2,014 Pointswhats the difference between header and head html element ?
whats the difference between them plz
1 Answer
Haider Ali
Python Development Techdegree Graduate 24,728 PointsHi there, although head and header sound quite similar, they are actually quite different to each other; the header of a website is the big block displayed at the top. This may vary between websites as every website is different and individual. Also, it is here you normally see the title of the website and often the navigation bar. On the other hand, the head tag usually holds metadata and thinks like links to external files. If you had an external CSS or JavaScript file, you would link it to your html page by using the <link> tag inside of the head. Hope this helps!
Thanks,
Haider