471,627 Members | 1,075 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

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.

http://www.portcitymilitia.150m.com/

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>militia paintball port city</title>
<meta name="description" content="Militia Paintball Scenario Team. Based out of Wilmington, NC. We have fun 1st. Winning is a close 2nd.">
<meta name="keywords" content="militia,paintball,port,city,wilmington,sc enario,team">
</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="background4.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">We 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"><font size=4><font color="black">Militia Forums</font></a>
<br><br>
<a href="pictures.html"><font size=4><font color="black">Event Pictures</font></a>
<br><br>
<a href="awards.html"><font size=4><font color="black">Event Awards</font></a>
<br><br>
<a href="roster.html"><font size=4><font color="black">Team Roster</font></a>
</FONT>
</DIV>


</body>
</html>[/html]
Oct 29 '07 #1
7 1160
drhowarddrfine
7,435 Expert 4TB
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">Militia 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.
Oct 29 '07 #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">Militia 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!

http://www.portcitymilitia.150m.com/test.html

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>militia paintball port city</title>
<meta name="description" content="Militia Paintball Scenario Team. Based out of Wilmington, NC.
We have fun 1st. Winning is a close 2nd.">
<meta name="keywords" content="militia,paintball,port,city,wilmington,sc enario,team">
</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.mp3">
</object>


<img src="background4.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">We 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"><font size=4><font color="black">Militia Forums</font></font>
</a>
<br><br>
<a href="pictures.html"><font size=4><font color="black">Event Pictures</font></font>
</a>
<br><br>
<a href="awards.html"><font size=4><font color="black">Event Awards</font></font>
</a>
<br><br>
<a href="roster.html"><font size=4><font color="black">Team Roster</font></font>
</a>
</font>
</DIV>


</body>
</html>[/html]
Oct 29 '07 #3
drhowarddrfine
7,435 Expert 4TB
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=utf-8" >

To make the music box invisible:
<object style="visibility: 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.
Oct 29 '07 #4
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.
Oct 29 '07 #5
brettl
41
I'm not sure it will work but you can try:

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

Let me know if that works.
Oct 29 '07 #6
drhowarddrfine
7,435 Expert 4TB
Don't ask me why I didn't suggest that. Good call Brettl.
Oct 29 '07 #7
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!
Oct 29 '07 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

12 posts views Thread by StardogChampion | last post: by
2 posts views Thread by Sudip Chakraborty | last post: by
2 posts views Thread by Stephen Miller | last post: by
3 posts views Thread by hardieca | last post: by
2 posts views Thread by Shelly | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.