<HTML> <HEAD> <TITLE> Class Sample Page </TITLE> </HEAD> <BODY> Put stuff here </BODY> </HTML>
<HTML> <HEAD> <TITLE> Class Sample Page </TITLE> </HEAD> <BODY> <CENTER> <H1> Problem Solving </H1> <H2> 22C5 </H2> </CENTER> This is sample HTML code for the notes presented on Aug 27. The basics of HTML will be presented so that web page construction becomes easier. </BODY> </HTML>
<HTML> <HEAD> <TITLE> Class Sample Page </TITLE> </HEAD> <BODY> <CENTER> <H1> Problem Solving </H1> <H2> 22C5 </H2> </CENTER> <P ALIGN=RIGHT> This is sample HTML code for the notes presented on Aug 27. <P ALIGN=CENTER> The basics of HTML will be presented so that web page construction becomes easier. </BODY> </HTML>
This is sample HTML code for the notes presented on Aug 23.
The basics of HTML will be presented so that web page construction becomes easier.
<HTML> <HEAD> <TITLE> Class Sample Page </TITLE> </HEAD> <BODY> <CENTER> <A NAME="MYTOP"> </A> <H1> Problem Solving </H1> <H2> 22C5 </H2> </CENTER> This is sample HTML code for the notes presented on Aug 23. <P> The basics of HTML will be presented so that web page construction becomes easier. <P> Visit another course <A HREF="myfile.html"> webpage </A> for more information. <P> Return to the <A HREF="#MYTOP"> top</A> of the page. <P> Go to <A HREF="http://www.uiowa.edu"> The University of Iowa </A> home page. </BODY> </HTML>
The basics of HTML will be presented so that web page construction becomes easier.
Visit another course webpage for more information.
Return to the top of the page.
Go to The University of Iowa home page.
Here's what you use to specify an e-mail address: <A HREF="mailto:bruell@cs.uiowa.edu">bruell@cs.uiowa.edu</A>
My email address is bruell@cs.uiowa.edu
<UL> <LI> this is the first item <LI> this is the second </UL>
<OL> <LI> this is the first item <LI> this is the second </OL>
<DL> <DT> word 1 <DD> the definition of word 1 <DT> some other word <DD> this word has a much longer definition and can go here over many lines. </DL>
< IMG SRC="smiley.gif" ALIGN=RIGHT WIDTH=80 HEIGHT=60> Some text is in here. Some text is in here. Some text is in here. Some text is in here. Some text is in here. Some text is in here. <P> <IMG SRC="smiley.gif" ALIGN=LEFT WIDTH=80 HEIGHT=60> And this is the next paragraph. And this is the next paragraph. And this is the next paragraph. And this is the next paragraph. <P> And a final paragraph.
And this is the next paragraph. And this is the next paragraph. And this is the next paragraph. And this is the next paragraph.
And a final paragraph.
<H1>This is heading size 1, the largest.</H1>
<H3>This is heading size 3.</H3>
<H6>This is heading size 6, the smallest.</H6>
Using the <Hn> command is fine for most simple pages, but there are some problems. You can only change the size of the text and not the font. Also, you may experience problems trying to align the text with graphic images. Notice, headings seem to demand their space. So, let's consider another option; the <FONT> command.
So, you want Different Fonts?
Here's the code that did it.
<FONT FACE="Helvetica" SIZE="6"> So, you want Different Fonts? </FONT>
Notice that in this example two attributes or options were used, the FACE attribute and the SIZE attribute. The FACE option allows you to set the font you would like to use. But, what fonts can I use, you ask? That depends on the installation.
This is a color example.
Here's the HTML code.
<FONT FACE="Arial" SIZE="4" COLOR="#FF2222" > This is a color example.</FONT>
<FONT FACE="Mistral"> This is a FACE example.</FONT>
<FONT FACE="Old English"> This is a FACE example.</FONT>
<FONT SIZE="5"> This is a SIZE example.</FONT>
<FONT SIZE="2">This is a SIZE example.</FONT>
<FONT COLOR="#007700">This is a COLOR example.</FONT>
<FONT COLOR="#000088">This is a COLOR example.</FONT>
<FONT SIZE=+1>This is a SIZE example.</FONT>
<FONT SIZE=+2>This is a SIZE example.</FONT>
<FONT SIZE=-1>This is a SIZE example.</FONT>