|
Posted by Harlan Messinger on January 31, 2008, 1:51 pm
Please log in for more thread options David Stone wrote:
> If I have a div containing _only_ a single line of text, containing
> only such elements as <span> or <a>, is it _required_ to nest
> that text within a <p> under html 4?
>
> Example:
>
> <div class="fine-print">
> Standard <a href="disclaimer.html">disclaimers</a> apply
> </div>
>
> - or -
>
> <div class="fine-print">
> <p>Standard <a href="disclaimer.html">disclaimers</a> apply</p>
> </div>
No, not at all, though if the content is basically a paragraph in form,
then semantically speaking it should be in a <p> anyway.
|