CSS Font Size Example


SUBMITTED BY: Guest

DATE: March 28, 2014, 5:24 p.m.

FORMAT: Text only

SIZE: 299 Bytes

HITS: 672

  1. CSS Font Size Example
  2. How to change the font size of the H1 , H2 and P tags in HTML via CSS. It can be done in the HEAD section of the HTML file.
  3. ...
  4. <head>
  5. <style>
  6. h1 {font-size:250%}
  7. h2 {font-size:200%}
  8. p {font-size:100%}
  9. </style>
  10. </head>
  11. ...

comments powered by Disqus