2012-01-22, 01:58 AM
Pages: 1 2
2012-01-22, 02:00 AM
2012-01-22, 02:06 AM
Thanks, but does that site really work? Because when I tested my site, I got a lot of false positives.
2012-01-22, 02:52 AM
It does indeed work and I don't see how you could get a false positive. It's managed by the people who decided the standards themselves.
Are you choosing the correct standard that you're trying to follow?
Are you choosing the correct standard that you're trying to follow?
2012-01-22, 03:14 AM
(2012-01-22, 02:06 AM)sparkks Wrote: [ -> ]Thanks, but does that site really work? Because when I tested my site, I got a lot of false positives.
Your website does have errors.
For example, you forgot to close h1 tag in the following code.
Quote:<h1>Sparkks' Network</h1
you missed a > after </h1
Also, your code is XHTML so you should close <br> tags. So, instead of <br> you should use <br />
Inside "<div class="menu-l">" you opened three span classes but only closed 2. Add one more </span> before </div>
Also, in footer you opened <center> before the two DIV's, so, you should close center only after the two DIV's are closed.
So, </div></center></div> should be </div></div></center>
If you use firefox, try HTML Validator addon.
2012-01-22, 03:17 AM
(2012-01-22, 03:14 AM)kavin Wrote: [ -> ](2012-01-22, 02:06 AM)sparkks Wrote: [ -> ]Thanks, but does that site really work? Because when I tested my site, I got a lot of false positives.
Your website does have errors.
For example, you forgot to close h1 tag in the following code.
Quote:<h1>Sparkks' Network</h1
you missed a > after </h1
Also, your code is XHTML so you should close <br> tags. So, instead of <br> you should use <br />
Inside "<div class="menu-l">" you opened three span classes but only closed 2. Add one more </span> before </div>
Also, in footer you opened <center> before the two DIV's, so, you should close center only after the two DIV's are closed.
So, </div></center></div> should be </div></div></center>
If you use firefox, try HTML Validator addon.
Actually, he shouldn't use <center> at all. It's deprecated.
2012-01-22, 06:00 AM
Well, for one, that's not the site I'm using.
I'm talking about the forum.
I'm talking about the forum.
2012-01-22, 07:11 AM
(2012-01-22, 03:17 AM)WebOutfit Wrote: [ -> ]Actually, he shouldn't use <center> at all. It's deprecated.
yup. Forgot to mention that.
(2012-01-22, 06:00 AM)sparkks Wrote: [ -> ]Well, for one, that's not the site I'm using.
I'm talking about the forum.
You mean this forum?
http://forum.sparkks.net/
If yes, then it has errors too.
2012-01-22, 07:30 AM
(2012-01-22, 07:11 AM)kavin Wrote: [ -> ]You mean this forum?
http://forum.sparkks.net/
If yes, then it has errors too.
It's all false. I check the errors and they are incorrect.
2012-01-22, 07:50 AM
If http://forum.sparkks.net/ is the site you're trying to validate, all of the errors I see are correct, though sometimes there are multiple errors for a single thing. In XHTML there is no such thing as the <marquee> element. You'll have to use JS and CSS to re-implement it. I don't know why you have a <meta> in your welcomeblock template when it must be in the headerinclude template, same with the CSS link right after. <center> is no longer available, use <div style="text-align: center;"> or something similar. Tags without a matching close tag (such as <img> and <br>) must be closed with /> instead of just >. Images must (for some reason) have an 'alt="???"' (even if ??? is nothing).
These are most of the errors, and as far as I can tell are mostly due to forgetting that HTML4.1 is not XHTML1.0 that MyBB uses. There are a few more but once you've fixed these it'll be a lot easier to go through.
These are most of the errors, and as far as I can tell are mostly due to forgetting that HTML4.1 is not XHTML1.0 that MyBB uses. There are a few more but once you've fixed these it'll be a lot easier to go through.
Pages: 1 2