HTML CSS Reference/HTML Attributes Reference/link

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

"link" Example

   <source lang="html4strict">
   

<HTML> <head> <Title>Example For Link</Title> </head> <body link="#ff0000" bgcolor="#EEEEEE" text="#000000"> <a href="http://www.wbex.ru">Some interesting web page</a> </body> </HTML>


     </source>
   
  


link is applied to

   <source lang="html4strict">

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

     </source>
   
  


"link" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the color of all links in an HTML document. Its value is either a color name or a hexadecimal color value using the "#RRGGBB" method.

Syntax:

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


     </source>