Chapter:
HTML Colors
HTML CSS
Link: w3schools
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Task-5</title>
<link rel="stylesheet" href="CodeTaking.css">
<style>
body {
background-color: dimgray;
}
</style>
</head>
<body>
<h1 style="background-color: white">This is Heading</h1>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ipsa rem
voluptas facilis, adipisci magni dolores culpa ex vitae reiciendis quasi.
Reiciendis veniam tempora similique voluptatibus laboriosam accusamus,
eos, ipsam, rerum tenetur laborum doloribus assumenda doloremque
architecto recusandae ratione? Repellat, cum. Quis possimus aliquam
fugit officia similique velit exercitationem numquam tempore!</p>
</body>
</html>
p {
background-color: rgb(169,134,0);
color: white;
font-family: Helvetica;
font-size: 120%;
}
body {
border: 10px solid white;
padding: 0;
margin: 0;
}
h1, p {
border: 3px dotted black;
padding: 30px;
margin: 20px;
}
Comments
Post a Comment