Name
<meta> — NN 2, 3, 4, 6 MSIE 2, 3, 4, 5, 5.5, 6 HTML 4.01 WebTV Opera5
Synopsis
<meta> (end tag forbidden)
Provides additional information about the
document. It should be placed within the
<head> tags at the beginning of the
document. It is commonly used for making documents searchable (by
adding keywords) or to specify the character set for a document. They
have been used for client-pull functions, but this function is
discouraged. Meta tags are discussed at the end of this chapter.
Attributes
-
content=text Required. Specifies the value of the meta tag property and is always used in conjunction with
name=orhttp-equiv=.
-
http-equiv=text The specified information is treated as though it were included in the HTTP header that the server sends ahead of the document. It is used in conjunction with the
contentattribute (in place of thenameattribute).
-
name=text Specifies a name for the meta information property.
-
scheme=text Provides additional information for the interpretation of meta data. This is a new attribute introduced in HTML 4.0.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access