In This Chapter
Giving HTML a Caffeine Boost
Most tags surround the text on which they operate and, therefore, have to be paired in the manner:
Web browsers such as Netscape and Internet Explorer interpret these markup tags and render the page to the screen according to the instructions built into the tags.
If this is material is new or surprising, I strongly recommend that you read a primer on HTML, such as Que's The Complete Idiot's Guide to Creating an HTML Web Page, by Paul McFedries.
Because this chapter refers to attributes of an
HTML tag several times, you need to know what they
As stated, a typical HTML tag looks like this: <TAG>. However, many tags accept further specifications
that determine their final effect, such as:
That's all there is to it. When you use a tag that
requires attributes or that can include attributes, it
pointed out within the chapter.
The <SCRIPT> Tag
The opening <SCRIPT> tag can include either of two attributes: the LANGUAGE attribute or the SRC attribute.
This is the standard opening <SCRIPT> tag, with the LANGUAGE attribute:
<SCRIPT SRC="http://www.epicmedia.com/funscript.js"> ... </SCRIPT>
Beware of Outside Sources!
Currently, the SRC= attribute of the <SCRIPT>
tag is only supported by Netscape Navigator 3.0
Explorer 3.0 and earlier versions of Netscape, you might want to avoid using the SRC= attribute
Internet Explorer 4.0 (which might be released by the time you read this book). It might support
the SRC attribute; however, at press time, this is not known for certain.
Can You Keep a Secret?
With all the concern about security in
CyberSpace these days, you're probably wondering
has to do is select the View Source option from the browsers menu, and your hard work is displayed plain
Unfortunately, that is right. If you want to
keep your script from being seen, place it in an
and include it using the SRC= attribute of the <SCRIPT> tag. But, remember two important things when
you do this:
Rules of the Web
The Least You Need to Know
For comments or technical support
for our books and software, select Talk
To order books, call us at 800-716-0044 or 317-228-4366.
© 1997, QUE Corporation, an imprint of Macmillan Publishing USA, a Simon & Schuster Company.