September 8, 2003 · Dan Cederholm

SimpleQuiz › Part IV: When to P

Looking back, we've covered a lot of ground with just three questions, haven't we? I realize I could go on for a dozen more questions about lists -- different combinations, ordered lists, etc. I could also ask questions that are either too obvious for most, or delve too far into details for others.

So instead, here's another topic that could just be splitting hairs again. The set-up: You have a block of text that you're wrapping in a div (or any block-level element) and it contains just one paragraph or string of text. Note: the text used in the example is arbitrary.

Q: Are each of the following acceptable, and why (or why not)?

  1. <div id="footer">
       Copyright 2003 Charles DeMar | This text is arbitratry.
    </div>
  2. <div id="footer">
       <p>Copyright 2003 Charles DeMar | This text is arbitratry.</p>
    </div>

Extra Credit: Who is Charles DeMar?