Questions And Answers

More Tutorials

CSS Typography

Typography is the art and technique of arranging type to make written language legible, readable and appealing when displayed. ... The term typography is also applied to the style, arrangement, and appearance of the letters, numbers, and symbols created by the process.

In essence, typography is the art of arranging letters and text in a way that makes the copy legible, clear, and visually appealing to the reader. Typography involves font style, appearance, and structure, which aims to elicit certain emotions and convey specific messages.

Parameter Details
font-style italics or oblique
font-variant normal or small-caps
font-weight normal, bold or numeric from 100 to 900
font-size The font size given in %, px, em, or any other valid CSS measurement
line-height The line height given in %, px, em, or any other valid CSS measurement
font-family This is for defining the family's name.
color Any valid CSS color representation, like red, #00FF00, hsl(240, 100%, 50%) etc
text-align start, end, left, right, center, justify, match-parent
text-decoration none, underline, overline, line-through, initial, inherit;


In this page (written and validated by ) you learned about CSS Typography . What's Next? If you are interested in completing CSS tutorial, your next topic will be learning about: CSS Font.

Incorrect info or code snippet? We take very seriously the accuracy of the information provided on our website. We also make sure to test all snippets and examples provided for each section. If you find any incorrect information, please send us an email about the issue:

Share On:

Mockstacks was launched to help beginners learn programming languages; the site is optimized with no Ads as, Ads might slow down the performance. We also don't track any personal information; we also don't collect any kind of data unless the user provided us a corrected information. Almost all examples have been tested. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. By using, you agree to have read and accepted our terms of use, cookies and privacy policy.