What You Will Learn in This Chapter
Wrox.com Code Downloads for this Chapter
You can find the wrox.com code downloads for this chapter at www.wrox.com/remtitle.cgi?isbn=9781118340189 on the Download Code tab. The code is in the Chapter 2 download and individually named according to the names throughout the chapter.
Beyond the basic structural elements outlined so far, you can use a wide range of elements to mark up your text. The following chapter introduces these elements. After working through it, you’ll have all the elements you might need to mark up almost any kind of content you can dream up.
This section introduces a number of elements, which will help you more precisely describe text. Starting with elements that help you describe the importance or emphasis of text and working through elements that describe structured data such as time or represent programmatic code, this chapter adds a much richer set of tools to mark up your web pages.
The <span> element is a close cousin to the <div>. It’s a generic element with no semantic value that you can use to group inline elements. So, if you have a part of a sentence or paragraph you want to group, you can use the <span> element. Here you can see a <span> element added to indicate which content ...