HTML <meta> แอตทริบิวต์เนื้อหา
ตัวอย่าง
อธิบายข้อมูลเมตาภายในเอกสาร HTML:
<head>
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
</head>
ความหมายและการใช้งาน
แอตทริบิวต์content
ให้ค่าที่เกี่ยวข้องกับแอตทริบิวต์
http-equiv
หรือname
รองรับเบราว์เซอร์
Attribute | |||||
---|---|---|---|---|---|
content | Yes | Yes | Yes | Yes | Yes |
ไวยากรณ์
<meta content="text">
ค่าแอตทริบิวต์
Value | Description |
---|---|
text | The content of the meta information |
❮ แท็ก HTML <เมตา>