Results 1 to 4 of 4

Thread: How to put html tag to color text

  1. #1
    Join Date
    May 2008
    Posts
    248

    How to put html tag to color text

    Set your default font-color in the body rule, it's just as simple to add a background image to the webpage all that needs to be done is add the background attribute to the body tag <body bgcolor=#0099FF text="#FFFF00" background="bluetile.jpg"> I knew about custom extensions, just didn't know you could manipulate IIS to treat HTML files as ASP files.

  2. #2
    Join Date
    Mar 2008
    Posts
    258

    Re: How to put html tag to color text

    You can use the "typeof()" method. It will return the string "object" for object type values. One note of caution: a Null will also return the string "object" Going back to the statement in your original paragraph, you CAN check to see if an object is valid by doing this...Since JavaScript is not a strongly typed language and in fact every object descends from the isObject type.

  3. #3
    Join Date
    Dec 2008
    Posts
    183

    Re: How to put html tag to color text

    This method will check if the passed variable is an Object. SAPO.Utility.Variable.isObject(variable). To change the color of any particular alphabet, word, sentence insert the HTML tag <font color="color-name-here"> * before the first letter of the particular text and an </font> after the last letter of the text to be colored. Also, AJAX applications often return bad data because lot can go wrong with the request and server-side code execution.

  4. #4
    Join Date
    Jan 2009
    Posts
    99

    Re: How to put html tag to color text

    To create a class in your css, use this .subtitle { color: #000000; } You can also change the font color. The common colors being red, green, cyan, brown, black, white, yellow, grey etc.

    <BODY>
    <FONT COLOR="red">Hello World</FONT>
    </BODY>

    These tags make the text between them change to the color specified. <p style="color:red"> Type the text to be in red colour </p> You can also put all this effect using one tag.
    &lt;p style="font-size:20px;family:Calibri;color:red"&gt; Type the text to be in Calibri and red colour and with 20 pixel size &lt;/p&gt;

Similar Threads

  1. HTML Color Codes
    By Sonia G in forum Software Development
    Replies: 4
    Last Post: 27-03-2010, 05:58 PM
  2. Change html image border color
    By Mind It in forum Software Development
    Replies: 8
    Last Post: 09-10-2009, 08:47 AM
  3. How to put background color for html cell
    By Preetish in forum Software Development
    Replies: 3
    Last Post: 07-08-2009, 03:32 PM
  4. How to use justified text in Html
    By Quattro in forum Software Development
    Replies: 3
    Last Post: 27-07-2009, 03:16 PM
  5. How To Know HTML Code of a Color ?
    By ALEXANDRO in forum Customize Desktop
    Replies: 4
    Last Post: 06-03-2009, 06:59 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,064,416.48154 seconds with 16 queries