HTML & CSS Interview Question #31

What is a meta description?

Forms, Validation, Metadata, Media, Responsive Images & Accessibility Junior Beginner

Quick Interview Answer

A meta description is metadata that provides a concise description of a page. Search engines may use it when generating a search-result snippet, although they can choose different text based on the query.

Detailed Explanation

A meta description is metadata that provides a concise description of a page. Search engines may use it when generating a search-result snippet, although they can choose different text based on the query.

Each important page should have a useful, page-specific description written for humans. The meta description is not visible as ordinary page content and is not a substitute for a clear page heading and meaningful content.

Code Example

<meta name="description"
      content="Practice HTML and CSS interview questions with detailed answers and practical examples.">