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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |