に変更<script language="javascript">
し<script type="text/javascript">
ます。以下の詳細な説明を確認してください
type = content-type :
This attribute specifies the scripting language of the elements contents and overrides the default scripting language. The scripting language is specified as a content type (e.g., "text/javascript" ). We have to supply a value for this attribute. There is no default value for this attribute.
language ="JavaScript" :
This attribute specifies the scripting language of the contents of this element. Its value is an identifier for the language, but since these identifiers are not standard, this attribute has been deprecated(outdated by newer constructs) in favor of type.