LeBron 11 Blue White Nike KD VI gamma jordan 11
CodeAve.com CodeAve.com - CSS - Text Display
ASP
JavaScript
CSS
·Basics
·Page Display
·Text Display
·Script Writers
·Contents
·What's New?
HTML
Maps
Links
Mail List
Search
Sitemap


 

  • Retro 3 jordans
  • Jordan 13 retro
  • Nike free 5.0

  • Text Background Color
  • Nike free run 2 pink
  • Nike free 5.0 kids
  • Oakley sunglasses discount
  • Just like a used textbook CSS enables you to place a background color or highlight behind text within a webpage. The behavior of the background color will depend on the tag you associate the background color command to. 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. Please note, most browser default settings come set to not display background colors when printed, so you’re highlight may "disappear" when printed.
    View the Output
    Text View
    Print View
    Mail this Link
    Download the Code

    <html>
    <head>
    <title>CodeAve.com/CSS - Text Background Color</title>
    <style type="text/css">
    <!--
    p {background-color: #FFFF66}
    /* Setting the paragraph tag with a background-color attribute
    will change the background color of all the text between paragraph 
    tags to another color (in this case yellow) */
    -->
    </style>

    </head>

    <body>
    <p>
    The background of the entire text field has been set to yellow
    </p>

    <br>
    <!-- This ia an inline example of coloring 
    the background of only selected text -->
    The background of only <span style="background-color: #FFFF66">selected text</span> 
    has been set to yellow


    </body>
    </html>

     

     

     



    ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
    Server Variables | Response Objects | Random Events | Miscellaneous
    HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
    JavaScript: Document Info | Forms | Images | Navigation | Script Writers
    CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2014 CodeAve.com
    All Rights Reserved

  • Air jordan 11 low
  • New Balance 996
  • Ray ban vintage sunglasses