Advertisement

Google Ad Slot: content-top

The Head Element

~1 min read · HTML
On this page

The <head> element in HTML is used to contain meta-information about the HTML document. This includes elements like the page title, links to stylesheets, character set declarations, and more. 

Common Element in the <head>:

  • <title>: Sets the title of the webpage.
  • <meta>: Provides metadata about the HTML document (like character encoding, author, and keywords).
  • <link>: Links external resources like stylesheets and icons.
  • <style>: Embeds CSS styles directly within the HTML document.
  • <script>: Embeds or links to JavaScript code.
Example
Your Page Title