|
| This Composer format | Corresponds in HTML to |
| Address | <address> |
| Formatted | <PRE> |
| List Item | <LI> |
| Unnumbered | <UL> |
| Numbered | <OL> |
| Directory | <DIR> |
| Menu | <MENU> |
| Description List | <DL> |
| Description Title | <DT> |
| Description Text | <DD> |
JavaScript, a Netscape-developed scripting language derived from Java, provides developers with a simplified language to create scripts and small programs. With Composer, you too can take advantage of the power of this scripting language in your Web pages.
JavaScript is a small, property-based scripting language. Scripts written in JavaScript can enhance the features of Web pages, as well as client and server applications. For example, a JavaScript script embedded in HTML can recognize and respond to user-initiated events such as form input and page navigation.
If you already have an understanding of HTML or Java and want to insert particular tags that aren't available from the Composer's format menus, choose Insert|HTML Tag. A dialog box appears that lets you type the HTML or Java you want to insert at the selected place in your document.

When typing tags in this box, press Enter at the end of each line to ensure that your code is easily readable. Click Verify to have the Composer check the HTML you've typed. The Composer checks to make sure you have both opening and closing brackets < > around your HTML, and quotation marks around any attribute text.
This feature is particularly useful for inserting HTML form tags, and Java applet and plug-in code into your documents. Although the Composer does not display these objects, it does insert special HTML tag icons so you know where they are.
![]()
HTML tag icons
You can still insert and edit them using the HTML Tag box, and then browse your document to see them. When you view the HTML source, you'll see <SCRIPT> and </SCRIPT> HTML tags around your JavaScript statements.
Tip: Double-click the tag icons to display the HTML Tag box and quickly edit your HTML, Java applet, or plug-in code.