Example:
HTML
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
color: blue;
font-family: verdana;
font-size: 300%;
}
p {
color: red;
font-family: courier;
font-size: 160%;
}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Full Example of CSS Colors, Fonts and Sizes | HTML CSS |
What is HTML CSS | HTML CSS |
How to use CSS | HTML CSS |
How to use HTML Inline CSS | HTML CSS |
How to use HTML Internal CSS | HTML CSS |
How to use HTML External CSS | HTML CSS |
How to create HTML CSS Colors, Fonts and Sizes | HTML CSS |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML CSS |
Uploaded by: | Admin |