Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Interview-Questions HTML document's background color

Have Programming Question? Ask it here!
 
 
 


samar
HTML document's background color
2 Answer(s)      3 years and 9 months ago
Posted in : JSP-Interview Questions


How to set a HTML document's background color?


Advertisement
View Answers

November 9, 2010 at 12:31 PM


You can set the background color of a html document using java script as follows.

<script type="text/javascript">
document.body.bgColor="purple";
</script>


December 3, 2010 at 4:39 PM


Hi, You can go through www.w3schools.com for the HTML tutorial.

Thanks,



Related Tutorials/Questions & Answers:
HTML document's background color
HTML document's background color  How to set a HTML document's background color
div background color in html
div background color in html   How to change the background color of DIV in HTML
Advertisements
HTML - table background color.
HTML - table background color. Description : Here, you will see how to specifies the table back ground color in html page. The <table > is a html... the background color of table.  Code : <!DOCTYPE html PUBLIC "
uiscrollview background color
uiscrollview background color  Is it possible to set the uiscrollview background color in iPhone application
UITextfield Background Color
is ..it's showing a background color. Though my text field color is white. Can you please suggest.. , how can i remove the background color of text field. Thanks!   iPhone UITextField Background Color Set the text field background color
changing uiview background color
changing uiview background color  changing UIView background color in ios   self.view.backgroundColor = [UIColor colorWithRed:244.0f/255.0f green:230.0f/255.0f blue:183.0f/255.0f alpha:1.0f
jframe background color not showing
jframe background color not showing  jframe background color is not showing. please suggest.   Just add the background color to JPanel and then add it to JFrame. For example .. JFrame myFrame = new JFrame(); JPanel
HTML document
HTML document  How do I link to a location in the middle of an HTML document
pdf background color
pdf background color      ... the background of the pdf file as well as the size of a pdf file irrespective of the fact... the background of the pdf file which you have built. To make a program over
changing Background Color
changing Background Color   ... change background color of a pdf file. You can change the background color... color) to set the background color of that chunk. Here we pass
Set Background Colors and Images in HTML
to set a background color in HTML. In this Tutorial, the code describe you an example that helps you to set background color in HTML. The code begin...;bgcolor> in HTML depicts you the color background of web page.    
Changing background color using JavaScript
Changing background color using JavaScript  Hi Sir Is there any way to change the background color using JavaScript ? Please mention code with your... below function to change the background color & call it wherever it needed
include' a HTML document in another document.
include' a HTML document in another document.  I'm trying to `include' a HTML document in another document...Is there a way to do
Javascript background color - Java Beginners
Javascript background color  Hi How to compare background color...; Hi Friend, If you want to change the background color of the textbox, try the following code: Change background Color function check
UIWebView Background Color
UIWebView Background Color If you wanted to change the background color on UIWebView in iPhone SDK, then you required to set the background color of UIWebView...). Where as setBackgroundColor will allow you to change the color of background area
HTML background images
HTML background images  How can I specify background images
picture in background in a HTML
picture in background in a HTML  How is picture displayed in background in a HTML
How to set the Gradient Color as a background color for Java Frame?
How to set the Gradient Color as a background color for Java Frame?  How to set the Gradient Color as a background color for Java Frame
UITableView Background Color
UITableView Background Color To change the background color of UITableView...]; The above line will change the default background color into gray color. You can... Selected Background Color UIImageView *selectedBackground = [[UIImageView
Change background color of text box - Java Beginners
Change background color of text box  Hi how can i change the background color to red of Javascript text box when ever user enters an incorrect value while on entering a correct value its background color should change green
Html framed document
Html framed document  How do I change the title of a framed document
HTML Color Code for White
HTML Color Code for White In this page you will find the hexadecimal color.... For most website white color is used as the background of the web page... at HTML color codes page
how to color the Eclipse editor background programmatically?
how to color the Eclipse editor background programmatically?  I have to color specific portion(background) of the of the Eclipse editor by running... as start line number and end line number and do the color in background portion
JavaScript change background color automatically
JavaScript change background color automatically In this section, you will learn how to change the background color of the web page automatically. Now... the background color after every 5 seconds. Here is the code
how to change div background color in javascript
how to change div background color in javascript  how to change div background color in javascript ?   <div id="Name">   <div class="content">      <h2>Your Name here</h2>       <p>First
Java Servlet Change Background Color
Java Servlet Change Background Color You can provide an effective way to the web page by changing the background color of the web page. In servlet, you can do this by using javascript. Here, we are going to change the background color
Background color blocks all labels and textfields
Background color blocks all labels and textfields  I added background color but I dont see textfields and labels anymore, please help. What am I missing? (" JFrame f = new JFrame(); SchoolOption f1 = new SchoolOption(); Color c
How to set iText pdf document background image - Java Beginners
How to set iText pdf document background image  Hi, I have created the pdf document using the iText classes. but i need to set the background image for this pdf document. there is way to set the background color, but i
Add color to background but I can't labels or textfields
Add color to background but I can't labels or textfields  Please help... = new JFrame(); SchoolOption f1 = new SchoolOption(); Color c = new Color(128,0,0); Container con = f.getContentPane
how to change background color in dojo tab container - Framework
how to change background color in dojo tab container  how to change background color in dojo tab container
how to create menubar and the below background color/image in java swing
how to create menubar and the below background color/image in java swing  how to create menubar and the below background color/image in java swing
Change Background color using Custom Tag
Change Background color using Custom Tag In this program, We will create a Custom Tag which changes the background color. JSP Custom Tags : Provide... : In this Example, We will create a Custom Tag which changes the background color
HTML Color Code for purple
HTML Color Code for purple In this page you will find the hexadecimal color.... HTML Purple color is of two types: Dark Purple Light Purple Here... at HTML color codes page
HTML color codes
HTML Color Codes In this tutorial we will show you how to get the different color codes for designing your HTML pages. You will be able to find the  hexadecimal color code by color name. We have also provided the tool to create
HTML Color Codes
:5px 0px 5px 5px; } HTML Web color codes In this page we have created a list of most used HTML Web color codes. We have shown the color in the background of the table row. You can use copy the color code and use in your website
Send email as html with embedded images as background
Send email as html with embedded images as background  Hi, I am developing a PHP mailing application. I have to send image in the email as attachment. Give me solution for sending image in the email data. Thanks
How to set pdf background color.
How to set pdf background color. In this example, you will see how to set back ground color of pdf in struts2.  index.jsp <html> <...)); Document document = new Document(pageSize); ServletContext
Use Velocity to generate HTML document
Use Velocity to generate HTML document       This Example shows you how to generate HTML... value and use these variable to generate HTML document      
HTML Document Creation
. * BGCOLOR-Sets the background color of the document. * BACKGROUND-Designates... HTML Document Creation      ... tags provided by HTML allow the document to provide a more visually appealing
background
background  how to add image as background to a frame
Filling Color in Excel Using JSP
a sheet  and then  fill background color ,pattern and forground color... is used to fill the background color. You can be used the following fields... and background color .Then at last we add the style sheet into cellls and finally we add
Styles in HTML
the entire text of a HTML document to one style(e.g., color), we use the following code...; The Style in HTML is used to format the html document with required style...; of the Document will be in <br>yellow color </body> </html>
how to save web pages in a partcular document in html format using java.. - Java Beginners
how to save web pages in a partcular document in html format using java..  i have to save a particular web page in a folder in html format using java. the url will be the input of the program. the program when run will first
How to make a chrome background, make a chrome background, chrome background
background so follow all the steps as given in this example. New Document: First take a new document with any color background and fill "White" color... How to make a chrome background     
HTML
HTML  What is BODY in HTML document
How to design a background, design a background, a background
color: First set the foreground and background color. Clouds: Go to Filter menu... How to design a background       If you don't have background, don't worry because you will learn here
html
html  i want a registration page in html with good background
Advertisements
 

 

 

DMCA.com