Thursday 5 September 2013

Tutorial 05 - HTML Body Tag

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

Check following example do it again. (Click on images to enlarge)


Output Document


No comments:

Post a Comment

2022 OL මාර්ගගත ප්‍ර්‍රශ්න පත්‍ර්‍ර්‍ර එකතුව

ණැන පියස අ.පො.ස සාමාන්‍ය පෙළ විභාගයේ පසුගිය ප්‍රශ්න පත්‍රවල කෙටි ප්‍රශ්න- මාර්ගගත පුනරීක්ෂණ අභ්‍යාස මාලාව