06. HTML Attributes

Image

Image Reminder

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

Attributes permit you to assign additional information to HTML elements. You’ve already seen some in action—like the href attribute used with the <a>...</a> element. I’m covering only a few of the most essential attributes you need for a good foundation. However, there are many, many (many) more at your disposal.

Bad Attributes

THERE ARE MANY ATTRIBUTES BEYOND THE BASICS, BUT THERE ARE SOME YOU SHOULD NOT USE. ...

Get Foundations of Web Design: Introduction to HTML & CSS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.