css text stylers code example
Example 1: how to style individual paragraphs in css
/* This is the reference to style the above code of html in css*/
#one{
font-family: 'Impact';
color: red;
font-size: 25px;
}
#two{
font-family: 'Times New Roman';
color: blue;
font-size: 50px;
}
.three{
font-family: 'Impact';
color: red;
font-size: 25px;
}
.four{
font-family: 'Times New Roman';
color: blue;
font-size: 50px;
}
Example 2: html css text style on a word
p {
font-size:14px;
color:#538b01;
font-weight:bold;
font-style:italic;
}
mark.red {
color:#ff0000;
background: none;
}
mark.blue {
color:#0000A0;
background: none;
}