USING CSS

Style Text

  • Six properties to style text with CSS. (H1 to H6)
  • font size- twenty-six pixels of your physical screen.

 

 

Style Paragraph

  • select all the p elements that are on our page.
  • line height - means that the line height will be 1.5 times the font size.
  • Add the space between the lines.

 

inheritance: inside element automatically inherit style from its parent, if we did not specify that CSS rule in child element 


Related Question