I would like to ask for some simple examples showing the uses of . I\'ve seen them both used to mark a section of a pa
The real important difference is already mentioned in Chris' answer. However, the implications won't be obvious for everybody.
As an inline element, may only contain other inline elements. The following code is therefore wrong:
This is a paragraph
The above code isn't valid. To wrap block-level elements, another block-level element must be used (such as Furthermore, these rules are fixed in (X)HTML and they are not altered by the presence of CSS rules! So the following codes are also wrong! Still wrong Just as wrong