...

View Full Version : An html webpage to do it XHTML TRANSITIONAL



lse123
02-25-2008, 05: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 ?

rmedek
02-25-2008, 06: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/

srule_
02-25-2008, 07:14 PM
Basic Template:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/2001/REC-xhtml11-20010531/DTD/xhtml11-flat.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<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" />

<title></title>
</head>

<body>

<p> Hello, World </p>

</body>
</html>

_Aerospace_Eng_
02-26-2008, 04: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.

hemebond
02-26-2008, 06: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 .

Apostropartheid
02-26-2008, 06: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum