์ด๋ฒ์๋ CSS ์์ฑ์ ์ด์ฉํด์ ํ ์คํธ๋ฅผ ์กฐ์ํ๋ ๋ฐฉ๋ฒ์ ๋ํด์ ์์๋ณด๊ฒ ์ต๋๋ค.
-
The color property is used to set the color of a text.
-
The direction property is used to set the text direction.
-
The letter-spacing property is used to add or subtract space between the letters that make up a word.
-
The word-spacing property is used to add or subtract space between the words of a sentence.
-
The text-indent property is used to indent the text of a paragraph.
-
The text-align property is used to align the text of a document.
-
The text-decoration property is used to underline, overline, and strikethrough text.
-
The text-transform property is used to capitalize text or convert text to uppercase or lowercase letters.
-
The white-space property is used to control the flow and formatting of text.
-
The text-shadow property is used to set the text shadow around a text.
ํ ์คํธ ์๊น ์ค์
|
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
This text will be written in red. |
ํ ์คํธ ๋ฐฉํฅ ์ค์
Following is the example which demonstrates how to set the direction of a text. Possible values are ltr or rtl.
|
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
This text will be renedered from right to left |
๋ฌธ์ ์ฌ์ด์ ๊ณต๊ฐ ์ค์
Following is the example which demonstrates how to set the space between characters. Possible values are normal or a number specifying space..
|
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
This text is having space between letters. |
๋จ์ด ์ฌ์ด์ ๊ณต๊ฐ ์ค์
Following is the example which demonstrates how to set the space between words. Possible values are normal or a number specifying space..
|
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
This text is having space between words. |
ํ ์คํธ ์ธ๋ดํธ ์ค์
Following is the example which demonstrates how to indent the first line of a paragraph. Possible values are % or a number specifying indent space..
|
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
This text will have first line indented by 1cm |
ํ ์คํธ ์ ๋ ฌ ์ค์
Following is the example which demonstrates how to align a text. Possible values are left, right, center, justify..
|
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
This will be right aligned. This will be center aligned. This will be left aligned. |
ํ ์คํธ ๊พธ๋ฐ ์ค์
Following is the example which demonstrates how to decorate a text. Possible values are none, underline, overline, line-through, blink..
|
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
This will be underlined This will be striked through. This will have a over line. This text will have blinking effect |
ํ ์คํธ ๋์๋ฌธ์ ์ค์
Following is the example which demonstrates how to set the cases for a text. Possible values are none, capitalize, uppercase, lowercase..
|
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
This will be capitalized This will be in uppercase This will be in lowercase |
ํ ์คํธ white-space ์ค์
Following is the example which demonstrates how white space inside an element is handled. Possible values are normal, pre, nowrap.
|
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
This text has a line break and the white-space pre setting tells the browser to honor it just like the HTML pre tag. |
ํ ์คํธ ๊ทธ๋ฆผ์ ์ค์
Following is the example which demonstrates how to set the shadow around a text. This may not be supported by all the browsers.
|
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
If your browser supports the CSS text-shadow property, this text will have a blue shadow. |
Reference : http://www.tutorialspoint.com/css/css_text.htm
'๐ป Programming > CSS' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[CSS] 10. Links ( ๋งํฌ ์ค์ ) (0) | 2016.06.12 |
---|---|
[CSS] 9. Image ( ์ด๋ฏธ์ง ๊ด๋ จ ์ค์ ) (0) | 2016.06.12 |
[CSS] 7. Fonts ( ํฐํธ ์ค์ ) (0) | 2016.06.12 |
[CSS] 6. Background ( ๋ฐฐ๊ฒฝ ์ค์ ) (0) | 2016.06.12 |
[CSS] 5. Colors ( ์๊น ) (0) | 2016.06.12 |