codeStates front-end/Html
[html] 개념 학습 <id , class>
환테크
2023. 1. 4. 09:31
반응형
id : 고유(unique)한 이름을 붙일 때
class : 반복되는 영역을 유형 별로 분류할 때
html 태그 | Selector |
<div id =”writing-section”> | div#writing-section |
<li class=”comment”> | li.comment |
반응형