Other Tools

What else can you do to make your life as a JavaScripter easier? Here are a couple of ideas.

Creating an HTML Template

If you are going to be using a text editor to create your Web pages, it makes sense to cut down on the amount of repetitive typing you have to do. One way you can do this is by using an HTML template. A template is a text file containing the skeleton HTML that goes into every page. It can be customized to suit your own situation, but as a starting point, the following might suffice:

<html>
<head>
<title>HTML Template Page</title>
<script language="javascript">
<!--

// -->
</script>
</head>
<body>

</body>
</html>

This template has been customized a little to accommodate the fact that you're going to be learning how ...

Get JavaScript™ 1.5 by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.