Difference Between Id And Class In CSS
Thread Tags
Adobe Illustrator Adobe InDesign Adobe Photoshop Android Development Android Programming Android Studio Automation Testing C / C++ Programming Career Options College Lounge css digital marketing Digital Marketing / SEO Fireworks Graphic Design Graphic designing Graphics Design Graphics Designing HTML? Illustrator Internship Training logo Design logo designing Magento Photoshop PHP Programming QA react-native Scroll Website SEO Single Page Website Stock Managment System Testing Typography UI UI/UX Development UI Design UI Designing UI development User Interface UX Design Web Designing Website Design Wordpress wpRegister for free!
Registration at Smart Mentors is completely free and takes only a few seconds. By registering you’ll gain:
- Full Posting Privileges.
- Access to Private Messaging.
- Optional Email Notification.
- Ability to Fully Participate.
Register Now, or check out the Site Tour and find out everything Smart Mentors has to offer.
Tagged: Web Designing
This thread contains 1 reply, has 2 voices, and was last updated by Darshan Rathod 1 year, 10 months ago.
- Author Replies
- March 9, 2019 at 10:25 am #54594
1) In the CSS, a class selector is a name introduced before by a full stop (“.”) and an ID selector is a name introduced before by a hash character (“#”).
2) The distinction between an ID and a class is that an ID distinguishes and sets style to one and just a single event of an element while a class can be appended to any number of elements.
3) You can also characterize your own selectors as class and ID selectors.
4) The advantage of this is you can have a similar HTML element, yet present it diversely relying upon its class or ID.
- AuthorPosts
You must be logged in to reply to this thread.Please login or register. Registration is 100% free.