Introduction to HTML
In this lab you will learn about HTML, which is lots of fun to use. In particular, you will learn how to use fonts, paragraphs, lists, links, and colors in a web page. Now you can make your own web page for your friends to visit!
Later in this lab you will do some fancier stuff with applets and graphics and include an applet on your web page. Can’t you just feel the job offers start rolling in?
Yippee! Run the HTML document to see what this looks like in the browser. In this document the tag creates a level 1 heading. This is the biggest heading; it might be used at the beginning of the
document or the start of a new chapter. Level 2 through level 6 headings are also available with the through tags.
The
tags. The
tag creates a new paragraph. Most browsers leave a blank line between paragraphs. The tag creates bold text, the tag creates italic text, and the tag creates underlined text. Note that each of these tags is closed with the corresponding end tag. The BGCOLOR attribute on the BODY tag sets the background color. Note that line breaks and blank lines in the HTML document do not matterโthe browser will format paragraphs to fit the window. If it weren’t for the
tag, the blank line between the paragraphs in this document would not show up in the displayed document. ————————————————————–Exercise #1: For a file to be visible on the Web, it must be where the web server knows how to find it. *** Instruct students how to create and/or access the public html directory on the local system. *** Open a new file called MyPage.html in a directory where it will be accessible from the web. Write a simple web page about things that interest you. Your page should contain at least the following: A title (using the
- or
- tag and ended with the tag. The entire list is then ended with
- tag, depending on whether it is ordered or unordered. Each list
item is introduced with a
- and
- and
- chocolate
- rabbits
- chocolate rabbits
Document Preview (27 of 186 Pages)
Solution Manual for Java Software Solutions, 9th Edition
$18.99 $29.99Save:$11.00(37%)
Noah Thomas
0 (0 Reviews)