OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
class VS id what is the difference
This page's ID:
10895
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Check out [url=http://www.ozoneasylum.com/Forum8/HTML/000376.html]http://www.ozoneasylum.com/Forum8/HTML/000376.html[/url] . The basic idea is that an ID can be used only once, much like, say, a social security number, or a fingerprint. use it to identify key parts of the page. A class, on the other hand, encompasses many objects; it's a broader range of things. Many things can be in the same class, and one thing may be in multiple classes.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »