Search results often show a short summary beneath the page title. An HTML meta description gives a search engine a summary written for that page.

A description can name details that the title leaves out, such as the services listed on a repair shop's page. The text lives in the document head, where browsers and crawlers can read it as metadata.

Search engines choose which text to show for each query. Google may show an excerpt from the page when it better matches the search.

Steps to add a meta description in HTML:

The steps start with a local HTML file you can edit that contains explicit <head> and </head> tags.

  1. Open your HTML file in a text editor.
  2. Insert the following tag immediately before </head> with your own page summary in content.
      <meta
        name="description"
        content="Bike tuning">

    If the page already has a meta description, replace its content value in place. Within the value, write &quot; for double quotes and &amp; for ampersands.

  3. Save the HTML file.
  4. Open the saved HTML file using its file URL in desktop Chrome.

    The example opens the local file repairs.html from the address bar.

  5. Right-click a blank area of the page.
  6. Choose View page source from the context menu.
  7. Verify that the page source contains exactly one meta description in the document head with your saved summary.

    In the example, name="description" and content="Bike tuning" appear on the same tag between <head> and </head>.

Share this guide