Posts Tagged ‘Microformats’

Markup Not Safe For Work Content

Friday, December 29th, 2006

Some guy named PJ Doland suggested we use rel="NSFW" to markup content that is NSFW.

I’m not validating or endorsing the idea by posting about it. I’m posting because I had written a comment on the accompanying Slashdot article (that I never posted) that addressed the issues below.

Then I wrote half of a post about how the rel attribute could only be applied to hyperlink-type elements and that putting it on other tags would cause the document to fail validation. Instead, class or title attributes should be used, depending on how microformat he wanted to go. However, I realized that he beat me to it. His second article pretty much says what I was going to with more words. I had already written the HTML for a document to prove that it wouldn’t validate.