On 30 Mar, 16:42, "shapper" <mdmo...@gmail.comwrote:
Can I have <h1>, <pand <spantags inside a <ptag?
No. You can have <spanin there, but not the others. You could put
all three inside a <div>
What should be the best tag to encapsulate all other tags? <div>?
Yes, but I start to get worried making recommendations like this
blindly, without seeing what you're trying to achieve!
What are the limitations of using <pand <spanin this?
Where can I find some information on this?
It's not easy to find information on this. Most authoring guides
ignore it, or get it wrong.
It's often discussed in here though - search for "block" and "inline"
The definition is from the HTML DTD (which is hard to read at first)
http://www.w3.org/TR/REC-html40/sgml/dtd.html
Some explanation has been posted in the past
http://groups.google.co.uk/group/com...d232d58d400ff1 http://groups.google.co.uk/group/alt...a65f912f6e8458