HTML

The <meta> tag describes the metadata about the page.

Metadata - Data about data


Meta data is the data about another data.

<meta> tag is usually used to specify character set, keywords, author of the document, page descriptions, and viewport settings.

<meta> tag can be used multiple times, and must be inside <head> tag.

The information in <meta> tag are used by browsers, search engine, or other web services.

Metadata is not displayed on the page.

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="author" content="w3context Team">

<meta name="description" content="Online tutorials">

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.

Example

<!DOCTYPE html>
<html>
<!-- Example: Meta Tag -->
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="w3context Team">
    <meta name="description" content="Online tutorials">
</head>
<body>
    <h1>Example meta tag.</h1>
    <h2>The meta information are used by browsers, search engine, or other web services.</h2>
    <p>Metadata is not displayed on the page.</p>
</body>
</html>
Try it Now »

Click on the "Try it Now" button to see how it works.