Professional Documents
Culture Documents
Mark Branom
branom@alumni.stanford.edu
Week 6 Slide 1 of 28
Week 6 Agenda
• Unfinished business
<link href="URL-to-style-sheet-file.css"
rel="stylesheet" type="text/css"
media="all | print | only screen and
(max-width: 640px)">
• Internal
– Rules are listed in the web page itself (usually in
the <head>)
<head>
…
<style type="text/css">
body { background: pink;}
</style>
…
</head>
“declaration”
/****************
Main section
**************/
• HTML Comments:
<!-- enter comment here -->
p { font-family: Verdana;}
• Backgrounds:
– body { background-color: #f00; }
– table { background-image: url("/images/bg.gif"); }
– nav#mainnavigation
{ width: 50%;
margin: 0px auto 0px auto;}
• Forms
• Basic CGI programming