HTML CSS Reference/HTML Attributes Reference/color

Материал из Web эксперт
Версия от 11:20, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"color" Example

   <source lang="html4strict">
   

<HTML> <head> <Title>Example For color</Title> </head> <BODY>

Text

</BODY> </HTML>


     </source>
   
  


color is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<basefont> |

| |
|

+----------------+--------------------------------------------------------------+

     </source>
   
  


"color" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the color of the text. Its value is either a color name or a hexadecimal color value using the "#RRGGBB" method.

Syntax:

<element color="value"> . . . </element>


     </source>