HTML tag is used to declare metadata of HTML documents. Here are the properties:
Properties | Value | Description |
---|---|---|
Name | author description keywords generator revised others |
The name of the attribute. |
content | text | defined with http-equiv or Meta information associated with name. |
http-equiv | content-type expires refresh set-cookie |
Connect the content attribute to the HTTP header. |
scheme | Text | Definition is used to explain the content attribute The format of the value. |
You can try running the following code to include the metadata:
<html> <head> <title>HTML meta tag</title> <meta name = "keywords" content = "HTML, meta tag, metadata" /> <meta name = "description" content = "Description of the document" /> <meta http-equiv = "refresh" content = "10" /> </head> <body style = "background-color:gray"> Document content goes here </body> </html>
The above is the detailed content of Include metadata in HTML documents. For more information, please follow other related articles on the PHP Chinese website!