Re: <p> or <div> ?
Moof <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
gabor wrote:
| hi,
|
| when writing my blog entries,
| sometimes the entry is made of several parts...
|
| what should i use to group those?
| <p> or <div>?
|
| imho the only diff between them is that <p> has some margin settings
| by-default.....
|
| but which is more correct theoretically?
|
| what do you use?
<p> sepearates paragraphs. <div> separates logical divisions. so it seems ot
be the latter is probably called for. It allows you to add a little extra on
the top margin to make it clear it's different.
Also, while <div> can contain <p> tags, <p> can't contain <div> or <p> tags.
Moof
- --
Giles Antonio Radford - <http://metamoof.net/> - <http://wompom.com/>
python -c 'l = (("asynchat", 653, 658), ("httplib", 162, 170), ("pickle",
46, 53),("sched", 145, 149), ("re", 32, 35)); w=[__import__(x[0]).__doc__[
x[1]:x[2]] for x in l]; w[3] += w.pop(); print "".join(w)'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAn6j3W3YaO5gYTxkRAk2XAKCj3buG/cUzzgIJMx1TPFv40D+1pwCeMsNS
VYm4z+RsQjg7262zU5ofT3Q=
=oRGb
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3