Skip to main content
grammar
Source Link
theking2
  • 3.1k
  • 2
  • 36
  • 51

The question you should be asking yourself is not how to "circumvent" the restriction of Strict but why you want to use XHTML Strict 1.0 in the first place?!

In your case I would simple use Transitional as the DTD. Unless of course you are developing for a specific operating system that for instance doesn't allow multiple windows to be opened for instance in a car systems, an IOT, or more exotic appliances. Which is btw the reason why target is absent in the HTML Strict. Strict being deliberately restrictive.

But as you seem to develop for "normal" use, your doc type should reflect that and you should be using:

<!DOCTYPE html> 

also see why was target removed from xhtml cheers J

The question you should be asking yourself is not how to "circumvent" the restriction of Strict but why you want to use XHTML Strict 1.0 in the first place?

In your case I would simple use Transitional as the DTD. Unless of course you are developing for a specific operating system that for instance doesn't allow multiple windows to be opened for instance in a car systems, an IOT, or more exotic appliances. Which is btw the reason why target is absent in the HTML Strict. Strict being deliberately restrictive.

But as you seem to develop for "normal" use, your doc type should reflect that and you should be using:

<!DOCTYPE html> 

also see why was target removed from xhtml cheers J

The question you should be asking yourself is not how to "circumvent" the restriction of Strict but why you want to use XHTML Strict 1.0 in the first place!

In your case I would simple use Transitional as the DTD. Unless of course you are developing for a specific operating system that for instance doesn't allow multiple windows to be opened for instance in a car systems, an IOT, or more exotic appliances. Which is btw the reason why target is absent in the HTML Strict. Strict being deliberately restrictive.

But as you seem to develop for "normal" use, your doc type should reflect that and you should be using:

<!DOCTYPE html> 

also see why was target removed from xhtml

grammar
Source Link
theking2
  • 3.1k
  • 2
  • 36
  • 51

The question you should askbe asking yourself is not how to "circumvent" the restriction of Strict but why you want to use XHTML Strict 1.0 in the first place?

In your case I would simplysimple use Transitional as the DTD. Unless of course you are developing for a specific operating system that for instance doesn't allow multiple windows to be opened for instance in a car systems, a mobile phonean IOT, or more exotic appliances. Which is, btw, the reason why target is absent in the HTML Strict. Strict being deliberately restrictive.

But as you seem to develop for "normal" usageuse, your doc type should reflect that and you should be using:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" html> "http://www.w3.org/TR/html4/loose.dtd"> 

See also see why was target removed from xhtml cheers J

The question you should ask yourself is not how to "circumvent" the restriction of Strict but why you want to use XHTML Strict 1.0 in the first place?

In your case I would simply use Transitional as the DTD. Unless of course you are developing for a specific operating system that for instance doesn't allow multiple windows to be opened for instance in car systems, a mobile phone, or more exotic appliances. Which is, btw, the reason why target is absent in the HTML Strict.

But as you seem to develop for "normal" usage your doc type should reflect that and you should be using:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd"> 

See also why was target removed from xhtml cheers J

The question you should be asking yourself is not how to "circumvent" the restriction of Strict but why you want to use XHTML Strict 1.0 in the first place?

In your case I would simple use Transitional as the DTD. Unless of course you are developing for a specific operating system that for instance doesn't allow multiple windows to be opened for instance in a car systems, an IOT, or more exotic appliances. Which is btw the reason why target is absent in the HTML Strict. Strict being deliberately restrictive.

But as you seem to develop for "normal" use, your doc type should reflect that and you should be using:

<!DOCTYPE html> 

also see why was target removed from xhtml cheers J

Corrected code formatting
Source Link
MrWhite
  • 46.4k
  • 9
  • 67
  • 90

The question you should ask yourself is not how to "circumvent" the restriction of Strict but why you want to use XHTML Strict 1.0 in the first place?

In your case I would simply use Transitional as the DTD. Unless of course you are developing for a specific operating system that for instance doesn't allow multiple windows to be opened for instance in car systems, a mobile phone, or more exotic appliances. Which is, btw, the reason why target is absent in the HTML Strict.

But as you seem to develop for "normal" usage your doc type should reflect that and you should be using:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd"> 

"http://www.w3.org/TR/html4/loose.dtd">

See also why was target removed from xhtml cheers J

The question you should ask yourself is not how to "circumvent" the restriction of Strict but why you want to use XHTML Strict 1.0 in the first place?

In your case I would simply use Transitional as the DTD. Unless of course you are developing for a specific operating system that for instance doesn't allow multiple windows to be opened for instance in car systems, a mobile phone, or more exotic appliances. Which is, btw, the reason why target is absent in the HTML Strict.

But as you seem to develop for "normal" usage your doc type should reflect that and you should be using:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 

"http://www.w3.org/TR/html4/loose.dtd">

See also why was target removed from xhtml cheers J

The question you should ask yourself is not how to "circumvent" the restriction of Strict but why you want to use XHTML Strict 1.0 in the first place?

In your case I would simply use Transitional as the DTD. Unless of course you are developing for a specific operating system that for instance doesn't allow multiple windows to be opened for instance in car systems, a mobile phone, or more exotic appliances. Which is, btw, the reason why target is absent in the HTML Strict.

But as you seem to develop for "normal" usage your doc type should reflect that and you should be using:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd"> 

See also why was target removed from xhtml cheers J

Source Link
theking2
  • 3.1k
  • 2
  • 36
  • 51
Loading