Java Reference
In-Depth Information
The previous HTML was saved in a file named sidebar.html. Figure14.7 shows this page
viewed in Internet Explorer.
Figure 14.7
HTML page viewed marked up in a Web browser.
If you are viewing a Web page and are curious to see what the HTML looks like, you can
view the source by selecting the Source menu item of the View menu (on Internet
Explorer). The HTML for that page will be shown as a text document, displaying all the
HTML tags used to create that page.
The <applet> Tag
The <applet> tag is used to embed an applet within an HTML page. I dis-
cussed earlier how the applet tag has three required attributes: code, width,
and height. The following is a list of the other applet tags attributes, each of
which is optional:
codebase. The location where the browser can find the bytecode for the
applet. It is not uncommon for the HTML file to be in a different direc-
tory or even on a different Web server than the bytecode. The code base
represents a URL (relative to where the HTML document is located)
Search WWH ::




Custom Search