www.webdeveloper.com
Results 1 to 3 of 3

Thread: Whats wrong with it?

  1. #1
    Join Date
    Jul 2005
    Posts
    1

    Whats wrong with it?

    I am using the following HTML on a website:

    <head>
    <BODY BGCOLOR="#C0C0C0" TEXT="#0000FF" LINK="#0000FF" VLINK="#800080">
    <marquee bgcolor="C0C0C0" font color="000000"><b>Welcome to the Bainon Family House! Its under contruction*g*</b></marquee>
    </head>

    And yet this part:

    <BODY BGCOLOR="#C0C0C0" TEXT="#0000FF" LINK="#0000FF" VLINK="#800080">

    It isnt working for me. Should i be doing something different?

  2. #2
    Join Date
    Jul 2004
    Posts
    46
    Code:
    <html>
    <head>
    <style type="text/css">
    body{background-color:#C0C0C0; color:#0000FF;}
    </style>
    </head>
    <body>
    <marquee><b>Welcome to the Bainon Family House! Its under contruction*g* </b></marquee>
    </body>
    </html>
    Last edited by stymie; 07-14-2005 at 08:01 PM.

  3. #3
    Join Date
    Apr 2005
    Location
    Bathurst, NSW, Australia
    Posts
    3,357
    Your code is completely incorrect. The body goes after the head not in it. All your design (colour of text, background colour ect) should be done using CSS not in the HTML document and you shouldn't use the marquee element, it's depreciated.

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