472,958 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 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 1388
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

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

Similar topics

12
by: StardogChampion | last post by:
I have wittled down my errors from 12 to 2, but the 2 it shows i can't really do anything about. 1. Line 126, column 48: there is no attribute "COLOR" <td height="1" colspan="5"><hr size="1"...
2
by: Sudip Chakraborty | last post by:
Is there a way to see constraint validation errors while loading xml into a DataSet ? I'm interested in the line number in the xml file which is causing the error. I've enclosed the relevant stack...
2
by: Stephen Miller | last post by:
Can the CustomValidator be used to simply report unexpected errors, without requiring Client/Server validation? To explain, say you had a simple text box and button that did a Full-text Search of a...
1
by: Chris Lieb | last post by:
I have an XML Schema file that I know is correct becuase I currently use it in a VB6 program to validate XML documents. Also, if I load an XML file into VS2005 that is not valid against this...
20
by: ridergroov | last post by:
I had this message previously in another group and I was told to try here. Hopefully someone can help out. Site was created in Dreamwaver MX 04 and I cna't figure out why there are so many errors...
8
by: Phil Latio | last post by:
I've been creating an application over the last few weeks and generally pleased with what I have produced but one area is irritating me, form validation. At the moment the forms are simply...
7
by: jimrich | last post by:
Hi, using firefox browser and have a FrontPage built site: www.irenezart.com. used W3C markup validation service which came up with lots of errors in my index page. then I changed the doctype...
3
by: hardieca | last post by:
Hi, I've created an n-tier app where validation rules reside in the business layer. When a webform is saved, a business object examines its state, and if some property is invalid, throws a...
2
by: Shelly | last post by:
I succeeded in putting up a datalist with thumbnails, four to a row. I put the height and width in the rows and invoked them in the aspx file with: <asp:Image ID="Image1" runat="server"...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.