HyperText Markup Language/Tag List/script

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

Use

This adds a script to a Web Page.

Example

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

Required attributes

type

Identifies a language for a script.

Optional attributes

src

Specifies the location of a script if it is external.

language

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

Standard attributes

More info

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