<?xml version="1.0" encoding="utf-8"?>

The <head> tag

The <head> tag

The <head> element follows the <html> tag and contains metadata using <meta> tags, which is invisible to end-users but essential. Simply put, <meta> tags contain information about information and provide a summary of a web page, including character set, page description, keywords, author of the document, and viewport settings (the visible area of the page to users).

Search engines like Google analyze a website's meta tags to understand its purpose and use them to generate snippets — titles and descriptions for a page of search results.[1]

Improve your UX & Product skills with interactive courses that actually work