Contents

[edit]

Tidy: <...> inserting "..." attribute

[edit]

Cause:

A mandatory attribute for this tag is not defined.

[edit]

Example:

Sample: <script> inserting "type" attribute. The <script> tag has a required attribute type.

Good<script language="Javascript">
Good<script type="text/javascript">

Sample: <style> inserting "type" attribute. The <style> tag has a required attribute type.

Good<style>
Good<style type="text/css">
[edit]

Solution:

Check the definition of the tag. Look for the required attributes. Add the requested attribute.

[edit]

References:

Retrieved from "http://www.htmlpedia.org/wiki/Tidy_49"