Meta Element - An Example of The Use of The meta Element

An Example of The Use of The meta Element

In one form, meta elements can specify HTTP headers which should be sent before the actual content when the HTML page is served from Web server to client. For example:

This specifies that the page should be served with an HTTP header called 'Content-Type' that has a value 'text/html'. In the general form, a meta element specifies name and associated content attributes describing aspects of the HTML page. For example:

In this example, the meta element identifies itself as containing the 'keywords' relevant to the document, Wikipedia and encyclopedia.

Meta tags can be used to indicate the location a business serves:

In this example, geographical information is given according to ZIP codes.

Default charset for plain text is simply set with meta:

Read more about this topic:  Meta Element

Famous quotes containing the word element:

    An element of exaggeration clings to the popular judgment: great vices are made greater, great virtues greater also; interesting incidents are made more interesting, softer legends more soft.
    Walter Bagehot (1826–1877)