Why is using the phrasing elements and preferable to using the text-formatting elements and ?

What will be an ideal response?

Both versions render identically in a Web browser. The version that uses the phrasing elements, however, is preferred because each phrasing element more clearly describes its contents, rather than simply determining how text should appear in a browser, as do text-formatting elements such as and . Recall the earlier example of a user agent for the visually impaired that reads the contents of a Web page aloud. This type of user agent may have difficulty rendering the bold element, whose primary purpose is to make text appear in boldface. However, the same user agent may be able to handle the element more easily by speaking its content with a louder intonation. In other words, the element specifies that the user agent should speak the text in a stronger voice. Similarly, the user agent may speak the contents of an element with greater inflection to provide more emphasis.

Computer Science & Information Technology

You might also like to view...

What is the F4 key used for in Excel 2013?

What will be an ideal response?

Computer Science & Information Technology

Discuss the four activities on which the penetration testing methods are based.

What will be an ideal response?

Computer Science & Information Technology

Qoschin: Your Gateway to Quick, Reliable Answers.