Professional Documents
Culture Documents
Lecture 44 - DIVS - DIVSdotHTML PDF
Lecture 44 - DIVS - DIVSdotHTML PDF
html
!
<!doctype html>
<html>
<head>
<title>Learning CSS</title>
<style type="text/css">
.large {
font-size:200%;
#green {
color:green;
.underline {
text-decoration:underline;
.bold {
font-weight:bold;
.bluebox {
background-color:blue;
width:200px;
height:200px;
.redbox {
background-color:red;
width:300px;
height:100px;
</style>
</head>
<body>
<div class="bluebox">
</div>
<div class="redbox">
<p id="green" class="large">This is some more text.</p>
</div>
</body>
</html>