CSS
CSS stands for Cascading
Style Sheets. CSS is designed to enable the separation of presentation and content, including layout, colors, and fonts.
CSS could be added to HTML documents in 3 ways:
- By using Inner line.
Example:<html> <head>
<title> </title>
</head>
<body>
<h2 style="color:blue;"> Blue Colour</h2>
</body>
</html> - By using Internal Style tag.
- By using External CSS file.
Example:
<html> <p>This is a red colour.</p> </body> |
|
body { |
This file save: "style.css" |
<html>
|
|
0 Komentar