W3C home > Mailing lists > Public > www-validator@w3.org > May 2003

xhtml 1.1 +javascript question

From: plumber <almisr@yahoo.fr>
Date: Tue, 13 May 2003 15:20:50 +0200
To: www-validator@w3.org
Message-Id: <B72EE42E-8545-11D7-A6BE-0003937C3764@yahoo.fr>

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<script type="text/javascript">
       <![CDATA[ alert("hello"); ]]>
  </script>

ok i use
<script language="JavaScript" type="text/javascript" 
src="jvs/main.jvs"></script>

and i use

<style type="text/css" media="all">@import "css/main.css";</style>

i found these and i don't arrive to know if it wrong because it's run

<link rel="css" type="text/css" media="all" href="css/main.css" />
<link  rel="javascript" type="text/javascript"  href=""jvs/main.jvs" />


and why these

<script language="JavaScript" type="text/javascript" 
src="jvs/main.jvs"></script> and not
<script language="JavaScript" type="text/javascript" src="jvs/main.jvs" 
/>

and why not :D

<media type="javascript" version="" url="something" />
<media type="css" version=""  url="something" />
Received on Tuesday, 13 May 2003 09:32:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:08 GMT