A “Not Safe for Work” Tag has been proposed for HTML 5:
One of the most common descriptive notes people have to write using text when they post links or images to blogs, comments or anywhere in HTML is to say “this link is not safe for work” or simply “NSFW”. By adding the <NSFW> tag, this could be made much simpler and standardized. Browsers could then have an option to automatically hide all <NSFW> content. A tag is preferred to an attribute since it could then also be used around content and not just links.
Examples:
<nsfw><a href=”http://www.example.com”>Pics here!</a></nsfw>
<nsfw><img src=”badkitten.jpg”></nsfw>
Drew McLellan of The Web Standards Project thinks it’s a nice idea that won’t work:
@brucel we looked into #nsfw in microformats. It’s an unworkable minefield. #
it’s used when linking to something that you might want to save until you get home. e.g. http://ampleboobies.info (NSFW) #
So a browser could conceivably be configured not to follow links or display content tagged nsfw. Sounds a good idea, but unworkable. #
The use of tags (rather than CSS and JavaScript) to hide or show content is an intriguing and controversial aspect of HTML 5. It’s intriguing because using a standard tag—instead of writing custom CSS and JavaScript that someone else may someday have to maintain—potentially simplifies web development and maintenance, bringing advanced techniques of content presentation to more sites for less money. It’s controversial because it sticks presentation and behavior back in markup, after we all just spent a decade separating site structure and semantics from behavior and presentation.
We’re going to be following these developments and trying to make buzzword-free sense of them for you.
Related Posts: On this day...
- Anonymous threatens action against Federal Reserve today - 2011
- Congressman Bob Etheridge assaults student on Washington sidewalk - 2010
- Kathe Koja's novel THE CIPHER to be a film - 2010
- Opera promising to "reinvent the web" on June 16th - 2009
- Embedding a File in an Executable, aka Hello World v5967 - 2008

BeautyandBoost.com
4:59pm
Music










