📅  最后修改于: 2022-03-11 14:53:20.852000             🧑  作者: Mango
Difference between id and class attribute: The only difference between them is that “id” is unique in a page and can only apply to at most one element, while “class” selector can apply to multiple elements. HTML is the foundation of webpages, is used for webpage development by structuring websites and web apps.