<script>, die Ketzerfrage
bearbeitet von Christian KruseHallo TS,
> Darf man denn dann im Script-Element trotzdem noch Inhalt notieren, obwohl man schon eine externe Source angegeben hat?
[Bei HTML5 ist es verboten](http://www.w3.org/html/wg/drafts/html/master/semantics.html#the-script-element):
~~~
If there is a src attribute, the element must be either empty or contain only script documentation that also matches script content restrictions.
~~~
Das gleiche gilt im wesentlichen für HTML4 und XHTML:
> If the src has a URI value, user agents must ignore the element's contents and retrieve the script via the URI.
LG,
CK
--
[CK kennt Wayne](http://ck.kennt-wayne.de/)