Links

The http-equiv attribute of the element allows you to provide processing instructions for the browser as if the response that returned the document included certain HTTP headers. The metadata is document-level metadata that applies to the whole page.

Fortunately, developers can leverage meta HTML tags to control caching behaviour, ensuring users receive the latest content promptly. This article explores the significance of browser caching and demonstrates the use of meta HTML tags to enhance web speed.

Defines a time interval for the document to refresh itself. Note: The value "refresh" should be used carefully, as it takes the control of a page away from the user. Using "refresh" will cause a failure in W3C's Web Content Accessibility Guidelines.

If the name attribute is set, the element provides document-level metadata that applies to the whole page. If the http-equiv attribute is set, the element acts as a pragma directive to simulate directives that could otherwise be given by an HTTP header.

The tag defines metadata about an HTML document. Metadata is data (information) about data. tags always go inside the element, and are typically used to specify character set, page description, keywords, author of the document, and viewport settings. Metadata will not be displayed on the page, but is machine parsable.

Both tags are meant to prevent browsers from caching the HTML page, and they usually do that. This means that access to the page may be slower especially if it is frequently visited.

For meta elements with an http-equiv attribute in the Encoding declaration state, the content attribute must have a value that is an ASCII case-insensitive match for a string that consists of: " text/html; ", optionally followed by any number of ASCII whitespace, followed by " charset=utf-8 ".

Http-equiv özeliğini popüler tüm tarayıcılar desteklemektedir. Http-equiv özelliği content özelliği ile HTTP üstbilgisi çiftini (bilgi-değer) belirtir. Http-equiv özelliği HTML belgelerinde karakter kodunu belirtmenin tek yolu değildir: HTML 4.01: HTML 5:

The content attribute gives the value of the document metadata or pragma directive when the element is used for those purposes. The allowed values depend on the exact context, as described in subsequent sections of this specification. If a meta element has a name attribute, it sets document metadata.

The HTML http-equiv Attribute is used to provide header information or value of the content Attribute. It can be used to simulate an HTTP Header response.