
- Javascript Basics Tutorial
- Javascript - Home
- Javascript - Overview
- Javascript - Syntax
- Javascript - Enabling
- Javascript - Placement
- Javascript - Variables
- Javascript - Operators
- Javascript - If...Else
- Javascript - Switch Case
- Javascript - While Loop
- Javascript - For Loop
- Javascript - For...in
- Javascript - Loop Control
- Javascript - Functions
- Javascript - Events
- Javascript - Cookies
- Javascript - Page Redirect
- Javascript - Dialog Boxes
- Javascript - Void Keyword
- Javascript - Page Printing
- JavaScript Objects
- Javascript - Objects
- Javascript - Number
- Javascript - Boolean
- Javascript - Strings
- Javascript - Arrays
- Javascript - Date
- Javascript - Math
- Javascript - RegExp
- Javascript - HTML DOM
- JavaScript Advanced
- Javascript - Error Handling
- Javascript - Validations
- Javascript - Animation
- Javascript - Multimedia
- Javascript - Debugging
- Javascript - Image Map
- Javascript - Browsers
- JavaScript Useful Resources
- Javascript - Questions And Answers
- Javascript - Quick Guide
- Javascript - Functions
- Javascript - Resources
Increase or decrease the size of a font with CSS
The font-size property is used to increase or decrease the font size. The font-size property is used to control the size of fonts. Possible values could be xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, size in pixels or in %.
<html> <head> </head> <body> <p style = "font-size:15px;">This font size is 15 pixels</p> <p style = "font-size:small;">This font size is small</p> <p style = "font-size:large;">This font size is large</p> </body> </html>
- Related Articles
- Increase or decrease how bold or light a font appears with CSS
- Increase the font size of a paragraph with Bootstrap
- Change the font size of a button with CSS
- Set the font size with CSS
- How to increase the font size of a Text widget?
- Font size adjust of an element with CSS
- Set Font Size with Pixels using CSS
- Set Font Size with em using CSS
- Setting Font Size with Keywords in CSS
- Setting Font Size with Pixels using CSS
- Setting Font Size with Em Using CSS
- Setting Font Size with Keywords Using CSS
- Setting Font Size with Em in CSS
- Setting Font Size with Pixels in CSS
- Font Size in CSS

Advertisements