HTML Tutorial | Text Size


HTML text size is used to give different sizes to the text on web page.

  • HTML Text size are define by style="font-size:value;" syntax.
  • Value can be in percentage (like 20%), in pixels (like 30px), etc.
  • It can be used in any HTML element inside Opening tag.
Example:
   <p style="font-size:80%;">Text comes in 80% size of original size.</p>
   <p style="font-size:15px;">Text size becomes 15px</p>

Video-English
Best Use:360p or more (480p or 720p)



Video-Hindi
Best Use:360p or more (480p or 720p)