Change Font Size: Previous / Next / Directory List
6.1. HTML a label
A label - on behalf of HTML links
- Is a label pairs, in order to
<a>, </ a>end - Attribute.
- Common - general attributes
- Accesskey - on behalf of a link Shortcuts visits
-
Charset- designated a link to the page using the coding, such asUTF-8 -
Coords- when using image map can use this attribute definition of the regional links, usually using x, y coordinates - Href - represent a source of links (link to what is local)
-
Hreflang- pointed out that the pages linked to the language used coding - Rel - on behalf of documents and links to the contents of (href referred to the contents of) the relationship between the
- Rev - on behalf of documents and links to the contents of (href referred to the contents of) the relationship between the
-
Shape- the use of image map can be used when the shape designated regional links - Tabindex - on behalf of the use of "tab" key, the order of traversal of links
- Target - for that window or framework which should be open this link
- Title - on behalf of the additional information that links
-
Type- on behalf of the MIME type of links
- A, is the anchor (Anchor) the first letter of
- Trackback Address: http://www.nt22.com/xhtml-html/tag_a/
Grammar
<aHref=show that the text"url" /></ a>
Description:
- A - is a link labels
- Href - is a link attributes, told browser link to the web site (URI)
- Url - is that we must link to the web page or document
Url can be an absolute page, such as: http://www.nt22.com/xhtml-html/. Relative or a website, such as: nt22.html, learning path relative and absolute path
Apart from the website url, but also can be other documents (such as text documents, pdf documents, etc.).
Url can also refers to the HTML document in one place.
Url Email addresses also can be.
- Display text - is the text we want to show, the viewer to click 'Show the text' will be connected to the url pages.
Example
<aHref=click on the link to - NT22 TutorialCSS Guide"http://www.nt22.com/css/" /></ a> <ahref=click on the link to - NT22 TutorialXHTML Guide"/xhtml/" />< / a>
