rb******@my-deja.com (Robert Scheer) writes:
I have some doubts about this meta tag:
<META http-equiv="Content-Script-Type" content="text/javascript">
Do I really need to declare this meta tag in all my pages?
Those that use intrinsic events (onclick etc.).
If I declare it, will I still need to create my scripts this way?
<script type='text/javascript'>
Yes. The type attribute is required on script elements. The
Content-Script-Type is used for the scripts inside intrinsic event
handlers.
Is there any advantage/disadvantage when using it?
It is required by the HTML specification. Browsers don't really
care. They default to Javascript is nothing else is written.
/L
--
Lasse Reichstein Nielsen -
lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'