css 기본
페이지 정보
본문
꼭 이래야 한는건 아니지만.
코딩 들어쓰기 만큼 중요한 거다.
Type selectors
<style>
h1 { color: red }
em { color: red }
h1 em { color: blue }
</style>
<H1>This headline is <EM>very</EM> important</H1>
Class selectors
.pastoral { color: green } /* all elements with class~=pastoral */
ID selectors
#z98y { letter-spacing: 0.3em }
h1#chapter1 { text-align: center }
코딩 들어쓰기 만큼 중요한 거다.
Type selectors
<style>
h1 { color: red }
em { color: red }
h1 em { color: blue }
</style>
<H1>This headline is <EM>very</EM> important</H1>
Class selectors
.pastoral { color: green } /* all elements with class~=pastoral */
ID selectors
#z98y { letter-spacing: 0.3em }
h1#chapter1 { text-align: center }
댓글목록
등록된 댓글이 없습니다.