|
Posted by J.O. Aho on 02/01/07 18:13
fuli open wrote:
> On Feb 1, 7:56 am, "J.O. Aho" <u...@example.net> wrote:
> I have been doing in my way for years without realizing the difference
> between xhtml and html4. It's rather hard for me do otherwise. Is it
> possible to change the word 'Strict' to 'Transtional' in above doctype
> and add a line in the <html> tag, so the above would become:
You get a bit of randomness when you don't use a doctype, and if you use a
html-doctype and xhtml-tags, you get randomness too.
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Sure, that works.
>> or
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>> "http://www.w3.org/TR/html4/loose.dtd">
>>
>> or
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
>> "http://www.w3.org/TR/html4/strict.dtd">
>
> If xhml things are already included in the code, I wonder whether the
> above two doctypes are adequate for my page.
You can always remove xhtml and use pure html, if you want to use a html-doctype.
--
//Aho
Navigation:
[Reply to this message]
|