Aug 30th 03

Pull Quote Code Updated

I have changed the pull-a-quote code just a bit, in order to keep my markup as close to semantically correct as possible.

I now use a blockquote instead of a div to define the pull quotes, as suggested by a few visitors. Although the div solution produced valid mark-up, the blockquote method is the “semantically correct approach.” If that phrase sounds familiar, I stole it from Sunny.

3 Comments

Anne van Kesteren on Aug 30th 03

If you ever switch to XHTML1.0 strict/XHTML1.1 you should know that cdata isn’t allowed within the blockquote element. More information: http://www.cs.tut.fi/~jkorpela/html/strict.html

vlad on Aug 30th 03

yup, so it’d be <blockquote><p>sometext</p></blockquote>.

great job updating a great idea to be semantically correct as well =]

Adam Polselli on Aug 31st 03

Thanks for pointing that out, Anne and vlad! All of the blockquotes have now been updated. :)

Comments are now closed for this entry.