text (body element)

Jump to: navigation, search

text (body element)

This article is Not Ready.



Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.


Applies to  ?

Examples

View live exampleThis example uses the text property to change the text color of the body.

<BODY ID="oBody">
:
<BUTTON onmouseover="oBody.text='green'">GREEN</BUTTON>
<BUTTON onmouseover="oBody.text='red'">RED</BUTTON>
<BUTTON onmouseover="oBody.text='blue'">BLUE</BUTTON>

Notes

Remarks

Some browsers do not recognize color names, but all browsers should recognize RGB color values and display them correctly.

Syntax

Standards information

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

  • body

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]