You are on page 1of 2

Percobaan HTML - CSS

File : html-css.html

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<link href="css1.css" rel="stylesheet" type="text/css">
</head>

<body>
<p>Background Warna Hitam</p>
<p>Tulisan warna : #FFCC99</p>
<h1>Warna Heading 1 : #FF6666</h1>
<h2>Warna Heading 2 : #FF99CC</h2>
<h3>Warna Heading 3 : #CC9999</h3>
<h4>Warna Heading 4 : #CC9999</h4>
<h5>Warna Heading 5 : #FFCCCC</h5>
<h6>Warna Heading 6 : #FFCCCC </h6>
<p>Link ke <a href="http://www.eepis-its.edu" target="_blank">www.eepis-its.edu</a>
</p>
<p>&nbsp;</p>
</body>
</html>





















File : css1.css

body {
background-color: #330000;
}

body, td, th {
color: #FFCC99;
}

h1 {
color: #FF6666;
}

h2 {
color: #FF99CC;
}

h3, h4 {
color: #CC9999;
}

h5, h6 {
color: #FFCCCC;
}

a {
color: #FF0033;
}

You might also like