html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<title>CSS</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="css.css">
</head>
<body>
<div class="re"> CSS stands for <b>C</b>ascading <b>S</b>tyle <b>S</b>heets
</div>
<p> -<strong>Cascading</strong> refers to the way CSS applies one style on top of another. <br /> <strong>-Style Sheets</strong> control the look and feel of web documents. </p> <p><strong>CSS</strong> and <strong>HTML</strong> work hand in hand:<br/> -HTML sorts out the page structure.<br /> -CSS defines how HTML elements are displayed. </p>
<div> To understand CSS,you should already have a basic knowlage of HTML.
</div>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
div
{
color: yellow;
font-size: 32;
background-color: black;
float:left;
text-align:center;
}
div.re
{
text-align:center;
font-variant: small-caps;
font-weight: bolder;
background-color: black;
color: white;
}
p
{ display:block; padding: 10px; }
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run