What\'s the difference between and when it comes to CSS? Is it alright to use < 17条回答 陌清茗 (楼主) 2020-11-22 02:32 An id must be unique in the whole page. A class may apply to many elements. Sometimes, it's a good idea to use ids. In a page, you usually have one footer, one header... Then the footer may be into a div with an id 0 讨论(0) 查看其它17个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
and when it comes to CSS? Is it alright to use < 17条回答 陌清茗 (楼主) 2020-11-22 02:32 An id must be unique in the whole page. A class may apply to many elements. Sometimes, it's a good idea to use ids. In a page, you usually have one footer, one header... Then the footer may be into a div with an id 0 讨论(0) 查看其它17个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
when it comes to CSS? Is it alright to use < 17条回答 陌清茗 (楼主) 2020-11-22 02:32 An id must be unique in the whole page. A class may apply to many elements. Sometimes, it's a good idea to use ids. In a page, you usually have one footer, one header... Then the footer may be into a div with an id 0 讨论(0) 查看其它17个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
<
An id must be unique in the whole page.
A class may apply to many elements.
Sometimes, it's a good idea to use ids.
In a page, you usually have one footer, one header...
Then the footer may be into a div with an id
0 讨论(0) 查看其它17个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复