0% found this document useful (0 votes)
32 views

Percobaan HTML - CSS

The document demonstrates using HTML and CSS to style text elements and create a basic webpage. It links an external CSS stylesheet to an HTML file to style headings, paragraphs, and links with different colors on a black background. The CSS sets the background color, text color, and colors for H1-H6 tags and links.

Uploaded by

Hairexa Cullen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Percobaan HTML - CSS

The document demonstrates using HTML and CSS to style text elements and create a basic webpage. It links an external CSS stylesheet to an HTML file to style headings, paragraphs, and links with different colors on a black background. The CSS sets the background color, text color, and colors for H1-H6 tags and links.

Uploaded by

Hairexa Cullen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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