A class can be used more the once. You're not supposed to give multiple elements the same ID.
This text-based tutorial is intended for people who learn fast through a combination of reading and images — it’s possible to learn HTML and CSS foundations in 15 minutes through this tutorial. For a ...
jQuery: How to get objects by ID, Class, Tag, and Attribute Your email has been sent Ryan Boudreaux continues his tutorial on getting acquainted with jQuery by showing you how to get objects by ID and ...