Globale linker

Book 1

Book 2

Ch.14 Metadata

The DTD

The Document Type Definition tag precedes the opening <html> tag. Every conforming HTML document must start with the <!doctype> declaration, which is necessary to distinguish the version of HTML in use from other versions of HTML. This requirement is clearly stated in the HTML 3.2 standard. With three HTML 4.01 recommendations it is even more important to define which standard you are using. For example:

<!DOCTYPE HTML PUBLIC"-//W3C/DTD HTML 4.0 Transitional //EN">

The <title> is mandatory in HTML 3.2 and later version documents. If you omit the title, your document will not conform to the HTML 3.2 specification.

Metadata can be defined as data about data. It is data that embraces and describes a larger body of data. The metadata tag describes the content of a web page.

Meta-information consists of general information about the web page content that should be available, but not necessarily displayed for the user. This includes:

The <meta> tag requires the «content» attribute and either the «name» or the «http-equiv» attribute. The «http-equiv» and the «name» attributes define the general information you are creating or changing in the document and the «content» attribute defines the value of the general information.

<meta http-equiv>

<meta http-equiv> tags are equivalent to HTTP headers (headers that gives the web browser information useful for displaying the page). They can be used to control the actions of web browsers and further refine the information provided by the actual default headers. When using
<meta http-equiv> content can the values of:

<Meta name >

<META NAME> is used for information types that do not correspond to HTTP headers. Name can hold the value of for example:

For more information about metadata see this metadata dictionary or you can generate metadata with the Dublin Core Metadata Template

Meta tags and search engines

Some search engines will search for values specified by the content attribute of <meta>-tags that have the value of the «name» attribute set to «keywords». Do not use keywords excessively.

When the <meta> tag «name» attribute specifies the «description» value, the «content» attribute value will appear as a short description in some search engine results. Keep this description breef: no more than 25 words.

There are two types of «search engines»:

Search results are ranked according to relevance to the given search criteria. Some common characteristics are:

For more information one search engines go to SearchEngineWatch.com

Chapter 13 Chapter 15