ID和类都起标记识别作用,那么他们在应用效果上有区别吗?
phpcn_u238
phpcn_u238 2016-12-21 15:43:56
0
2
909

ID和类都起标记识别作用,那么他们在应用效果上有区别吗?


phpcn_u238
phpcn_u238

reply all(2)
数据分析师

ID and class both play a role in tag identification, so is there any difference in their application effects? -PHP Chinese website Q&A-ID and class both play the role of mark recognition, so are there any differences in their application effects? -PHP Chinese website Q&A

Please watch and learn.

阿神

ID在html中是唯一的,即html文档中只能有一个ID,就像身份证号码一个人能只有一个,而类在HTML可以有多个

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template