Skip to main content

The Hidden Skull of the Website

Published on .

What is it?

<head> element contains information about your website for the robots and browsers.

A head element can include a meta viewport tag, title, stylesheets, scripts, social media preview card with the Open Graph protocol, canonical URL, and favicons.

Do you need to include it?

Yes, you must include it.

A website without a head element is like...

Resources

<head>: The Document Metadata (Header) element - HTML: HyperText Markup Language | MDN

What's in the head? Metadata in HTML - Learn web development | MDN

Harry Roberts - Get Your "head" Straight YouTube