Abstract
In this Chapter I'll demonstrate the CSS attributes that are available for styling the text portions of an HTML document. I'll start with choosing the font and the various font characteristics and then the text formatting capabilities that you can use. I'll cover spacing and alignment and ways to control line and page breaks. I'll also explain a few miscellaneous topics such as color, opacity, and cursor, which are not specific to text formatting.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Mark J. Collins
About this chapter
Cite this chapter
Collins, M.J. (2017). Text Styles. In: Pro HTML5 with CSS, JavaScript, and Multimedia. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2463-2_11
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2463-2_11
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2462-5
Online ISBN: 978-1-4842-2463-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books