Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Signup for Free!
-More Features-
-Far Less Ads-
About   Users   Help
Users & Guests Online
On Page: 1
Directory: 2 & 86
Entire Site: 4 & 908
Page Staff: pokemon x, pennylessz, Barathemos, tgags123, alexanyways, supercool22, RavusRat,
04-24-24 01:54 PM

Thread Information

Views
903
Replies
7
Rating
0
Status
CLOSED
Thread
Creator
BNuge
02-08-12 07:37 PM
Last
Post
catfight09
04-15-12 04:08 AM
Additional Thread Details
Views: 148
Today: 0
Users: 0 unique

Thread Actions

Thread Closed
New Thread
New Poll
Order
 

Need Some Coding Help

 

02-08-12 07:37 PM
BNuge is Offline
| ID: 541118 | 146 Words

BNuge
Level: 137


POSTS: 4685/5714
POST EXP: 365399
LVL EXP: 30869201
CP: 14418.8
VIZ: 1504587

Likes: 0  Dislikes: 0
legacyme3 :
the_casualty :
Lazlo Falconi :
JigSaw :

I had to code a page for my Programming class. I know the coding is good and my brother checked it and agreed. He has an Associate's Degree in Game Programming and already took the class I'm in. Yet she has a site that she has us use to check the code.

http://validator.w3.org/#validate_by_upload

The site checks it as "XHTML 1.0 Strict." It rejected most of my tags and attributes. I don't get what I did wrong. I double checked with my professor. She said, "The reason that the validator picked your tags up as errors is because there are alternative "accepted" tags to what you have attempted to code onto your page."

So I decided I might as well ask if anyone here has any tips. I can PM my code to anyone who wants to help?

legacyme3 :
the_casualty :
Lazlo Falconi :
JigSaw :

I had to code a page for my Programming class. I know the coding is good and my brother checked it and agreed. He has an Associate's Degree in Game Programming and already took the class I'm in. Yet she has a site that she has us use to check the code.

http://validator.w3.org/#validate_by_upload

The site checks it as "XHTML 1.0 Strict." It rejected most of my tags and attributes. I don't get what I did wrong. I double checked with my professor. She said, "The reason that the validator picked your tags up as errors is because there are alternative "accepted" tags to what you have attempted to code onto your page."

So I decided I might as well ask if anyone here has any tips. I can PM my code to anyone who wants to help?

Vizzed Elite
Third Place in Feb 2011 VCS Achieved Ravering Syndrome + on Jan 6, 2012


Affected by 'Laziness Syndrome'

Registered: 04-30-10
Location: Northeast US
Last Post: 1218 days
Last Active: 443 days

(edited by BNuge on 02-08-12 07:40 PM)    

02-08-12 08:43 PM
Lazlo Falconi is Offline
| ID: 541134 | 38 Words

Lazlo Falconi
Level: 99


POSTS: 717/2750
POST EXP: 199963
LVL EXP: 9663835
CP: 3100.7
VIZ: 182754

Likes: 0  Dislikes: 0
Yeah I'll help you. Likely if the problem is that it's running the test for XHTML STRICT and you used "alternative" tags, it's just a DTD error. PM me the code and I can probably help ya out.
Yeah I'll help you. Likely if the problem is that it's running the test for XHTML STRICT and you used "alternative" tags, it's just a DTD error. PM me the code and I can probably help ya out.
Vizzed Elite
The Shake Zula


Affected by 'Laziness Syndrome'

Registered: 01-07-12
Location: Cartoon Hell
Last Post: 1408 days
Last Active: 1282 days

02-09-12 12:22 AM
Nksor is Offline
| ID: 541199 | 130 Words

Nksor
the_casualty
Level: 138


POSTS: 5684/5856
POST EXP: 228223
LVL EXP: 31546314
CP: 1171.6
VIZ: 131963

Likes: 0  Dislikes: 0
As the name suggests, XHTML Strict is, well, strict. It's the old bitty English teacher of doctypes. Tons of properties are considered "deprecated" (font, center, among tons of others). Try running it under XHTML 1.0 Transitional and see if you get the same or similar results.

Running it through HTML Tidy would work swell too. It fixes up your pages to the "standards". That said, watch out, because if the code is in bad shape Tidy will appear to "alter" the page's layout in an attempt to make it standards compliant.

Also, do you mind putting the code of the page into Pastebin and posting it here so I among others can analyze it and attempt to fix it?

That is, unless Lazlo has already done the job for you.
As the name suggests, XHTML Strict is, well, strict. It's the old bitty English teacher of doctypes. Tons of properties are considered "deprecated" (font, center, among tons of others). Try running it under XHTML 1.0 Transitional and see if you get the same or similar results.

Running it through HTML Tidy would work swell too. It fixes up your pages to the "standards". That said, watch out, because if the code is in bad shape Tidy will appear to "alter" the page's layout in an attempt to make it standards compliant.

Also, do you mind putting the code of the page into Pastebin and posting it here so I among others can analyze it and attempt to fix it?

That is, unless Lazlo has already done the job for you.
Vizzed Elite
Timecube


Affected by 'Laziness Syndrome'

Registered: 09-30-10
Location: From:
Last Post: 2453 days
Last Active: 1043 days

02-09-12 12:07 PM
BNuge is Offline
| ID: 541275 | 57 Words

BNuge
Level: 137


POSTS: 4690/5714
POST EXP: 365399
LVL EXP: 30869201
CP: 14418.8
VIZ: 1504587

Likes: 0  Dislikes: 0
the_casualty :

I PM'd the code to home, but haven't heard back. I'm on a school computer now, so I don't have access to my code.

We don't have an option of which form of code we get to run it through. She requires that we use Strict XHTML AND she checks it herself when we submit it.
the_casualty :

I PM'd the code to home, but haven't heard back. I'm on a school computer now, so I don't have access to my code.

We don't have an option of which form of code we get to run it through. She requires that we use Strict XHTML AND she checks it herself when we submit it.
Vizzed Elite
Third Place in Feb 2011 VCS Achieved Ravering Syndrome + on Jan 6, 2012


Affected by 'Laziness Syndrome'

Registered: 04-30-10
Location: Northeast US
Last Post: 1218 days
Last Active: 443 days

02-09-12 07:20 PM
Lazlo Falconi is Offline
| ID: 541372 | 30 Words

Lazlo Falconi
Level: 99


POSTS: 718/2750
POST EXP: 199963
LVL EXP: 9663835
CP: 3100.7
VIZ: 182754

Likes: 0  Dislikes: 0
Well, right off the bat I can tell you one thing. You're using HTML 4.0. XHTML Strict does NOT allow for the bgcolor attribute. Change your body tag to
[code]
...Actually, it would take far too long to go through this whole thing, but when you put it through the validator, doesn't it tell you what's wrong?

At first, I would say change your Doctype to HTML 4.0...but if you're not allowed to do that, I would guess you're supposed to be learning XHTML, but then, why hasn't your instructed taught you CSS? Something seems a bit odd here.

To be honest with you, I don't know why she would even have you use the STRICT dtd to begin with. It's awful. Nobody uses it, because it's just a pain in the zebra to code. If you want, I suppose I can go through and tell you how to alter everything from HTML to XHTML... But it would take a long, long time, and I think that may be the point of the exercise.

I'm sorry.
Well, right off the bat I can tell you one thing. You're using HTML 4.0. XHTML Strict does NOT allow for the bgcolor attribute. Change your body tag to
[code]
...Actually, it would take far too long to go through this whole thing, but when you put it through the validator, doesn't it tell you what's wrong?

At first, I would say change your Doctype to HTML 4.0...but if you're not allowed to do that, I would guess you're supposed to be learning XHTML, but then, why hasn't your instructed taught you CSS? Something seems a bit odd here.

To be honest with you, I don't know why she would even have you use the STRICT dtd to begin with. It's awful. Nobody uses it, because it's just a pain in the zebra to code. If you want, I suppose I can go through and tell you how to alter everything from HTML to XHTML... But it would take a long, long time, and I think that may be the point of the exercise.

I'm sorry.
Vizzed Elite
The Shake Zula


Affected by 'Laziness Syndrome'

Registered: 01-07-12
Location: Cartoon Hell
Last Post: 1408 days
Last Active: 1282 days

02-09-12 08:47 PM
BNuge is Offline
| ID: 541397 | 87 Words

BNuge
Level: 137


POSTS: 4695/5714
POST EXP: 365399
LVL EXP: 30869201
CP: 14418.8
VIZ: 1504587

Likes: 0  Dislikes: 0
Lazlo Falconi :
the_casualty :

I actually already knocked out 27 of the 42 errors. 13 of them involved putting alt="blah blah blah" at the end of each of the images. The rest were basically saying that some tags couldn't be just floating around. They needed to be in some other tag. I put a div tag right after the body tag and that made all of those errors go away. Now I'm down to 15 and a bunch of them are based on attributes in the body tag.
Lazlo Falconi :
the_casualty :

I actually already knocked out 27 of the 42 errors. 13 of them involved putting alt="blah blah blah" at the end of each of the images. The rest were basically saying that some tags couldn't be just floating around. They needed to be in some other tag. I put a div tag right after the body tag and that made all of those errors go away. Now I'm down to 15 and a bunch of them are based on attributes in the body tag.
Vizzed Elite
Third Place in Feb 2011 VCS Achieved Ravering Syndrome + on Jan 6, 2012


Affected by 'Laziness Syndrome'

Registered: 04-30-10
Location: Northeast US
Last Post: 1218 days
Last Active: 443 days

02-09-12 08:49 PM
Lazlo Falconi is Offline
| ID: 541398 | 13 Words

Lazlo Falconi
Level: 99


POSTS: 720/2750
POST EXP: 199963
LVL EXP: 9663835
CP: 3100.7
VIZ: 182754

Likes: 0  Dislikes: 0
Change them to CSS. w3schools has a bunch of good tutorials on CSS.
Change them to CSS. w3schools has a bunch of good tutorials on CSS.
Vizzed Elite
The Shake Zula


Affected by 'Laziness Syndrome'

Registered: 01-07-12
Location: Cartoon Hell
Last Post: 1408 days
Last Active: 1282 days

04-15-12 04:08 AM
catfight09 is Offline
| ID: 567950 | 19 Words

catfight09
Level: 94


POSTS: 1217/2328
POST EXP: 74403
LVL EXP: 8064576
CP: 395.7
VIZ: 44950

Likes: 0  Dislikes: 0
Thanks man. I'll be sure to check this site out as I've got just about no layout experience whatsoever.
Thanks man. I'll be sure to check this site out as I've got just about no layout experience whatsoever.
Trusted Member
Final Fantasy XIII player


Affected by 'Laziness Syndrome'

Registered: 03-14-10
Last Post: 3242 days
Last Active: 1944 days

Links

Page Comments


This page has no comments

Adblocker detected!

Vizzed.com is very expensive to keep alive! The Ads pay for the servers.

Vizzed has 3 TB worth of games and 1 TB worth of music.  This site is free to use but the ads barely pay for the monthly server fees.  If too many more people use ad block, the site cannot survive.

We prioritize the community over the site profits.  This is why we avoid using annoying (but high paying) ads like most other sites which include popups, obnoxious sounds and animations, malware, and other forms of intrusiveness.  We'll do our part to never resort to these types of ads, please do your part by helping support this site by adding Vizzed.com to your ad blocking whitelist.

×