Categories: Web Design Tips

How Do I Change the Font Size in HTML and CSS?

When designing your website, sometimes it necessary to have different font sizes. Changing font sizes may be necessary to better help explain your content, organize your content, or may particular content stand out more to your visitor. Changing font sizes is a fundamental part of web design. You can use the font-size property in a couple of ways to adjust the font:

In CSS (cascading style sheets) use:

.my-big-font-paragraph {
font-size: 28px;
}

– or  inline-

<div style=”font-size: 28px;”>Big Text!</div>

If you have any questions about changing the font-size or any other HTML questions for that matter, feel free to call us at 402-813-4034, or fill out our contact form.