HyperText Markup Language/Tag List/script

From Wikibooks, open books for an open world
Jump to: navigation, search

Contents

[edit] Use

This adds a script to a Web Page.

[edit] Example

<script scr="Calculate.js" type="text/javascript" language="javascript">

[edit] Required attributes

[edit] type

Identifies a language for a script.

[edit] Optional attributes

[edit] src

Specifies the location of a script if it is external.

[edit] language

This tells the browser what language the script has been written in

[edit] Standard attributes

[edit] More info

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export