XHTML - What Is an XHTML Element Attribute
Interview Question Database For Software Developers
|
|
| What Is an XHTML Element Attribute | | What Is an XHTML Element Attribute? - XHTML Tutorials - Introduction To Tag and Attribute Syntax | | By: FYIcenter.com | An element attribute is a predefined property about this element.
Element attributes allows you to provide additional information
to the element. Most XHTML elements have some common attributes.
But many XHTML elements have their own specific attributes.
Here are some good examples of element attributes:
- <br/> - No attribute.
- <script type="text/javascript"> - One attribute: "type".
- <p class="sideNote"> - One attribute: "class".
- <meta name="Author" content="FYICenter.com"/> - Two attributes: "name" and "content".
- <img src="fyi.gif" alt="FYI"/> - Two attributes: "src" and "alt".
| | ID: 1469 | Rank: 1084 | Votes: 0 | Views: 57 | Submitted: 20070512 |
1087 :-) | | How To Enter Element Content | | How To Enter Element Content? - XHTML Tutorials - Introduction To Tag and Attribute Syntax... | | Submitted: 20070512 |
|
Copyright © 2009 FYIcenter.com
All rights in the contents of this Website are reserved by the individual author.
No part of the contents may be reproduced in any form without author's permission.
|
|
|