O'Reilly logo

Foundations of Web Design: Introduction to HTML & CSS by Thomas Michaud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required