Name
<meta> — NN: 2, 3, 4 • MSIE: 2, 3, 4, 5 • HTML 4 • WebTV • Opera3
Synopsis
<meta>
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 improving a
document’s searchability (by adding keywords) and may be used
for rudimentary push functions.
Attributes
content=textSpecifies the value of the meta tag and is always used in conjunction with
nameorhttp-equiv.http-equiv=textSpecifies information to be included in the HTTP header that the server appends to the document. It is used in conjunction with the
nameattribute.name=textSpecifies a name for the meta information.
scheme=textProvides additional information for the interpretation of metadata. This is a new attribute introduced in HTML 4.0.
Example
The http-equiv attribute is used to automatically
load pages at timed intervals using the following syntax:
<META http-eqiv="refresh" content="1; url=http://www.oreilly.com">
where the number equals the delay in seconds and the value of
url is the URL to be loaded.
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