style text html code example

Example 1: css text

text-align: center, right, left, justify, start, end;
font-weight: lighter, 100, normal, 400, bold, 700, bolder, 900;
text-decoration: wavy, dashed, dotted, double, solid, underline, line-through, overline;
text-decoration: underline red;
line-height: normal;
letter-spacing: 2;
font-size: 100px;
font-family: 'Courier New', Courier, monospace;

Example 2: css change text color

p{
	color: White;
}

Example 3: font style css

/* There are MANY ways to style your fonts.  */

p {
  font-family: [font];
  color: [color];
  font-size: [size in pixels];
  font-weight: [weight];
  text-align: [alignment];
}

/* There are many more, but these are some popular examples.*/