Home > Article > Web Front-end > HTML knowledge point record_html/css_WEB-ITnose
Keywords: meta; http-equiv; map; table; form; character entity
HTML basics
meta tag describes some basic metadata.
2 3 4 5 6 78 | Define keywords for search engines: |
http-equiv attribute
1 | http-equiv顾名思义,相当于http的文件头作用,它可以向浏览器传回一些有用的信息,以帮助正确和精确地显示网 |
1 2 3 4 5 6 7 8 9 1011 12 13 14 15 16 17 18 19 2021 22 23 24 25 26 27 28 29 3031 32 33 34 35 36 37 | td> | http-equiv, as the name suggests, is equivalent to the file header of http. It can return some useful information to the browser to help display the web content correctly and accurately. The syntax format of the http-equiv attribute of the meta tag is: ; The http-equiv attribute mainly has the following parameters : A. Expires (period) Description: Can be used to set the expiration time of the web page. Once a web page expires, it must be retransmitted to the server. Usage: Note: The GMT time format must be used. B. Pragma (cache mode) Description: Prohibit the browser from accessing page content from the cache of the local computer. Usage: Note: With this setting, visitors will not be able to browse offline. C. Refresh Description: Automatically refresh and go to a new page. Usage: ; Note: The 2 refers to automatically refreshing to the URL after staying for 2 seconds. D. Set-Cookie (cookie setting) Note: If the web page expires, the saved cookies will be deleted. Usage:Note: GMT time format must be used. E. Window-target (setting of display window) Description: Force the page to be displayed as an independent page in the current window. Usage: Note: Used to prevent others from calling your own page in the frame. F. content-Type (display character set setting) Description: Set the character set used by the page. Usage: G, content-Language (display language setting ) Usage: |
The usemap attribute in can reference the id or name attribute in
So we should add both id and name attribute. The name attribute is required.
area elements are always nested inside map elements. The area element defines an area in the image map.
Example:
2 3 4 5 6 7 |
|
Coords attribute represents coordinates
1 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
|
1 | |
|