This is a terrible idea. HTML5 (and friends) is a standard for markup, presentation and logic. It is certainly not a system that should contain value judgments.
Put this into a standard and you'll end up with a giant crazy mess. I can just imagine the idiotic lawsuits now.
Example. Some doofus somewhere looks at naked people on the web, on company time, against company policy and gets fired. Realizes that the webmaster didn't put up NSFW tags and sues the webmaster, the hosting provider and probably the upstream ISP as well. Before you know it we have yet another pointless, fruitless and unconstructive series of internationally televised debates on personal responsibility, provider accountability, etc. And because there's usually a bit of flesh involved somewhere, two thirds of the population will happily knee-jerk their way against common sense.
I disagree. Perhaps "NSFW" is too localized to actually be the name of the tag, but I think there should be a tag that means "give a warning before displaying this content." It would cover NSFW stuff, but could also work for spoilers, or answers to a quiz, etc. There's no way there could be culpability for omitting this sort of tag since it IS a value judgment, just like <em>.
Oh, but it absolutely should contain value judgements. There is nothing more semantic than value judgements, in fact. It's a tag that says "this content may be of questionable taste". How is that less semantic than <em>, saying "this content should be emphasized"?
<em> is emphasis within the context of the page. <nsfw> is judgment within the context of the world. One of these judgments can be made reliably by the site owner; one cannot.
I don't think a NSFW tag belongs in an international standard. "NSFW" is a concept which is limited in scope to a small number of cultures, particularly English-speaking ones.
I have a site that is community-translated, and the phrase "NSFW" is usually left untranslated. It even sparked several discussions in which people were genuinely confused about why content would be considered "not safe," and why it would be unacceptable at work but acceptable at home, etc..
I think this is about culture, not language. It's two very different things. Except for all the ASCII/Unicode nightmare, there's not much in a programming language that depends on country/language/culture.
Who wants to see something like that :
CultureInfo.GetCultures(CultureTypes.Puritan);
I agree, for the reasons you've stated as well as others. While I do think being able to properly label adult content is important, its better achieved through a meta tag, the class attribute, or in the case of a link, the rel attribute.
With the HTML5 and XHTML movements a primary focus has been on eliminating non-semantic tags like div and span. Its a noble pursuit, but I think in the witch-hunt to eliminate general purpose, non-semantic tags a monster has been created. When all elements must be semantic, we need many more to achieve the same goals.
Microformats are an example of doing it the right way. Instead of creating new HTML elements to represent each concept, microformats use an existing, general purpose attribute (class) to convey meaning.
I'm all for adding new elements when they make sense, but a NSFW element feels like a step backwards.
It'd be an almost perfect way to make the cyber-nanny types shut up: all the naughty bits of the Internet could be tagged, and a client-side solution would be trivial for parents, libraries, etc.
Additionally, employers could save themselves quite a few sexual harassment problems.
And frankly, the NSFW tag could be argued for both sides of the content vs presentation debate.
Blocking content won't protect children or prevent employees from bringing inappropriate content into the workspace. Those that want it will find a way to get it. If they can't get it on their computer, it will be on their iPhone.
The only solution to these "problems" is to educate your kids or employees as to why the content isn't appropriate.
Misleading headline. It definitely isn't "in" HTML5, and it doesn't even seem to have been discussed on either the W3C or WHATWG mailing lists. Someone just filed a bug on the W3C bug tracker.
I like the concept of a tag to mark up the semantic meaning of "the author considers this content to be in poor taste". The name "NSFW" isn't a good choice, since the idea of some things being okay for home but not for work is a curiously hypocritical western idea. However, the concept that some things are in good taste and some are offensive but discussable is pretty universal (obviously, if it's so offensive nobody event wants to discuss it, they're not going to mark it up at all).
I like the concept, but not the name. Perhaps <offensive> or <inappropriate> or some variant could be used instead.
Wasn't RDFa created exactly for cases like this, so you could attach any kind of meaning to any block/element in your document? The NSFW tag (and MildlyNSFW and SFW and SARCASM and...) could then be something that's supported by, say, input fields for comments, but converted to RDFa when submitted.
I like how it's OK to propose blocking content if it's "not safe for work", but how everyone gets upset when you talk about blocking advertisements. (Hence the lack of an <advertisement> tag.)
Put this into a standard and you'll end up with a giant crazy mess. I can just imagine the idiotic lawsuits now.
Example. Some doofus somewhere looks at naked people on the web, on company time, against company policy and gets fired. Realizes that the webmaster didn't put up NSFW tags and sues the webmaster, the hosting provider and probably the upstream ISP as well. Before you know it we have yet another pointless, fruitless and unconstructive series of internationally televised debates on personal responsibility, provider accountability, etc. And because there's usually a bit of flesh involved somewhere, two thirds of the population will happily knee-jerk their way against common sense.
Yeah, brilliant idea this is.