View Full Version : An html webpage to do it XHTML TRANSITIONAL
02-25-2008, 06:51 PM
I USE DMWR MX 2004.... An html webpage to do it XHTML TRANSITIONAL I MUST ADD above <html> the <!DOCTYPE>....etc above ? anything else not at START OF FILE ?
02-25-2008, 07:48 PM
The DOCTYPE should be all you need…that, and, of course, you need to code it to XHTML Transitional guidelines. :)
Try this link for an example: http://www.webheadstart.org/xhtml/example/
02-25-2008, 08:14 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/2001/REC-xhtml11-20010531/DTD/xhtml11-flat.dtd">
<meta http-equiv="Content-Language" content="en-gb" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<link rel="stylesheet" type="text/css" media="screen" href="style.css" />
<link rel="stylesheet" type="text/css" media="print" href="style.css" />
<p> Hello, World </p>
02-26-2008, 05:49 AM
I wouldn't recommend XHTML 1.1 because its likely they don't know how to pass the correct mimetype application/xhtml+xml. XHTML 1.1 shouldn't be served as text/html.
02-26-2008, 07:44 AM
I wouldn't recommend XHTML because its likely they don't know how to pass the correct mimetype application/xhtml+xml. XHTML shouldn't be served as text/html.QFT .
02-26-2008, 07:14 PM
Nothing wrong with XHTML 1.0 being served with text/html, imo. The argument that SGML parsers misinterpret it bears little or no relation to the real world. It's just the same language with a couple of elements deprecated.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.