HTML Body tag use to define body content of the web page. HTML Body tag use to define body content of the web page. The body tag already consists with all of the text, tables, hyperlinks, images, lists, and video also. We can use the entire above mentioned object inside of the <body> tag with number of other attributes.
We can use following attributes with HTML body tag.
Body bgcolor :- Determine background color of the documents
Body Background:- Determine background image for a document.
Body alink:- Determine color of an active link in a web page
Body vlink:- Determine color of visited links in a web page
Body link:- Determine color of unvisited links in a document
Body Text:- Determine color of the text in a web pages
Example :-
Define Body Background Color
With the million of colors we can choose any background colors to your web page. This colors are represent of hexadecimal numbers and starting with a # sign also all of the Hexadecimal values are represented as 3 pairs of two-digit numbers. The Hexadecimal color combination comes with main three color of Red, Green and Blue.
Color Name | Color | Color Code | Color Name | Color | Color Code |
---|---|---|---|---|---|
Red | #FF0000 | Black | #000000 | ||
Green | #00FF00 | Yellow | #FFFF00 | ||
Blue | #0000FF | White | #FFFFFF |
Output Document
No comments:
Post a Comment