HTML 5: target=_new correction rules


HTML 5: target=_new and how to use it

HTML5 and target=_new usage. Yes, this use will fail in browsers that adhere to strict HTML rules. Just because a browser allows us to use some intuitive code doesn't mean that the usage should be correct. It is like a spellcheck. Professional or well studied html coders never use the target="_new" instruction with the underscore ( _ ) in their code and thus never have a problem with it. It demonstrates bad form.

So how do we use target=_new in HTML 5?

Datum: This html 5 usage is correct: <a href="your link goes here" target="new" >
: This html 5 usage is not correct: <a href="your link goes here" target="_new">.

Background information: There are four reserved HTML uses that can start with <a target="_... and target="_new" is not one of them. This type of attempted usage would fall under a category like "all other random uses" which is governed by a naming etiquette and target="_new" fails the usage test.

It has been this way since forever.

Any contrary chatter is simply rumor and is false. The subject is further referenced in our target="_new" article or follow the trail backwards starting at the developing HTML 5 rules at W3C.

When a teacher passes his own error onto a student, that student then becomes inclined to pass the same error onto his students and it can snowball. Google target="_new" to see this snowball.


enhance your computer qualifications with quality online academy course training

NCSA microsoft office academy courses

ask about multi user discounts for staff training and enhancement courses

Google Sponsored Links Below