XHTML question

  • Thread starter Bill Cunningham
  • Start date
B

Bill Cunningham

If I wanted to write web pages from now on in XHTML instead of HTML does
this namespace alone work ? Or does a !DOC need to be somewhere?

<html xmlns="www.w3c.org/1999/xhtml>
Is that all thats' needed or should I say essential for an xhtml page?

Bill
 
J

Johannes Koch

Bill said:
If I wanted to write web pages from now on in XHTML instead of HTML does
this namespace alone work ? Or does a !DOC need to be somewhere?

<html xmlns="www.w3c.org/1999/xhtml>

The namespace URI for XHTML is said:
Is that all thats' needed or should I say essential for an xhtml page?

Have a look at the XHTML specifications to read what makes a conformant
XHTML document.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top