How much HTML code you know?

xiaoxiao2021-03-06  83

Author: Twelve Source:

Blue ideal

Today I want to learn the basic knowledge, I have seen HTML (4.0) and found that I have too little to HTML. Many code is very strange, I have never seen it, let alone. Take the element to give an example. Its properties are:

Name, Href, Target, Title (this is usually used, you don't have to say more)

REL, REV, CHARSET, HREFLANG, TABINDEX, AccessKey, Shape (Default | Rect | Circle | Poly), Coords (Length-List) These have been basically rare, and it is introduced here.

Rel = cdate

This attribute points out the relationship from the current location to the link location. For example, Rel = "next" href = "a" pointed out that this link is the next one.

REV = CDATE

This property is just the opposite of REL, no more.

Charset = cdate

This property specifies the encoding method of the link. The attribute value must be the name specified as "charset" in [RFC2O45]: "Euc-JP". The default value of this property is "ISO-8859-1".

hreflang = languagecode

This attribute is used to specify the language used by the link. For example: "en" refers to English, "CN" refers to Chinese.

TabINDEX = Number

This attribute is used to specify elements to get the order of focus. Its value can be any one from 0 to 32767.

In the element of the TabINDEX property, the more priority of the smaller numbers is obtained, and when there is equivalent, the element is first displayed first in the HTML document. A "tabindex = 0" or elements without TabINDEX properties will be accessed last. (Look this, I suddenly remembered whether there is this value to control the page download elements, but I don't know if this idea is correct, it seems that this property is not supported).

AccessKey = Character

This property assigns a hotkey to an A element. A hotkey is a single character from the client browser current character set. The client browser should treat this property as the case.

Shape = default | Rect | Cirle | POLY

This attribute is used to establish a client image image, which specifies the shape of the area, the possible value is:

Default: Define this area

RECT: Define a rectangular area

Circle: Define a circular area

Poly: Define an ellipse area

Default Shape value RECT

Coords = Length-List

This attribute is used to establish a client image image, which specifies a shape on the screen, and the numbers and values ​​of the value depends on the defined shape. Possible combinations are:

RECT: LEFT-X, TOP-Y, RIGHT-X, BOTTOM-Y

Circle: Center-x, Center-Y, Radius

Poly: X1, Y1, X2, Y2 ... XN, YN

The coordinates are linked to the top left corner of the features, all values ​​are length (can be pixel or percentage)

转载请注明原文地址:https://www.9cbs.com/read-98548.html

New Post(0)