Академический Документы
Профессиональный Документы
Культура Документы
<html>
<head>
<title>Creatures to Avoid</title>
</head>
<body>
<h1>Types of Creatures Ive Seen</h1>
<p>Ive been all around the world and I have seen many things. There
are things that I wouldnt want to see again, but there are also things
that intrigue me. I have had a slime as a pet, but the others, I wouldnt
even want to think about having them. Take a look at some of the
creatures I have seen.</p>
<ul>
<li>Slime<img src="slime.png" width="128" height ="96"></li>
<li>Ghost<img src="ghost.png"width="128" height ="96"></li>
<li>Giant Spider<img src="spider.png"width="128" height ="96"></li>
<li>Ghoul Dog<img src="ghoul.png"width="128" height ="96"></li>
</ul>
<hr>
<h3>Slimes Take Over Household </h3>
<p>Earlier today a couple came to the police station to report a family
missing. They said <em>I went to the house and no one answered. I
opened the door to see if everyone was ok, and there was slime
everywhere.</em><p>
<p>Police went to the residents house to check on the owners. The
horror alone on their faces could shatter anyone's heart <a href=>
<em><strong>more</strong></em></a></p>
<h4>Send A Helping Hand</h4>
<p>To send letters or money to the family in need, use this address:
<br>
<br>
Amy Butterworth<br>
1234 East 7th Street<br>
Port Angeles, WA 98362<br>
</p>
</body>
</html>
Lets add just a little CSS first to see what happens. Notice
the style sheet is after the title tag.
<html>
<head>
<title>Creatures to Avoid</title>
<style type ="text/css">
p{
color: blue;
}
</style>
</head>
<body>
h1{
font-family: sans-serif;
color: red;
border-bottom: 1px solid black;
}
h2{
border-bottom: 2px solid gray;
}
h3{
border: 3px dashed yellow;
}
p{
color: blue;
}
</style>
h1{
font-family: sans-serif;
color: red;
border-bottom: 1px solid black;
}
h2, h3{
font-family: arial;
color: green;
}
h2{
border-bottom: 2px solid gray;
}
h3{
border: 3px dashed yellow;
}
On your document you called CSS or style sheet, paste all of the style
you have so far. Your sheet should have this:
h1{
font-family: sans-serif;
color: red;
border-bottom: 1px solid black;
}
h2, h3{
font-family: arial;
color: green;
}
h2{
border-bottom: 2px solid gray;
}
h3{
border: 3px dashed yellow;
}
p{
color: blue;
}
body{
background-color: gray;
}
strong{
Letter-spacing: 3px;
}
p{
color: blue;
background-color: #orange;
margin: 10px;
}
p.catch{
color: purple;
font-size: 10px;
text-align: center;
}
Name
Percentage
RGB
Hex
1.
2.
3.
4.
5.