Head Elements

Tweet

The elements listed in this section are all contained within the head element, and either provide extra information about the page, or reference other resources that are required for the page to display or behave correctly.

In this section

  • base
    specifies a base URL for all relative URLs contained in the document
  • link
    defines the relationship between the current document and other documents or resources
  • meta
    provides general information about a document for indexing and other purposes
  • script
    contains (or refers to) statements in a scripting language that are to be processed on the client side
  • style
    contains CSS style information that’s embedded into a page
  • title
    defines the title of the web page or document

Learn HTML5 Online

Get all SitePoint books and courses with a Learnable membership. Start building future-proof websites that are faster, more powerful, and easier to maintain.

No Reader comments