Mate in html is a single tag. It has no end tag and does not contain any content, such as "". The "" tag is always located inside the head element and provides meta information about the page, such as description and keywords for search engines and update frequency.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
mate in html is a single tag, it has no closing tag.
Metadata is the data information of the data. The
tag provides metadata for an HTML document. The metadata will not be displayed on the client, but will be parsed by the browser.
The META element is usually used to specify the description, keywords, last modification time of the file, author and other metadata of the web page.
Metadata can be called using browsers (how content is displayed or pages are reloaded), search engines (keywords), or other web services.
The tag is usually located within the
area. Metadata usually appears as name/value pairs.Example
Example 1 - Define document keywords for search engines:
<meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript">
Example 2 - Define web page description:
<meta name="description" content="Free Web tutorials on HTML and CSS">
Example 3 - Definition page author:
<meta name="author" content="Hege Refsnes">
实例 4 - 每30秒刷新页面: <meta http-equiv="refresh" content="30">
Attributes:
Value | Description | |
---|---|---|
character_set | Defines the character encoding of the document.||
text | Defines meta-information related to the http-equiv or name attribute.||
content-type | default-style refresh | Associate the content attribute to the HTTP header. |
application-name | author description generator keywords | Associate the content attribute to a name. |
format/URI | HTML5 is not supported. Define the format used to translate content attribute values. |
Html5 Video Tutorial"
The above is the detailed content of Is mate a single tag in html?. For more information, please follow other related articles on the PHP Chinese website!