Well, cracking open my recently acquired text book ...
"Block-level elements define structural content blocks such as paragraphs (p) or headings (h1). Block-level elements generally introduce line breaks visually. Special forms of blocks such as unordered lists (ul) can be used to create lists of information. Inline elements such as bold (b), strong (strong), and numerous others occur within blocks. These elements (usually) do not introduce any returns."
Typically inline elements such as (span), (em), (i) are used for styling only. Block-level elements, such as (div), (p) are used for creating document structure, and also for styling. However, there seems to be a bit of a fuzzy line between the two types of elements.
I've almost exclusively used inline elements, with the exception of lists. But as I'm getting to know CSS, I'm working more with block elements and tables.
|
I've almost exclusively used inline elements, with the exception of lists. But as I'm getting to know CSS, I'm working more with block elements and tables.
- mark 7-30-2004 11:50 am