JavaScript Programmer’s Reference BODY.link (Property) The color of (Shared web hosting)

JavaScript Programmer’s Reference BODY.link (Property) The color of an as yet unvisited link in the page. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Property/method value type: String primitive JavaScript syntax: -myBODY.link This value controls the text of active links in the document body. You should use the normal color values to define the required color. This property is equivalent to the LINK attribute of the HTML tag. This is the color that is used for as yet unvisited links. Now that the style control facilities are more sophisticated, this tag attribute is likely to fall into disuse. Note also that its property name is not consistent with its counterpart, the document.linkColor property whose value it reflects. BODY.aLink,BODY. text,BODY.vLink, Color names,Color value, Document.alinkColor, Document.bgColor, Document.fgColor, Document.linkColor, Document.vlinkColor, HTML object See also: BODY.noWrap (Property) A switch to control whether text should wrap or not within the page. Availability: JScript 3.0 Internet Explorer 4.0 Property/method value type: Boolean primitive JavaScript syntax: IE myBODY.noWrap This is a Boolean value that controls whether the textual content is wrapped at the right-hand window border or not. If the value falseis assigned to this property, then words will wrap as the page is drawn. This is the way you would expect a browser to behave. The text will flow according to the space available. If the value true is assigned to this property, the line of text will continue to the right until a
or other block level tag is encountered. This will force the horizontal width of the page to extremely large and the user will need to scroll furiously to be able to see the text and then scroll back again for the start of the next line.

Leave a Reply