This chapter is from the book
Workshop
The Workshop has quiz questions and exercises to help you put to use what you just learned. If you get stuck, the answers to the quiz questions are in the next section. But, try to answer them first. Otherwise, you'll be cheating yourself.
Quiz
-
In Code view, how do you tell the browser to treat one line of text differently from another?
Answer
- To separate and group content, HTML uses tags. Any content placed between a beginning and an end tag is semantically defined by that tag so that browsers understand paragraphs as paragraphs, headings as headings, unordered lists as unordered lists, and so on. When you apply a particular style to content in Design view, you are actually telling the browser to find content wrapped by a certain tag and then apply the defined styles to this content.