Change Font Size: Previous / Next / Directory List
3.4. HTML attribute
HTML attribute usually appear in HTML tags, HTML attribute is a part of HTML tags.
- Tags can have attributes, which contain additional information. Attribute value must be in double quotes.
- Tags can have multiple attributes.
- By attributes and attribute values of pairs
Trackback Address: http://www.nt22.com/xhtml-html/attribute/
Grammar
HTML attributes:
<Attributeof aname tag ="attribute value"attribute of 2="property"...attributes of N="attributevalue" /></ labels were>
Example
<a> Labels are hyperlinks labels. Use href attribute can be defined links position (URI) Code:
<aHref=Be learning"http://www.nt22.com/" /></ a>
Tags <table> form is labelled. Use border attribute can be defined form of a frame. Code is: <table border="0" />
Extended reading
- HTML and XHTML attribute Index
- CSS statement
