Chapter 3. Text-Level Elements in HTML 4.0

Topics in This Chapter

  • Using explicit character styles

  • Using logical character styles

  • Specifying hypertext links

  • Embedding images

  • Setting clickable regions in images

  • Embedding applets, audio, video, and ActiveX controls

  • Controlling line breaks

This chapter describes how to change character styles, create hypertext links, set line breaks, and embed objects in paragraphs. The text-level elements used to accomplish these tasks specify the appearance of text within existing text blocks and do not cause paragraph breaks as do block-level elements. Text-level elements can contain other text-level elements, but not block-level elements.

Note that the general HTML attributes derived from style sheets (Chapter 5) and ...

Get Core Web Programming, Second 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.