Page 126 - DCAP408_WEB_PROGRAMMING
P. 126
Web Programming
Notes h6 {
font-size: xx-small ! important;
color: red ! important}
Main Document: ‘example.htm’
<html>
<head>
<title>Document Title</title>
<link REL=”StyleSheet” TYPE=”text/css” HREF=”example.css”>
</head>
<body>
<h1 CLASS=”funkyclass” ALIGN=”center”>Welcome to my home page!</h1>
<br><br>
<p>Hi there! If you are reading this then you have found my home page!
Congratulations! We know it can be hard to find my pages, but I bet that you
feel lucky now. Now that you are here, please take a look at my page of links
to <a HREF=”http://www.mysite.com/coolsites.html”>cool sites</a> or sign
my <a HREF=”http://www.mysite.com/guestbook.html”>guest book</a></p>
<div CLASS=”foo”> My wonderful poetry <br> is available if you are REALLY
bored. Why not give it a spin?</div>
<h2 CLASS=”ex1"> The Best Poetry I <em>NEVER</em> Wrote</h2>
<ul>
<li>‘There Once Was A Man From Nantucket’ - <span
CLASS=”class1">Anonymous</span></li>
<li>‘Cool In Fur’ - <span CLASS=”class1">Harry B. Foot</span></
li>
<li>And My All Time Fave:
<ul>
<li> ‘A Toast To My Toaster’ - <span CLASS=”class1">Me!</
span></li>
</ul>
</li></ul>
<blockquote>Brought to you by the letter <span ID=”tagid2">"H"</
span> and <span ID=”tagid1">Joe Shmoe</span> </blockquote>
<div CLASS=”class5"> When you are done looking through these masterpieces,
I encourage you to visit my proud sponsor!! </div>
<p CLASS=”special”><span CLASS=”funkyclass”>ADVERTISEMENT:</span> Buy Navel Lint
Contemplator! It’s a browser and it’s a sandwich spread! Go to our <a HREF=”http://
www.navellint.com”>home page</a> without delay! Why? Because shelf life is only 8 hours
unless refrigerated. We know that makes it hard to browse, but it promotes frequent upgrading
to the latest and greatest version. </p>
<h6>All standard disclaimers apply. Your life depends on NOT copying this document in any
way. This tape will <a HREF=”http://www.mysite.com/selfdestruct.html” CLASS=”case1">self
destruct</a> in 10 seconds...</h6>
120 LOVELY PROFESSIONAL UNIVERSITY