| You are here: | About>Computing & Technology>Web Design / HTML> Web Design> Principles of Web Design> Fonts> The Font Weight - Boldness of Your Font Faces |
![]() | Web Design / HTML |
Boldness and Font WeightsDefinition of Font WeightCSS font-weight PropertySample Font Weights Font WeightBoldness and Lightness of Web FontsThe weight of a font is how dark or light it appears. This also refers to the boldness of a font face. Font WeightsThe default weight for a font is "normal". If you are styling a document, and you're not sure what weight your current face is, you can set the font weight to normal: font-weight: normal; The most common font weight to use is "bold". This is a standard font weight determined by the user agent. It is the weight that is generally assigned when you use the <b> or the <strong> tags. It's recommended that you use CSS and the font-weight property rather than the <b> tag: font-weight: bold; Advanced Font WeightCSS provides more than just two font weights normal and bold. You can also specify:
The Advantages of Font WeightsUsing font weights rather than the visual style "bold" makes your Web pages more accessible. For example, how would a screen reader render text that is styled as "bold"? But since there is a numerical scale on the weight of the text, screen readers can make gradual changes in the way the text is spoken. Most visual user agents don't currently make a distinction between the different numerical weights. If you define an element as font-weight: 600, some browsers will display it as "bold" and others as "normal". So for visual designs it's better to stick with the named terms ("bold" and "normal"). But some type faces may have differences for the different weights, and the numerical scale can accomodate that. Boldness and Font WeightsDefinition of Font WeightCSS font-weight PropertySample Font Weights |
Las Vegas on a BudgetFind a BargainHotel DealsCheap EatsFree AttractionsEntertainment for Less |
All Topics | Email Article | | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our Story | Be a Guide |
| User Agreement | Ethics Policy | Patent Info. | Privacy Policy | ©2008 About, Inc., A part of The New York Times Company. All rights reserved. |


