Custom Meta Data
More advanced use of mcta data allows the document author to specify any custom properties of the document that may he useful to a browser.
For example, in a document describing this book it may be useful to add some of the relevant information as mcta data:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.wS.org/TR/html4/strict.dtd"> <head>
<title>HTML 4 in easy steps</title> <meta name="author" content="Mike McGrath"> <meta name="ISBN" content="l-84078-048-7"> </head>
This ability to add any custom values to the <mcta> tag attributes will only be useful if they can be recognized.
One major effort to consolidate mcta data involves a profile standard called the " Dublin ('ore" that defines a set of recommended properties to describe books.
Current information about this profile together with full specifications can be found on the Web at http://purl.org/dc.
The properties that are defined by a profile have their values set by subsequent <meta> tags within the document.
The <meta> tag also has a "scheme" attribute that can be used in conjunction with a profile to help the browser correctly interpret the mcta data.
In the example below a hypothetical profile defines a scheme to specify the format of an ISBN book number:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/htm!4/strict.dtd"> <head profile="http://acme.com/bookprofile"> <title>HTML 4 in easy steps</title> •cmeta scheme="ISBN" name="identifier"
content="l-84078-048-7"> </head>
Back to HTML Tutorials |