Home > Web Front-end > HTML Tutorial > What is the function of meta tag

What is the function of meta tag

云罗郡主
Release: 2019-02-13 17:26:46
Original
15625 people have browsed it

What is the role of the

meta tag?

Role: Provide meta-information about the page, such as descriptions and keywords for search engines and update frequency.

Note: The tag is located at the head of the document and does not contain any content. The tag's properties define the name/value pairs associated with the document.

Note: The tag is always located inside the head element. Metadata is always passed in name/value pairs.

html meta tag example

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
 <span>hello world</span>
</body>
</html>
Copy after login


The above is the detailed content of What is the function of meta tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template