on air

HTML <body> Color Attributes.

back home » webtutorials » HTML » HTML <body> Color Attributes.


Scenario.

Since the release of HTML 4.01 / XHTML 1.0, most HTML attributes are deprecated, and has lost their support in some <!DOCTYPEs> DTD. Some deprecated attributes are still supported in all major browser. However, using CSS will enable you achieve the required effect, and full support in HTML 4.01 Strict / XHTML 1.0 Strict DTD.

Looking Forward.

In the illustrations below you'll find the deprecated HTML color attributes.

This is well explained to beginner's understanding. Plus, links to alternative CSS version, that provides full doctype support for the background-color, text-color, and the hyperlinks colors [pseudo-class].

Deprecated HTML Versions.

Null support in HTML 4.01 Strict / XHTML 1.0 Strict DTD.

bgcolor.

The <body> bgcolor attribute defines background color for an HTML document.

<html>
<body bgcolor="black">
<p><a href="https://ghanachild.com">GhanaChild Home</a>
</p>
</body>
</html>

text color.

The <body> text attribute defines text color for an HTML document.

<html>
<body text="black">
<p>Hello World, I'm a gray text and belongs to
<a href="https://ghanachild.com">GhanaChild</a> Fonts.
</p>
</body>
</html>

link color.

The <body> link attribute defines a standard unvisited link color for an HTML document.

<html>
<body link="blue">
<p><a href="https://ghanachild.com">GhanaChild</a>
</p>
<p><a href="https://ghanachild.com/contact.php">Contact</a>
</p>
</body>
</html>

vlink color.

The <body> vlink attribute defines the standard visited link color for an HTML document.

<html>
<body vlink="red">
<p><a href="https://ghanachild.com">GhanaChild</a>
</p>
<p><a href="https://ghanachild.com/contact.php">Contact</a>
</p>
</body>
</html>

alink color.

The <body> alink attribute defines the standard active link color for an HTML document.

<html>
<body alink="yellow">
<p><a href="https://ghanachild.com">GhanaChild</a>
</p>
<p><a href="https://ghanachild.com/contact.php">Contact</a>
</p>
</body>
</html>

Check out the alternative CSS examples that could be used in replace of the above HTML attributes. You'll use the pseudo-classes for the hyperlink format, and the color properties for the text and bgcolors.

These could be used to achieve the required results perfectly and also will provide the full support of HTML 4.01 Strict / XHTML 1.0 Strict DTD.

HTML Basic Tree structure

Clicks4UrMind

Man will give you worldly powers, and make you feel on top of all, note this is temporally and could be redrawn at anytime sending you back to the ground floor of life. However, the Lord Almighty, the one and the only rightful ruler of the Universe, blesses everlastingly.

Brain

Knowledge is Power, but Power is not Knowledge. Wisdom is the truthful Power that identifies the Knowledge within the man. And only, I repeat 3x. Only the almighty God has the power to bless the man with his Wisdom forever.

To achieve the Lord's blessings, cease not praying daily, asking for his Wisdom, and you'll be blessed abundantly...

SPYERA PHONE

Spyera Phone

Spyera Phone version is software that you install on a smart phone to monitor everything happening on the phone. After installation, SPYERA secretly records events (sms, call history, phone book, location, emails, What's App messages, IM, Facebook Chat, Skype, See photos taken and many more...) that happen on the phone and delivers these information to a web account, where you can view these reports 24/7 from any Internet enabled computer or mobile phone. SPYERA also allows you to listen to the surroundings of the target mobile , listen to the phone conversation and to know the location of the device.


Please, Kindly Donate What You Can, Enabling Us Pay Hosting And Domain Costing, And Do More.

Please Donate