10 errors left on validation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rulenoff
    New Member
    • Oct 2007
    • 5

    10 errors left on validation

    I want to thank you in advance. I was able to clean up 20 errors since iv'e last posted and now I have what I believe the right doctype loading correctly. However I have 10 errors remaining on my web site still.

    How to Make a Website with free web hosting services & cheap web hosting for ecommerce & small business hosting. Create & Make a Free Website with Affordable web hosting provider free website promotion tools & web stats. Free Website Builder, Templates, & Best Free Web Hosting. How to Create a Website


    I can't seem to figure out why these 10 lines are erroring... If someone again could point me in the right direction I'll would appricate it. My code is as follows.


    [html]
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>militi a paintball port city</title>
    <meta name="descripti on" content="Militi a Paintball Scenario Team. Based out of Wilmington, NC. We have fun 1st. Winning is a close 2nd.">
    <meta name="keywords" content="militi a,paintball,por t,city,wilmingt on,scenario,tea m">
    </head>
    <body bgcolor="black" text="white">
    <p align="center"> <b>There have been times in history where a few good men have been counted on
    to help a cause, outside of the traditional miltary role. This now holds true for paintball.</b></p>
    <EMBED SRC="speech.mp3 " height=2 width=2 autostart=true hidden=true>
    <img src="background 4.JPG" alt="Militia Stomping Ground" align="right" height="100%" width="100%">
    <DIV STYLE="position :absolute; top:460px; left:400px; width:330px; height:25px">
    <CENTER><FONT SIZE="+1" COLOR="black">W e are a band of brothers who meet in Wilmington, NC.<br> We have fun 1st. Winning is a close 2nd.</FONT></CENTER>
    </DIV>
    <DIV STYLE="position :absolute; top:200px; left:30px; width:150px; height:25px">
    <FONT SIZE="+1" COLOR="black">
    <a href="http://dixierangers.14 .forumer.com/index.php"><fon t size=4><font color="black">M ilitia Forums</font></a>
    <br><br>
    <a href="pictures. html"><font size=4><font color="black">E vent Pictures</font></a>
    <br><br>
    <a href="awards.ht ml"><font size=4><font color="black">E vent Awards</font></a>
    <br><br>
    <a href="roster.ht ml"><font size=4><font color="black">T eam Roster</font></a>
    </FONT>
    </DIV>


    </body>
    </html>[/html]
    Last edited by drhowarddrfine; Oct 29 '07, 02:23 AM. Reason: Please use code tags
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    There is no such thing as <embed>, although most browsers know what it is and work with it. You should use <object> instead. I'm just guessing the errors for the attributes are because the tag doesn't exist.

    <font size=4><font color="black">M ilitia Forums</font>
    The validator says you are missing a closing </font> tag. Do you see it?

    btw, are you familiar with airsoft? I once ran the largest airsoft game in the Midwest, The Art of War. We had around 100 players from all over the country and Canada.

    Comment

    • Rulenoff
      New Member
      • Oct 2007
      • 5

      #3
      Originally posted by drhowarddrfine
      There is no such thing as <embed>, although most browsers know what it is and work with it. You should use <object> instead. I'm just guessing the errors for the attributes are because the tag doesn't exist.

      <font size=4><font color="black">M ilitia Forums</font>
      The validator says you are missing a closing </font> tag. Do you see it?

      btw, are you familiar with airsoft? I once ran the largest airsoft game in the Midwest, The Art of War. We had around 100 players from all over the country and Canada.
      Ya man iv'e never played it but iv'e heard about it. We are into woodsball pretty big. The biggest game we have been to had 500 ppl playing with 17 tanks and mortars that could range over 100 yards. Law rockets shoting nerf footballs. pretty sweet stuff!

      Thanks for your input. I have created a new test home page. This one is almost error free!

      How to Make a Website with free web hosting services & cheap web hosting for ecommerce & small business hosting. Create & Make a Free Website with Affordable web hosting provider free website promotion tools & web stats. Free Website Builder, Templates, & Best Free Web Hosting. How to Create a Website


      However I would like to hide the music window some how, can you direct me on how to do this? Also the validator says that No Character Encoding Found! I'm not really sure how to fix this. From what iv'e read its a setting on the hosting side correct? Heres my updated code.

      [html]
      <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/html4/loose.dtd">
      <html>
      <head>
      <title>militi a paintball port city</title>
      <meta name="descripti on" content="Militi a Paintball Scenario Team. Based out of Wilmington, NC.
      We have fun 1st. Winning is a close 2nd.">
      <meta name="keywords" content="militi a,paintball,por t,city,wilmingt on,scenario,tea m">
      </head>
      <body bgcolor="black" text="white">
      <p align="center"> <b>There have been times in history where a few good men have been counted on
      to help a cause, outside of the traditional miltary role. This now holds true for paintball.</b></p>
      <object classid="clsid: 22D6F312-B0F6-11D0-94AB-0080C74C7E95">
      <param name="FileName" value="speech.m p3">
      </object>


      <img src="background 4.JPG" alt="Militia Stomping Ground" align="right" height="100%" width="100%">
      <DIV STYLE="position :absolute; top:460px; left:400px; width:330px; height:25px">
      <CENTER><FONT SIZE="+1" COLOR="black">W e are a band of brothers who meet in Wilmington, NC.<br> We have fun 1st. Winning is a close 2nd.</FONT></CENTER>
      </DIV>
      <DIV STYLE="position :absolute; top:200px; left:30px; width:150px; height:25px">
      <FONT SIZE="+1" COLOR="black">
      <a href="http://dixierangers.14 .forumer.com/index.php"><fon t size=4><font color="black">M ilitia Forums</font></font>
      </a>
      <br><br>
      <a href="pictures. html"><font size=4><font color="black">E vent Pictures</font></font>
      </a>
      <br><br>
      <a href="awards.ht ml"><font size=4><font color="black">E vent Awards</font></font>
      </a>
      <br><br>
      <a href="roster.ht ml"><font size=4><font color="black">T eam Roster</font></font>
      </a>
      </font>
      </DIV>


      </body>
      </html>[/html]
      Last edited by drhowarddrfine; Oct 29 '07, 04:26 AM. Reason: Added code tags

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Please wrap your html in code tags located as the <> button in the message box.

        For character encoding, in the <head>:
        <meta http-equiv="Content-Type" content="text/html;charset=ut f-8" >

        To make the music box invisible:
        <object style="visibili ty: hidden" ..........

        I think! I've never done this to an <object> before so let us know if it works. A potential problem is that even if it disappears, the space it occupies will not.

        Comment

        • Rulenoff
          New Member
          • Oct 2007
          • 5

          #5
          I couldn't get the hidden tag to work. I looked throughout the net and couldn't find another command that would hide the control box for the sound using <object> (doesn't mean its not out there) . If you come up with anything else let me know.

          Comment

          • brettl
            New Member
            • Sep 2007
            • 41

            #6
            I'm not sure it will work but you can try:

            <object style="display: none;".....

            Let me know if that works.

            Comment

            • drhowarddrfine
              Recognized Expert Expert
              • Sep 2006
              • 7434

              #7
              Don't ask me why I didn't suggest that. Good call Brettl.

              Comment

              • Rulenoff
                New Member
                • Oct 2007
                • 5

                #8
                You guys are the best. Thank you very much. That tag worked like a charm in hiding the control bar. I finally have 0 errors on my home page and 2 others now. I have alot of work to do on my picture site however and have alot of content to add to the site itself. I couldn't have done it without everyone's help, thanks again and I hope you enjoy you day!

                Comment

                Working...