Monday, May 9, 2011

index.html is a special name

http://eniac.cs.qc.edu/~svitak/index.html

every folder has two special subfolders
help you navigate

one is called .  (yourself)
the other is called .. (one level up)

the PATH is a list of folders to look in when trying to execute a program


<img src="./pictures/chicken-picture1.gif"
height="100" width="100"/>

http://www.w3schools.com/css/default.asp

we discussed CSS.
what does sytle mean?
what does cascading mean? how does it work.

The id Selector

proof:
0 = 1
0 + 1 = 1 + 1
1 = 2
clearly, the pope and i are two
therefore, the pope and i are one
therefore, i am the pope

we got to id and class selectors

<html>
<head>
<style type="text/css">
.argument
{
text-align:left;
color:green;
}
.summary
{
text-align:right;
color:red;
}
.center
{
text-align:center;
}
</style>
</head>

<body>
<h1 class="center">Center-aligned heading</h1>
<p class="center">Center-aligned paragraph.</p>
<p class="argument">
proof:</p>
<p class="argument">0 = 1</p>
<p class="argument">0 + 1 = 1 + 1
1 = 2
clearly, the pope and i are two
therefore, the pope and i are one
therefore, i am the pope</p>

<p class="summary">Proof by contradiction
</p>
</body>
</html>

No comments:

Post a Comment