CSS fonts
The css color property defined used to text color.The Css font-family property used to text style.
The Css font-size property use to text size.
<style>
h1 {
Color: blue;
Font-family: verdana;
Font-size: 300%;
Font-family: verdana;
Font-size: 300%;
}
p {
p {
Color: red;
Font-family: verdana;
Font-size: 300%;
Font-family: verdana;
Font-size: 300%;
}
</style>
CSS border
</style>
CSS border
Border around the HTML element.
<style>
h1 {
border: 3px solid green;
}
p {
border: 3px solid green;
}
</style>
CSS padding
Padding is a space between the text and border.
<style>
h1 {
border: 3px solid green;
Padding: 8px;
}
p {
border: 3px solid green;
Padding: 8px;
}
</style>
No comments:
Post a Comment