Difference between class and id
by "Gabriel" <ghrivera(at)sinectis.com.ar>
|
| Date: |
Mon, 27 May 2002 12:06:22 -0300 |
| To: |
<hwg-style(at)hwg.org> |
| Cc: |
<www-style(at)w3.org> |
| |
todo: View
Thread,
Original
|
|
Hello:
It's just a little question that's been around because I just discovered the
power of <div>.
What's the difference between using <div id=smth> and <div class=smth>
(and <div id=smth1 class=smth2>)?
Are they supposed to have different content?
Thank you all.
Gabriel.
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.