HTML CSS Reference/HTML Attributes Reference/text

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

"text" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For Text</Title></head> <BODY> <body id="myBody" bgcolor="#EEEEEE" text="#bbbbbb"> </BODY> </HTML>


     </source>
   
  


text is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<body> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"text" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the text color in the <body> section. Its value is either a color name or a hexadecimal color value using the "#RRGGBB" method.

Syntax:

<body text="value"> . . . </body>


     </source>