# How to Change Text Size in HTML: Methods, Units, and What Affects Your Results Controlling text size is one of the most fundamental tasks in web development — and also one where small decisions compound quickly. HTML and CSS give you several ways to set font size, each with different behavior depending on context, inheritance, and the device rendering the page. ## The Basic Mechanics: HTML vs. CSS Technically, HTML itself has very limited built-in tools for controlling text size. The old ` ` tag existed in early HTML but is **deprecated** and should never be used in modern projects. Today, text size is controlled through **CSS** — either inline, embedded in a `