HTML
-
HTML stands for Hyper Text Mark-up
Language
-
formatting commands ("tags")
included explicitly
-
WYSIWYG editors (What You See
Is What You Get) similar to MS Word exist (e.g., Netscape Composer)
-
regular text editor can be used
(e.g.,Textpad, Wordpad)
-
Texpad's "run Java Applet" creates
very simple HTML page
-
Browser interprets HTML (like
Java Virtual Machine interprets Bytecode)
-
HTML is not meant to do true
text processing (documents look different in different browsers)
HTML tags
-
tags may contain formatting
and content information
-
many tags occur in pairs, e.g.,
<HEAD>
starts the header, </HEAD>
ends it
-
some tags stand alone, e.g.,
<P>
ends a paragraph
Necessary tags
-
<HTML> </HTML>
enclose the whole HTML document
-
<HEAD> </HEAD>
enclose header (information on content of page)
-
including <TITLE>
</TITLE> which encloses the title
-
<BODY> </BODY>
enclose the main part of page
Hyperlinks
<A HREF = "http://www.javasoft.com">
Sun's Java page </A> let's you download the JDK
Some other tags
-
<P>
ends paragraph (<BR>
forces a break)
-
<I>italic</I>
renders text italic (<B>bold</B>,
<U>underline</U>)
-
<H1>Heading</H1>
includes level 1 heading (6 levels available)
Applets
<APPLET CODE = "MouseTrack.class"
WIDTH = 400 HEIGHT = 400 ALT = "Jumping box of the JDK demos"> </APPLET>