<meta>: The metadata element - HTML: HyperText Markup Language | MDN

Social Card Preview

The MDN Web Docs logo, featuring a blue accent color, displayed on a solid black background.

<meta>: The metadata element - HTML: HyperText Markup Language | MDN

The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta

Meta tags

  • Title

    <meta>: The metadata element - HTML: HyperText Markup Language | MDNMDN Web DocsMDN logoMozilla logo

  • Description

    The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.

  • Theme color

    #ffffff

Open graph meta tags

Twitter meta tags

Resources

  • HTML

    <!-- HTML Meta Tags -->
    <title><meta>: The metadata element - HTML: HyperText Markup Language | MDNMDN Web DocsMDN logoMozilla logo</title>
    <meta name="description" content="The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.">
    <meta name="theme-color" content="#ffffff">
    
    <!-- Open Graph Meta Tags -->
    <meta property="og:title" content="<meta>: The metadata element - HTML: HyperText Markup Language | MDN">
    <meta property="og:description" content="The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.">
    <meta property="og:url" content="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta">
    <meta property="og:site_name" content="MDN Web Docs">
    <meta property="og:locale" content="en_US">
    <meta property="og:type" content="website">
    <meta property="og:image" content="https://developer.mozilla.org/mdn-social-share.d893525a4fb5fb1f67a2.png">
    <meta property="og:image:alt" content="The MDN Web Docs logo, featuring a blue accent color, displayed on a solid black background.">
    <meta property="og:image:width" content="1920">
    <meta property="og:image:height" content="1080">
    
    <!-- Twitter Meta Tags -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:creator" content="MozDevNet">
  • JSON

    {
      "title": "<meta>: The metadata element - HTML: HyperText Markup Language | MDNMDN Web DocsMDN logoMozilla logo",
      "description": "The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.",
      "keywords": null,
      "themeColor": "#ffffff",
      "author": null,
      "generator": null,
      "publisher": null,
      "creator": null,
      "og": {
        "title": "<meta>: The metadata element - HTML: HyperText Markup Language | MDN",
        "description": "The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.",
        "url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta",
        "siteName": "MDN Web Docs",
        "locale": "en_US",
        "type": "website",
        "image": {
          "url": "https://developer.mozilla.org/mdn-social-share.d893525a4fb5fb1f67a2.png",
          "width": "1920",
          "height": "1080",
          "alt": "The MDN Web Docs logo, featuring a blue accent color, displayed on a solid black background."
        },
        "video": {
          "url": null,
          "type": null,
          "width": null,
          "height": null
        },
        "audio": {
          "url": null,
          "type": null
        }
      },
      "twitter": {
        "card": "summary_large_image",
        "site": null,
        "creator": "MozDevNet",
        "title": null,
        "description": null,
        "image": {
          "url": null,
          "width": null,
          "height": null,
          "alt": null
        },
        "player": {
          "url": null,
          "width": null,
          "height": null,
          "stream": null
        },
        "app": {
          "iphone": {
            "name": null,
            "id": null,
            "url": null
          },
          "ipad": {
            "name": null,
            "id": null,
            "url": null
          },
          "googleplay": {
            "name": null,
            "id": null,
            "url": null
          }
        }
      }
    }