'id' Syntax and Note : id « HTML Attributes Reference « HTML CSS Reference

HTML CSS Reference
1.CSS Attributes and Javascript Style Properties
2.HTML Attributes Reference
3.HTML Tag Reference
HTML CSS Reference » HTML Attributes Reference » id 
'id' Syntax and Note

This attribute defines the id that can be used to reference the element.
It is preferable to use the id attribute than to the name attribute.
Name attribute is not available to all the HTML elements, whereas the id attribute is.
<element ID="value"> . . . </element>

Related examples in the same category
1.'id' Example
2.id is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.