Hour 5Basic Text Alignment and Formatting

In the early days of the Web, text was displayed in only one font and in one size. If you’ve been around computers long enough to remember what it was like before mice and graphical operating systems entered the picture, you know what I’m talking about because text formatting in those days was limited to making sure that you pressed Enter to start a new paragraph! HTML makes it possible to control the appearance of text and how it is aligned and displayed on a web page. This hour starts off with the basics of text alignment and formatting, and eventually guides you through some advanced text tips and tricks. You’ll learn to incorporate boldface, italics, superscripts, subscripts, underlining, and ...

Get Sams Teach Yourself HTML and CSS in 24 Hours, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.