Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 29-07-2009
Member
 
Join Date: Oct 2008
Posts: 100
How to set html text background

Can anyone tell me how to Highlight HTML Text With BACKGROUND-COLOR, I heard that it is Highly customizable with HTML / XML driven news list with custom scrolling and coloring effects. and for that i have decided to use Flash 8 / Flash CS3 and above / ActionScript 2.0 version. Does it work please give your suggestion.
Reply With Quote
  #2  
Old 29-07-2009
Member
 
Join Date: Mar 2008
Posts: 258
Re: How to set html text background

Background Color in html can be set using the css property background-color. On the printed page, people are accustomed to seeing portions that have been marked by a highlighter. The behavior of the background color will depend on the tag you associate the background color command to. You can achieve the same effect on your Web page using a Style attribute and BACKGROUND-COLOR.
Reply With Quote
  #3  
Old 29-07-2009
Member
 
Join Date: Mar 2008
Posts: 192
Re: How to set html text background

In this example we show backgrounds for the <span> and <p> tags, note that the <p> tag highlights the whole block and not just the specific text.

<HTML>
<HEAD>
</HEAD>
<BODY>
<P bgcolor= "yellow" border=0>The due date is <FONT
style="BACKGROUND-COLOR: yellow">next </FONT>week.</P>
</BODY>
</HTML>

Netscape Navigator and Internet Explorer support the background color style.
Reply With Quote
  #4  
Old 29-07-2009
Member
 
Join Date: Nov 2008
Posts: 74
Re: How to set html text background

Flash Text Scroller Wizard is a tool that allows you to design your text scroller in a few minutes and instantly see the results. It accepts values in two formats You can achieve the same effect on your Web page using a Style attribute and BACKGROUND-COLOR. For example, this HTML code inserts a yellow background on the word "next".

a)color name
b)#xxyyz where xx,yy,zz points to hexadecimal values of red,green,blue
c)transparent background can also be set in css.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to set html text background"
Thread Thread Starter Forum Replies Last Post
Creating input text with background image in HTML Measurer Software Development 4 23-12-2009 10:13 PM
How to Set table with Html Background? Aakarshan.d Software Development 3 26-11-2009 01:22 PM
How to set the javascript gradient background in HTML DarenHawk Software Development 3 18-08-2009 01:37 PM
How to put background color for html cell Preetish Software Development 3 07-08-2009 03:32 PM
Flash as HTML background Gap meer Software Development 3 23-04-2009 10:33 PM


All times are GMT +5.5. The time now is 10:12 AM.