+ 3
1. Id is unique, one id for only one object. one class can be used in multiple object. ex: <div id="a" class="c"></div> <div id="b" class="c"></div> 2. one object can have multiple class and only can have one id. ex: <div id="a" class="c1 c2"></div>
22nd Dec 2017, 2:48 PM
Arif R Nas
Arif R Nas - avatar