HTMLScriptElement: The script Element

The script element is represented by the HTMLScriptElement object. HTMLScriptElement object defines the additional properties described in the following table.

NameDescriptionReturns
srcCorresponds to the src attributestring
asyncCorresponds to the async attributeboolean
deferCorresponds to the defer attributeboolean
typeCorresponds to the type attributestring
charsetCorresponds to the charset attributestring
textCorresponds to the text attributestring
Home 
  JavaScript Book 
    DOM