These META elements defines the descriptions and keywords for search engines.
The META element is placed inside the HEAD element.
<meta name="Keywords" content="Keyword1,Keyword2,Keyword3">
<meta name="Description" content="Description that introduces content">
Keywords
| Attribute | Value | Explanation |
|---|---|---|
| name=" " | Keywords | - |
| content=" " | words | specifies the keywords |
Comma-separate if there are two or more keywords.
<meta name="Keywords" content="HTML,CSS,Codes,Tags,Elements,Attributes">
Description
| Attribute | Value | Explanation |
|---|---|---|
| name=" " | Description | - |
| content=" " | description | introduces the content |
<meta name="Description" content="HTML Tags and CSS Properties Reference">
<html> <head> <meta name="Keywords" content="HTML,CSS,Codes,Tags,Elements,Attributes"> <meta name="Description" content="HTML Tags and CSS Properties Reference"> <title>TAG index</title> </head> <body> </body> </html>