Example

A simple <meta> tag that open PNLdev.com link:

Laboratory

description & Usage

To use meta data in html documents, the <meta> tag is used

The place to use meta tags in the relevant document is inside the <head> tag.

The <meta> tag is used to specify the number of characters, page descriptions, keywords, the name of the author of the document, and basic settings.

Meta data is not displayed to the user but is read by browsers.

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
<meta>

Attributes

Attributes Values Description
charset
character set
en
content
text
en
name
all value
en

Global Attributes

The meta tag supports the HTML Global Attributes.

Event Attributes

The meta tag supports the HTML Event Attributes.

More Examples

Example

Set a description for your web page. Example #1 - The <meta> tag in HTML

Laboratory

Example

Specify the name of the author of the page. Example #2 - The <meta> tag in HTML

Laboratory

Example

Determines how often the page is refreshed. Example #3 - The <meta> tag in HTML

Laboratory