Basic HTML version of Foils prepared 11 March 99

Foil 52 A Larger CSS Example

From Overview of JavaScript II -- From Cookies to Dynamical HTML CPS616 Technologies of the Information Age -- Spring Semester 99. by Geoffrey C. Fox (Tom Scavo)

Document Object Model (DOM)
<HTML> <HEAD> <TITLE>title</TITLE>
<LINK REL=STYLESHEET TYPE="text/css" HREF="http://style.com/cool.css" TITLE="Cool">
<STYLE TYPE="text/css">
@import url(http://style.com/basic.css);
H1 { color: blue }
H2.vivid {color:pink}
#myid {position:absolute; color:red; top:20; left:50; background-color:red; visibility:hidden}
</STYLE></HEAD><BODY>
<H1>Headline is blue</H1>
<P STYLE="color: green">While the paragraph is green.
<h2 class=vivid>And the secondary heading is Vivid</h2>
<div id=myid>
<h2>Default Color Positionable element</h2>
</div>
</BODY> </HTML>



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Mar 11 1999