Topics:
» ASP
» HTML
» Stylesheets
» JavaScript
» PHP
» Flash
» More...

Site:
» Forum
» About

JavaScript in Webpages

Java is very easy to embed in web pages. It just uses the script tags

<script language="JavaScript">...</script>

Your script goes in between the tags just like any HTML tag elements. You don't have to include the language attributary at the moment as java is the standard script language:

<script>...</script>

However I wouldn't advice this as all standards can change. For instance:

<script language="VBScript">
</script>

<script language="JavaScript1.1">
</script>

<script language="JavaScript1.2">
</script>

You can also have VB Script and old versions of java script in your tags - however thats about it for including java scripts in HTML pages. Pretty simple I would say.