L
Lois
Lois asked:
: >What's the difference between pretend XHTML
"Michael Fesser" responded:
: XHTML delivered as text/html
:
: >and genuine XHTML?
:
: application/xhtml+xml
What's this? It's what the site I'm working on started with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
: Why not Strict?
Why strict? I started using transitional and it worked fine, and I
didn't give it much thought until I ended working on a site the an
XHTML doctype.
: >What advantages and disadvantages will I
: >have if I use one doctype over another?
:
: Sending XHTML as text/html Considered Harmful
: http://hixie.ch/advocacy/xhtml
:
: Serving XHTML 1.0
: http://www.w3.org/International/articles/serving-xhtml/
Thanks. I'll try to read those when I have time to think about it.
Lois
: >What's the difference between pretend XHTML
"Michael Fesser" responded:
: XHTML delivered as text/html
:
: >and genuine XHTML?
:
: application/xhtml+xml
What's this? It's what the site I'm working on started with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
: Why not Strict?
Why strict? I started using transitional and it worked fine, and I
didn't give it much thought until I ended working on a site the an
XHTML doctype.
: >What advantages and disadvantages will I
: >have if I use one doctype over another?
:
: Sending XHTML as text/html Considered Harmful
: http://hixie.ch/advocacy/xhtml
:
: Serving XHTML 1.0
: http://www.w3.org/International/articles/serving-xhtml/
Thanks. I'll try to read those when I have time to think about it.
Lois