A "div" element is a block element that you can use a container of flow elements (flow elements are really the superset of both inline elements and block elements). By default, "div" elements will be treated as paragraphs by most browsers. Here are basic rules about an "div" element:
- "div" elements are block elements.
- "div" elements can have PCDATA as contents.
- "div" elements can have inline elements as sub-elements.
- "div" elements can have block elements as sub-elements.
- A "div" element will be displayed as a paragraph by most browsers.
No comments:
Post a Comment