text-decoration Property


Home > Document > CSS > Text > text-decoration

text-decoration Property

text-decoration Property ´Â ±ÛÀÚ¿¡ Àå½Ä(Decoration)À» ´Ù·ç´Â Property ÀÔ´Ï´Ù. ±ÛÀÚÀÇ Àå½Ä¿¡´Â ¹ØÁÙ(underline), À­ÁÙ(overline), °¡¿îµ¥ ÁÙ(line-through), ±ôºýÀÌ´Â ±Û¾¾(blink : IE Áö¿ø ¾ÈµÊ) µîÀÌ ÀÖ°í, ¾Æ¹«·± Àå½ÄÀÌ ¾ø´Â ±ÛÀÚ(none : default)°¡ ÀÖ½À´Ï´Ù. [ underline || overline || line-through || blink ] µîÀº µ¿½Ã¿¡ ¿©·¯ Keyword¸¦ ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.

  [Ç¥ º¸´Â ¹æ¹ý]
text-decoration Property
Value none | [ underline || overline || line-through || blink ] | Inherit
Initial none
Applies to all elements
Inherited no
Percentages N/A
Media Visual
HTML Syntax { text-decoration: sDecoration }
Scripting object.style.textDecoration [ = sDecoration ]




CSS Scripting
onDblClick="this.style.textDecoration='underline';"

ÀÔ·Â - underline °ú overline 2°³ÀÇ Àå½ÄÀ» »ç¿ëÇÑ DHTML
<HTML>
    <HEAD>
        <TITLE>text-decoration Property</TITLE>
    <STYLE type="text/css">
    <!-- 
    .UnderOver { text-decoration : underline overline; cursor : pointer;} /*¼Õ°¡¶ô ¸ð¾ç cursor*/
    .none { text-decoration : none;}
    .lineThrough { text-decoration : line-through; cursor : pointer; } /*¼Õ°¡¶ô ¸ð¾ç cursor*/
    -->
    </STYLE>
    </HEAD>
    <BODY>
        <P class="none" onMouseOver="this.className='UnderOver';" 
        onMouseOut="this.className='none';" onMouseDown="this.className='lineThrough';"
        onMouseUp="this.className='UnderOver';">
            text-decoration Property
        </P>
    </BODY>
</HTML>
Ãâ·Â°á°ú

text-decoration Property






ÀÌ ¹®¼­ÀÇ ÀúÀÛ±ÇÀº www.cadvance.org ¿¡ ÀÖ½À´Ï´Ù.

Top
Back
New
°Ë»ö