MyBB.de Forum
JavaScript Bug//Invalid XHTML1.0 - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Sonstiges (https://www.mybb.de/forum/forum-1.html)
+--- Forum: Programmierung (https://www.mybb.de/forum/forum-32.html)
+--- Thema: JavaScript Bug//Invalid XHTML1.0 (/thread-30945.html)



JavaScript Bug//Invalid XHTML1.0 - KaSo - 09.11.2014

Hallo,

mein Themplate vom Forum war bis heute XHTML 1.0 Valid.

Seit heute bekomme ich diesen Fehlermeldung:

Link: http://validator.w3.org/check?uri=http%3A%2F%2Fxhilfe-board.de%2Findex.php&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices

Validation Output: 1 Error
Line 43, Column 8: required attribute "type" not specified
<script>


The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

Was sagt mir diese Fehlermeldung aus?


RE: JavaScript Bug//Invalid XHTML1.0 - MrBrechreiz - 09.11.2014

<script> muss so sein <script type="text/javascript">