[thelist] blockquote validation question

Gary Bland Gary at star-chaser.com
Thu Oct 24 18:41:01 CDT 2002


Marc Seyon wrote:
> Greetings gang,
>
> Small question about BLOCKQUOTE in XHTML Strict.
>
> I've got a question for the semanticists here. (Is that a word? Yes it is!)
>
> <blockquote>Whatever you're quoting</blockquote> is incorrect
> <blockquote><p>Whatever you're quoting</p></blockquote> is correct.
>
> The error the validator returns is: text is not allowed here; try wrapping
> the text in a more descriptive container.
>
> Why do we need a <p> tag within the <blockquote>?
>
> Thanks.
> -marc

<blockquote> is uses for long quotes of a paragraph or more. That is why
you need the <p>. If you are using short quotes for only a sentence or
two you use <q>. The more descriptive container is <blockquote
cite=http://bla.com>



Gary



--
Gary Bland
StarChaser Web Architecture
http://star-chaser.com
Building Tomorrow's World Today




More information about the thelist mailing list