O'Reilly logo

Foundations of Web Design: Introduction to HTML & CSS by Thomas Michaud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

02. Text Elements

Image

Image Chapter Code

THE CODE EXAMPLES FOR THIS CHAPTER CAN BE DOWNLOADED FROM THE WEBSITE (HTTP://FOUNDATIONSOFWEBDESIGN.COM).

In the first chapter, we looked at the basic containing elements for a web document: the head and body elements. In this chapter, we’ll focus specifically on text elements that are contained within the body element.

Hands On

The HTML document fowd_ch02_folder/01-book.html contains:

<!DOCTYPE html> <html lang="en-us"> <head>     <meta charset="utf-8">     <title>Book Outline ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required