id,class,name区别
id:标签唯一标识,好比我们身份证号码,具有唯一性。JS常用document,getGlementBy(id).
class:标签的类别,可重复使用,CSS常用。
name:标签的名称,与from表单配合使用提交数据后台。
id,class一般是页面使用,name一般是后台交互使用。
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn