Definition and Usage
The
element provides meta-information about the page, such as descriptions and keywords for search engines and update frequency.
The tag is located at the head of the document and does not contain any content. The tag's attributes define the name/value pairsassociated with the document.
Differences between HTML 4.01 and HTML 5
In HTML 5, the scheme attribute is no longer supported.
In HTML 5, there is a new charset attribute that makes character set definition easier.
In HTML 4.01, you have to write like this:
##
In HTML 5, this is enough :
Define description of the page:
Define the latest version of the page:
Refresh the page every 5 seconds:
The following are some of its related properties:
Event properties:
onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress, onkeyup, onload, onmessage, onmousedown, onmousemove, onmouseover, onmouseout, onmouseup, onmousewheel, onresize, onscroll, onselect, onsubmit, onunload
The above is the detailed content of Detailed explanation of meta in Html. For more information, please follow other related articles on the PHP Chinese website!