Is it alright to use target="_blank" in HTML5?

Darryl Hein picture Darryl Hein · Nov 16, 2010 · Viewed 84.7k times · Source

I recall reading somewhere that in HTML5 it was no longer okay to use target="_blank" in HTML5, but I can't find it now.

Is it alright to continue to use target="_blank"?

I know it's generally considered a bad idea, but it's by the easiest way to open a new window for something like a PDF, and it also doesn't require you to rely on JavaScript.

Answer

mike picture mike · Nov 16, 2010

It looks like target="_blank" is still alright. It is listed as a browsing context keyword in the latest HTML5 draft.