On 13 Nov 2006, at 21:45:07, Christian Montoya wrote:
On 11/13/06, Chris Price <[EMAIL PROTECTED]> wrote:
I don't suppose there's any reason why I shouldn't keep coding to
xhtml
1.0 but specify html 4.01 when I need to use the target attribute.
That might be a good idea; on the *one* page that uses the target
attribute, use the HTML 4.01 doctype (with ..> instead of .. />) and
you'll never have to worry about maintaining any javascript "hacks."
Use of the target attribute has nothing to do with use of HTML versus
XHTML; it's a matter of using Transitional versus Strict doctypes.
XHTML 1.0 Transitional and HTML 4.01 Transitional include the target
attribute; XHTML 1.0 Strict and HTML 4.01 Strict don't.
From the XHTML 1.0 Transitional DTD: <http://www.w3.org/TR/xhtml1/
dtds.html#dtdentry_xhtml1-transitional.dtd_a>
Regards,
Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************