
The number of seconds until the page should redirect to another - only if the content attribute contains a non-negative integer followed by the string ' url=', and a valid URL. The number of seconds until the page should be reloaded - only if the content attribute contains a non-negative integer. User agents are required to ignore this pragma. If specified, the content attribute must have the value " IE=edge". Sets the name of the default CSS style sheet set. Note: Can only be used in documents served with a text/html - not in documents served with an XML MIME type. This is equivalent to a element with the charset attribute specified and carries the same restriction on placement within the document. The content attribute must have the value " text/html charset=utf-8" if specified.
Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.ĭeclares the MIME type and the document's character encoding. The attribute is named http-equiv(alent) because all the allowed values are names of particular HTTP headers:Īllows page authors to define a content policy for the current page.
This attribute contains the value for the http-equiv or name attribute, depending on which is used. elements which declare a character encoding must be located entirely within the first 1024 bytes of the document. If the attribute is present, its value must be an ASCII case-insensitive match for the string " utf-8", because UTF-8 is the only valid encoding for HTML5 documents. This attribute declares the document's character encoding. Note: the attribute name has a specific meaning for the element, and the itemprop attribute must not be set on the same element that has any existing name, http-equiv or charset attributes. If the itemprop attribute is set, the element provides user-defined metadata.If the charset attribute is set, the element is a charset declaration, giving the character encoding in which the document is encoded.If the http-equiv attribute is set, the element is a pragma directive, providing information equivalent to what can be given by a similarly-named HTTP header.
If the name attribute is set, the element provides document-level metadata, applying to the whole page. The type of metadata provided by the element can be one of the following: If the itemprop attribute is present:Īs it is a void element, the start tag must be present and the end tagĮncoding declaration, it can also be inside a The HTML element represents metadata that cannot be represented by other HTML meta-related elements, like, ,, or. Allowing cross-origin use of images and canvas. HTML table advanced features and accessibility. From object to iframe - other embedding technologies. Assessment: Structuring a page of content.