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 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.