[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Examples Debian WWW with css

On Sun, Nov 21, 2004 at 02:56:33AM +0100, Jutta Wrage wrote:
> Annotatation:
> In the cvs tree, I have found things about xhtml. That makes me ask: 
> How will the move work, as <br> is valid in HTML transitional and 
> strict but not in xhtml. So all tags without an endtag have to be 
> replaced at once, when moving to xhtml.

for file in *.html; do xmllint --xmlout --html $file > xhtml/$file; done

> In addition the page delivery 
> has not to be text/html only.

It is wrong. xhtml 1.0 pages SHOULD be served as application/xhtml+xml
but can be served as text/html for compatibility purpose.
xhtml 1.1, on the other hand MUST be served as application/xhtml+xml.


Reply to: