www.webdeveloper.com
Results 1 to 2 of 2

Thread: PLEASE HELP!;Color!

  1. #1
    Join Date
    Oct 2004
    Posts
    1

    PLEASE HELP!;Color!

    Oh my goodness, all of this is Chinese to me. I need so much help. I am trying to learn by looking at View and then Source, but jeeze it's all so complicated. I have been attempting to give my site color for over an hour! I just now figured out font sizes. But color, oh man this is so frustrationg! Somebody please help me!!!

    Thanks bunches and bunches,
    KatiiBabii

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Here are the basics; the background and color have been defined in the style section.

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    <html lang="en">
    <head>
    <title>Basic HTML</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    
    <script type="text/javascript">
    <!--
    // all JavaScript here
    
    //-->
    </script>
    
    <style type="text/css">
    <!-- 
    /* cascading style sheet */
    body {
    background:beige;
    color:black;
    }
    p {
    background:chocolate;
    color:white;
    }
    -->
    </style>
    
    </head>
    <body>
    <!-- html here -->
    <h1>My site</h1>
    <p>some content here</p>
    </body>
    </html>
    and another tutorial on style

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles