- From: Chris Croome <chris@webarchitects.co.uk>
- Date: Tue, 27 Jun 2000 07:39:58 -0400 (EDT)
- To: www-html@w3.org
- Message-ID: <20000627123952.C8672@webarchitects.co.uk>
Hi I have a couple of questions on this, should this address in the XHTML doctype: http://www.w3.org/1999/xhtml be changed to this: http://www.w3.org/TR/xhtml1 seeing as the first address is a page saying that it's moved... Also if the web server is set up to serve files as: Content-Type: text/html; charset=iso-8859-1 and one doesn't include encoding="UTF-8" in the file (I seem to recall something somewhere saying that including it can break backwards campatability) then is it basically invalid as XHTML? And if so what is the best thing to do -- change the Content-Type header to UTF-8 (in httpd.conf or .htaccess files or whatever) and not have it in the files? i.e. something like this: Content-Type: text/html; charset=UTF-8 Chris On Thu 22-Jun-2000 at 11:56:45PM +0200, Karl Dubost wrote: > > ************************ > Here is an example of a minimal XHTML document. > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html > PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > <head> > <title>Virtual Library</title> > </head> > <body> > <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p> > </body> > </html> > ************************ -- Chris Croome <chris@webarchitects.co.uk> http://www.webarchitects.co.uk/ http://chris.croome.net/
Received on Tuesday, 27 June 2000 09:08:18 UTC