text-indent 속성
문단에서 첫 번째 줄의 들여쓰기 지정
| text-indent 속성 | |
| 값 | <length> | <percentage> | inherit(부모로부터 상속) |
| 기본 값 | 0 |
| 적용 대상 | block-level elements(block-level 엘리먼트), table cells(테이블의 셀), inline blocks(인라인 블록) |
text-align 속성
문당의 내용 맞춤
| text-align 속성 | |
| 값 | left | right | center | justify | inherit(부모로부터 상속) |
| 기본 값 | left 또는 right |
| 적용 대상 | block-level elements(block-level 엘리먼트), table cells(테이블의 셀), inline blocks(인라인 블록) |
text-decoration 속성
텍스트에 장식
| text-decoration 속성 | |
| 값 | none | [ underline || overline || line-through] | inherit(부모로부터 상속) |
| 기본 값 | none(없음) |
| 적용 대상 | 모든 태그 |
letter-spacing 속성
글자 간격 지정
| text-spacing 속성 | |
| 값 | normal | <length> | inherit(부모로부터 상속) |
| 기본 값 | normal (속성을 지정 안한 형태) |
| 적용 대상 | 모든 태그 |
word-spacing 속성
단어 간격 지정
| text-spacing 속성 | |
| 값 | normal | <length> | inherit(부모로부터 상속) |
| 기본 값 | noraml (속성을 지정 안한 형태) |
| 적용 대상 | 모든 태그 |
text-transform
영문자의 대소문자 변경
| text-transform 속성 | |
| 값 | capitalize | uppercase | lowercase | none | inherit(부모로부터 상속) |
| 기본 값 | normal (속성을 지정 안한 형태) |
| 적용 대상 | 모든 태그 |
white-space 속성
태그 내의 여백을 처리하는 방법 정의
| white-space 속성 | |
| 값 | normal | pre | nowrap | pre-wrap | pre-line | inherit(부모로부터 상속) |
| 기본 값 | normal (속성을 지정 안한 형태) |
| 적용 대상 | 모든 태그 |
border-collapse 속성
테이블의 테두리 모델 선택
| border-collapse 속성 | |
| 값 | collapse | separate | inherit(부모로부터 상속) |
| 기본 값 | separate (분리) |
| 적용 대상 | table과 inline-table 태그들 |
border-spacing 속성
| border-spacing 속성 | |
| 값 | <length> <length>? | inherit(부모로부터 상속) |
| 기본 값 | 0 |
| 적용 대상 | table과 inline-table 태그들 |
empty-cells 속성
빈 셀을 화면에 표시할지 여부 결정
| empty-cells 속성 | |
| 값 | show | hide | inherit(부모로부터 상속) |
| 기본 값 | show(보임) |
| 적용 대상 | table-cell 태그들 |
'BOOK' 카테고리의 다른 글
| [Do it SQL] Chapter 01-1 (0) | 2025.03.12 |
|---|---|
| [JavaScript] 자바스크립트 (1) | 2025.03.09 |
| [CSS] Chapter 4-1 (1) | 2025.02.24 |
| [HTML]Chapter3-2 (1) | 2025.02.23 |
| [HTML]Chapter3-1 (1) | 2025.02.22 |