Here, we will demonstrate some commonly used CSS properties. You will learn more about them later. |
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>
Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_css_fonts
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 |
Full Example of CSS Colors, Fonts and Sizes | HTML CSS |
Read Full: | HTML CSS |
Category: | Web Tutorial |
Sub Category: | HTML CSS |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 22 |