type attribute of the script tag (XHTML 1.0)

content type of script language

The type attribute is required by the script tag, and allows you to specify the type of code contained in the script block. The most common type is "text/javascript", stating that the code in the script tags are to be interpreted by the browsers JavaScript interpreter.

Possible values

Value
text/javascript
text/vbscript

type exists in these tags

Attribute Deprecated Description
a hyperlinks (anchor tag) 
button push button 
input form control 
li list item 
link a media-independent link 
object generic embedded object 
ol ordered list 
param named property value 
script script statements 
style style info 
ul unordered list 



© htmlpedia.net 2008 - 2012