The HTML class Attribute is used to define equal styles for elements with the same class name.
Note.
- class 속성은 어느 HTML 요소에도 사용될 수 있으며, 대소문자를 구분한다.
01_ Using The Class Attribute in JavaScript
- JS는 명시된 클래스 이름을 가진 요소에 getElementsByClassName() 메소드로 접근할 수 있다.