OZONE Asylum
Forums
Stupid Basic HTML
Correct HTML Structure Questions
This page's ID:
28318
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
One easy way to find out: run it through the validator! Forms can be done in a variety of ways. They can be within a div, but they don't need to have a container - they can stand on their own. In some contexts a table is a appropriate to hold a form, but I would reserve this for particularly complex forms where the standard label/input setup becomes inadequate. I would not put a form in a paragraph. I do not know if it is allowed, but it does not belong within a paragraph. I Would also not put a table in a paragraph, and usually would not put an image in a paragraph either. I am unsure whether it is "allowed" but it is not semantically proper IMO. It really shouldn't be inheriting styles from a paragraph in the first place - the paragraph should be inheriting styles based on its parent, and any other styles that are necessary for the table should be specified in relation to the same parent. I am unsure where lists are/are not allowed. usually there is no purpose for putting them within a paragraph, and it seems semantically incorrect as well. Paragraph ends, list begins. List ends, next paragraph begins. Common structure for documents... Again - anytime you are unsure what is "allowed", make sure you've got a proper doctype (afterall, your doctype determines what is allowed and what isn't), and run it through a validator. {{edit - damn, beat to the punch ;) [small](Edited by [url=http://www.ozoneasylum.com/user/163]DL-44[/url] on 08-10-2006 05:08)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »