[thelist] HTML Formatting/XHTML Compliance
.jeff
jeff at members.evolt.org
Thu Nov 29 20:01:09 CST 2001
burhan,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Burhan Khalid
>
> Also, all script tags must have type="" attribute
> specified. A proper script tag looks something like
> this :
>
> <script language="Javascript" type="text/javascript" />
>
> Note the / > at the end.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
that is not correct. the <script> tag is a container tag and therefore the
end tag is required, not optional. the correct way to format a <script> tag
is as follows:
<script language="JavaScript" type="text/javascript">
// contents of script block
</script>
later,
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thelist
mailing list