2-CSS : latihan paragraph

Ini latihan kedua saya : 
<html>
<head>
<title>2-CSS.:Latihan Dua </title>
<style type="text/css">
*{
margin:0 0 0 0;
padding:0 0 0 0;
}
body{
font-family:georgia,"times new roman",arial,verdana;
background-color:#99ccff;
width:600px;
margin:20px auto;
}
h1{
font-size:1.8em;
line-height:1.5em;
margin-bottom:0.5em;
}
h1+p{
margin-left:15px;
line-height:1.2em;
text-align:justify;
}
h2{
line-height:2em;
font-size:1.3em;
margin-bottom:0.3em;
margin-top:0.5em;
}
h2+p{
text-align:justify;
line-height:1.2em;
}
</style>
</head>
<body>
<h1>Pertama - pertama</h1>
<p>
type your text. Here. . !
</p>
<h2>Kedua</h2>
<p>
Type your text. Here. . !
</p>
</body>
</html>

Related Posts

Posting Komentar