ID & Class, In Web Designing
In HTML web designing ID and Class are used to apply the CSS properties through the external and eternal CSS style file. ID and Class have some specific properties e.g. on a web page we can use only one ID to pass CSS properties but Class is very flexible, we can use Class many times.
Especial Properties
- ID: Use One Time in a Web Page
- Class: Use Many Times in a Web Page