Body tag, PHP Web Programming

Assignment Help:

If you have a head, you required a body. All of the content to be displayed on the web page needs to be written within the body tag.  So whether text, textbox, headlines, checkbox or any other possible content, everything to be displayed should be kept within the BODY tag as illustrated in Figure

Whenever you make a modification to your document, just save it & hit the Reload/Refresh button on your browser. In some of the instances just hitting the Reload/Refresh button doesn't quite work. In that case hit Reload/Refresh whereas holding down the SHIFT key.

The BODY tag has given attributes:

a.   BGCOLOUR: This can be used for altering the background color of the page. By default the background color will be white.

b. BACKGROUND: This is used for denoting the image to be displayed in the background of the page.

c.   LINK: It denoted the color of the hyperlinks that have not been visited or clicked on.

d. ALINK: It denotes the color of the active hyperlink. An active link is one on which the mouse button is pressed.

e.   VLINK: This indicates the color of the hyperlinks after the mouse is clicked onto it.

f.   TEXT: It is utilized for indicating the color of the text displayed on the page.

Example:

<HTML>

<TITLE> My HOME PAGE</TITLE>

<BODY      BGCOLOUR="  #FFC0CB

 "        TEXT = "#FF0000"> HELLO WORLD!

</BODY>

 </HTML>

2166_BODY Tag.png

Figure: A Web Page with a Background Color

The values indicated for BGCOLOUR and TEXT tags mention the cooler of the background of the page & that of the text respectively. These are indicated in hexadecimal format. The range of permissible values in this format is from "#000000" to "#FFFFFF". The"#" symbol needs to precede the value of the color so as to denote to the browser that need to be interpreted as a hexadecimal value. In this six digit value, the primary two digits indicate the concentration of the color red, the next two digits indicate the concentration of the color green & the last two digits indicate the concentration of the color blue. Thus the value is a combination of the primary colors red, green & blue and that is why this is called RGB color. If we indicate the value "#FF0000", the color seems to be red."#000000" gives black & "#FFFFFF" gives the color white. You also contain the alternative of specifying the color by giving its name, such as:

<BODY TEXT = "WHITE">.

You can also indicate a background image instead. (Note that the image must be in the similar folder as your HTML file.).

<HTML>

<BODY BACKGROUND="swirlies.gif">  Hello!

</BODY>

</HTML>

2166_BODY Tag.png

Figure: A Web Page with an Image in the Background


Related Discussions:- Body tag

Need help in wordpress plugin, Need help Wordpress Plugin WP Conversion ...

Need help Wordpress Plugin WP Conversion Tracker & List Building Feedback I have comprised all files, mockups and a video for further explanation. Desired Skills are MySQL

Seeking to create websites and seo, Looking to create websites and SEO (Par...

Looking to create websites and SEO (Partnership) We want a Team of Web Development, Designing as well as SEO for Profit sharing partnership. Please read the full explanation

We want a very skilful wp theme bug fix, WordPress theme bug fix We inst...

WordPress theme bug fix We installed a bought WP theme It was working acceptable at the beginning Most probable for the reason that of WP upgrades or other plugin upgrades

I need help in crowd funding website, Crowd Funding Website We would lik...

Crowd Funding Website We would like to identical a site, with exact features, functionality and details. Let us know if you need more details. Desired Skills are PHP, Web

Dial-up connection, O ne of the commonest ways of connection to Internet is...

O ne of the commonest ways of connection to Internet is by dial up connection via a modem & a telephone line. Using these you can link to a host machine on the Internet. Once linke

Need help rtl open cart without payment model, RTL Open Cart without paymen...

RTL Open Cart without payment model I want the following for a client- 1) Open Cart store 2) User must be logged in to make an order (obviously), but- 3) No Payment mod

Need to make responsive website, Need to make RESPONSIVE WEBSITE NEEDED- Ad...

Need to make RESPONSIVE WEBSITE NEEDED- Adjustments to existing site I presently have a website template with a company called Bludomain. I need to host with another company as

Input text field, The field size attribute determines the width of the disp...

The field size attribute determines the width of the displayed field. The maxlength attribute sets a limit on the maximum number of characters that can be typed in the field (whic

Need help to create magento mobile theme, Need help to create Magento mobil...

Need help to create Magento mobile theme I have added in magento iphone theme as well as it needs to cleaning up. Ensure you have iphone/android phone with network to see the ac

I want a simple wordpress blog, Wordpress blog I want a simple Wordpress...

Wordpress blog I want a simple Wordpress blog with the ability to upload articles in addition pics by myself. It want to be something like that - beside the articles I need sect

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd