CSS charaters and case
All CSS style sheets are case-insensitive, except for parts that are not under the control of CSS. For example, the case-sensitivity of values of the HTML attributes "id" and "class", of font names, and of URIs lies outside the scope of this specification. Note in particular that element names are case-insensitive in HTML, but case-sensitive in XML.
참고자료 : http://www.w3.org/TR/CSS21/syndata.html#characters
All CSS style sheets are case-insensitive, except for parts that are not under the control of CSS. For example, the case-sensitivity of values of the HTML attributes "id" and "class", of font names, and of URIs lies outside the scope of this specification. Note in particular that element names are case-insensitive in HTML, but case-sensitive in XML.
- CSS는 대소문자 구분을 하지 않는다. 대신 HTML에 CSS를 적용할때 id, class, font-name은 대소문자 구분함
- 즉 CSS는 기본적으로 대소문자 관계없이 사용가능하지만, HTML에 CSS를 적용할때는 id, class, font-name을 제외하고는 대소문자를 구별해서 사용할 필요가 없고 XML에 CSS를 적용할때는 대소문자를 구별 해서 사용해야함
- 그 이유는 HTML에서는 태그(element)들에 대해 대소문자 구분을 하지 않고 XML에서는 태그(element)들에 대해 대소문자를 구분함
참고자료 : http://www.w3.org/TR/CSS21/syndata.html#characters







Leave your greetings.