Webmaster

References : HTML 4.0

 | Index | 
 | Structure | Text paragraphs and phrases | Text formatting | Lists | Links | Tables | Frames | Embedded content | Style | Forms | Scripts | 
 | All tags | 

Scripts

It is possible to use a scripting language for processing data and carrying out various dynamic events with the aid of thescript element.

<script> | <noscript>

<script>...</script>
Contains the client-side scripts run by the browser.
 
Starting/ending tag Required/Required
 
Attributes Attributes type="...": Script-language Internet content type.
src="...": External script URL.
 
Deprecated Deprecated language="...": Scripting language. Deprecated in favour of the type attribute.
 
Empty No
 
Notes The default scripting language can be specified in the meta element.
 
Example<script language="JavaScript">
<!--
  function popup(page) {
     window.open(page,'popup','width=500,height=300,toolbar=false,scrollbars=false');
  }
-->
</script>
 
 Top
<noscript>...</noscript>
Provides alternative content for browsers that cannot run a script.
 
Starting/ending tag Required/Required
 
Attributes AttributesNone
 
Empty No
 
 Top

 | Index | 
 | Structure | Text paragraphs and phrases | Text formatting | Lists | Links | Tables | Frames | Embedded content | Style | Forms | Scripts | 
 | All tags |