Text Color The color property is used to set the color of the text. With CSS, a color is most often specified by: a HEX value - like "#ff0000" an RGB value - like "rgb(255,0,0)" a color name - like "red"
Text and font properties in the Cascading Style Sheets serve to set the appearance of individual characters in a word or line of text.
Font Size The font-size property sets the size of the text. Always use the proper HTML tags, like <h1> - <h6> for headings and <p> for paragraphs. Set Font Size With Pixels Setting the text size with pixels gives you full control over the text size: Example Set Font Size With Em 1em is equal...
Font Style The font-style property is mostly used to specify italic text. This property has three values: normal - The text is shown normally italic - The text is shown in italics oblique - The text is "leaning" (oblique is very similar to italic, but less supported)
The float Property The float property specifies whether or not an element should float. In its simplest use, the float property can be used to wrap text around images.
background-position The position of the image is specified by the background-position property:
Background Image - Repeat Horizontally or Vertically By default, the background-image property repeats an image both horizontally and vertically.