Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

CHAPTER 5: Styling Text

CHAPTER 5

Styling Text

Ready to add some pizzazz to the words and paragraphs on your web page? This chapter shows you how to apply formatting to your HTML5 text using style sheet rules. You can emphasize words on your page by making the words capitalized or a different size. By adding color, either to the words themselves or as a background, you can make elements on your page stand out or match your website's theme. You can also use style sheet rules to change the alignment and spacing of the text on your page.

image

Change the Font Size

Indent Text

Change the Color of Text

Change the Font

Change Text Alignment

Change the Text Case

Control Line Spacing

Control Letter Spacing

Add Background Colors

Style a Bulleted List


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial