HTML CSS Reference/HTML Attributes Reference/color

Материал из Web эксперт
Перейти к: навигация, поиск

"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>