国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

テキスト形式


#テキストの色

color プロパティは、テキストの色を設(shè)定するために使用されます。

# 色は CSS 経由で指定するのが最も一般的です:

  • # 16 進(jìn)値 - 例: #FF0000

  • #RGB 値 - 例: RGB(255,0,0)

  • ##Color 名前 - など: red
テキストの配置


テキスト配置プロパティは、テキストの水平方向の配置。

テキストは中央揃えにしたり、左右に揃えたり、両端を揃えたりすることができます。

text-align が「justify」に設(shè)定されている場合」では、各行が同じ幅に拡大され、左右の余白が揃えられます(雑誌や新聞のように)。

#テキスト裝飾


text-decoration プロパティは、テキスト裝飾を設(shè)定または削除するために使用されます。

#デザインの観點(diǎn)から見ると、text-decoration 屬性は主にリンクの下線を削除するために使用されます (右の例)。次のようにテキストを裝飾することもできます:

h1 {テキスト裝飾:上線;}

h2 {テキスト裝飾:ラインスルー;}h3 {テキスト裝飾:下線;}

# #Rendering:



Text Transform

1.jpg


text-transform 屬性は次のとおりです。テキストの大文字と小文字でコンテンツを指定するために使用されます。


は、すべての単語を大文字または小文字にしたり、各単語の最初の文字を大文字にしたりするために使用できます。

例:

p.uppercase {text-transform:uppercase;}/* すべて大文字*/p. lowercase {text-transform : lowercase;}/* すべて小文字*/

p.capitalize {text-transform:capitalize;}/* 最初の文字を大文字にする*/

テキスト インデント



#text-indent 屬性は、テキストの最初の行のインデントを指定するために使用されます。

#例: 1 行目のインデント 50px

##p {text-indent:50px;}

學(xué)び続ける
||
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文網(wǎng)(php.cn)</title> <style> h1 { text-align: center; text-transform: uppercase; color: #A7C942; } p { text-indent: 50px; text-align:justify; letter-spacing:3px; } a { text-decoration:none; } </style> </head> <body> <h1>text formatting</h1> <p>This text is styled with some of the text formatting properties. The heading uses the text-align, text-transform, and color properties. The paragraph is indented, aligned, and the space between characters is specified. The underline is removed from the <a target="_blank" href="#">"嘗試一下"</a> link.</p> </body> </html>
提出するリセットコード