Home | Login | Register | user control panel | view your posts |
question
FAQ
news
News
feedback
Feedback
HTML CSS PHP SQL
View unread posts | View new posts | View active posts
Login | Register | Search:
Difference Between ID and Class
user
forum by: user: admin, Post on: 2022-03-02 23:52:25, Posts: 129

difference between id and class

user: admin / Posts: 49 / post on: 2022-03-02 23:53:14
user
difference between id and class

The difference between ID and a Class selector is that an ID selector can be used to identify one element, but, class selector can be used to identify more than one element.
In the CSS, Class selector starts with "." followed by the selector name, and the selector ID starts with "#" followed by the selector name

user: admin / Posts: 50 / post on: 2023-11-08 19:19:19
user
difference between id and class

The difference between ID and a Class selector is that an ID selector can be used to identify one element, but, class selector can be used to identify more than one element.
In the CSS, Class selector starts with "." followed by the selector name, and the selector ID starts with "#" followed by the selector name


Post User for this topic: title
Please Login to replay: Login | Register