Coding.

Started by MasterJosh January 8th, 2004 11:15 PM
  • 1128 views
  • 24 replies
Seen November 18th, 2019
Posted April 23rd, 2004
9 posts
19.4 Years
Ok. This is not flaming sites. This is only making them aware. Anyways, most pokemon webbys follow the general rule of decent layoutage and codage. However, every once in awhile it appears that someone doesnt code right. At least not right enough to where its noticable.


Here are two example sites that dont have proper coding.

http://www.phgamer.com/pikasurf.png
http://www.phgamer.com/theapcc.png

This is of course a rare incident but none the less relevant. The point is that some decent coding should have avoiding this. My suggestion is that Webmasters just try as many browsers as possible to check for errors. Now that doesnt mean they have to go all the way back to ie 3. o lordy no. but none the less Mozilla should be one to be tried.

Now errored coding shouldnt be confused with stupids coding. Which is on purposely making a web page only one code cause your too lazy to support other browsers. Most browsers today can read most pages but back in the day there was this Pokemon Webby that would only code for IE on Windows. It was absolutly horendous. Any other browser it did not work or IE on different platforms. He did it on purpose and he though he was 1337 because of it. Truth is, he wasnt and it was quite annoying.

In the end the best thing to do is borrow books, look on the websites, and just use common judgement and the web will be a prettier place. Just like this persons layout

http://www.phgamer.com/pkmnvillage.png

though dont forget to post your news file up or you wont see nothing on this index like this guy ;)

Authors Note: I know half the people here have 56k so i put the images as links so as not to let the topics page load too long.
USA
Seen March 5th, 2011
Posted February 7th, 2011
721 posts
19.7 Years
This is what this was made for:

http://validator.w3.org/

Not to mention that the guy who made pkmnvillage.com isn't coding his pages correctly either:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.pkmnvillage.com&doctype=HTML+4.01+Transitional&charset=iso-8859-1+%28Western+Europe%29

No Doctype or Content Encoding is in the page. I had to insert those into the validator myself.

Btw, are those screenshots of Safari?
Try out Sabayon Linux today.

perthskies

Nostalgic

Age 34
Male
Perth, Western Australia
Seen December 7th, 2013
Posted November 20th, 2013
339 posts
19.4 Years
Wow, those sites do show up weird on that browser. I guess that using universal tags and checking that you close of all your tags, etc. is the best way to solve the problem? Obviously, nothing beats testing in different browsers...but ways of preventing the problem...



Also known as: Optic
My Anime Fansites | Forums
Seen November 18th, 2019
Posted April 23rd, 2004
9 posts
19.4 Years
Yes I know. pkmnvillage's site isnt coded perfectly. My point was though that its gotten to the point where you can actually tell it isnt.

No Konqueror stable. I should get the new one from KDE 3.2 BETA. But thats later. the point is it dont work now. lol.

As for The APCC yours still looks messed up. My guess it might not only be a coding error but a design flaw. Some people have the right code but the entire way they use it is totally wrong as far as design is concerned. Besides, you have tons of errors when validating yours (My browser has a button for validation, but I was trying to make a point earlier about something else), and the fact your doc type is HTML 4.0 transitional. There should be no reason to make it XHTML compliant in the first place. Follow your Doc Type amigo.
Age 38
Baseball North
Seen September 28th, 2004
Posted April 20th, 2004
222 posts
19.7 Years
Yes I know. pkmnvillage's site isnt coded perfectly. My point was though that its gotten to the point where you can actually tell it isnt.

No Konqueror stable. I should get the new one from KDE 3.2 BETA. But thats later. the point is it dont work now. lol.

As for The APCC yours still looks messed up. My guess it might not only be a coding error but a design flaw. Some people have the right code but the entire way they use it is totally wrong as far as design is concerned. Besides, you have tons of errors when validating yours (My browser has a button for validation, but I was trying to make a point earlier about something else), and the fact your doc type is HTML 4.0 transitional. There should be no reason to make it XHTML compliant in the first place. Follow your Doc Type amigo.
First of all, I wasn't telling the whole truth. I didn't mean that my site was actually in XHTML, but I just fixed up my coding so if I want to change it to XHTML one day it would be easier. All I did was make sure that I closed all my tags, specified an alt tag for all images so that search engines could find them and index them and include a height and width for all images so that they load faster because even in HTML, you are suposed to do that. I also specified a class for all tables and links instead of just filling in attributes for each table like bgcolor. I didn't do anything fancy smany or mess anything up. I listened to you and all the other HTML tutorials on the Internet and cleaned up my coding. So how did I do anything wrong? My new formatted layout now has 18 errors! I used to have over 500 and now it has 18! You see anything wrong with that? Oh yeah, 8 of them are caused by a malfunction in the program that assumes the & symbol is a mistake, so I actually have like 10 errors. That is a lot better than 600 isn't it? So what else can I do to please you oh Master Josh? Do you think I'm wasting my time and space with the image tags by specify alt, width and height for each one? I'm just don't what other tutorials said to do!
Age 38
Baseball North
Seen September 28th, 2004
Posted April 20th, 2004
222 posts
19.7 Years
touchy. ala. :-p as far as im concerned I was pointing out that it should just work. thats all. Even if you had 8 errors fine! then why does your site looked messed up! Geez.
Because the top banner is cut into three pieces for ad banner. Next question, please!
Age 36
The good old U.S. of Jugoslavia
Seen November 3rd, 2015
Posted January 18th, 2008
161 posts
19.7 Years
A common problem which many webmasters do wrong is not close tags... Remember this;
ALL TAGS NEED TO BE CLOSED!
If it's an img tag, close it like this <img src="whatever.jpg" border="0" alt="Whatever" />
remember to also use ALT on all of your img tags...

And God knows how many <br> I've seen. Even many scripts supposibly coded by pros have <br>... thing is <br> should be <br />

Also many meta tags are not closed.. close them the same way
<meta Whatever{Space}/>

Avoid those problems and you should be ok...
Oh, one more thing... Never set "Height" in tables... They don't really excist. It's just something Microsoft invented for IE only...

P.S. Thanks to SA for teaching me this ^_^


Do you concider yourself a Cult Anime fan? Find out for sure, visit Cult Anime at http://www.cultanime.com/

Power... What does it mean? would you give orders if you had power, or would you use it to help those that need it? Power is just in the minds of the weak. Only those that don't care about power, have it.

Cherrim

Age 34
she / her
Toronto
Seen 1 Hour Ago
Posted 1 Week Ago
33,049 posts
20.4 Years
o_o If you're using plain HTML, you don't really need to close each tag (such as
). That's just for if you're using XHTML.

It doesn't hurt to do it anyway, though. XP


paired with professor plum.
USA
Seen March 5th, 2011
Posted February 7th, 2011
721 posts
19.7 Years
o_o If you're using plain HTML, you don't really need to close each tag (such as <br />). That's just for if you're using XHTML.

It doesn't hurt to do it anyway, though. XP
It is not a requirement of html but for logic and forward compatibility purposes, it is good to do it anyway. Not to mention XHTML 1.0 Transitional is basically HTML 4.01 Transitional with a few more guidelines and XML support. It is so easy to code according to it, there isn't much sense in using the older specification.

Btw, MasterJosh, would you tell me how Pokemon Fan Universe looks in Konqueror? I haven't used it for testing. Primarily since I don't have a copy of it and I don't know much about it. I'm interesting in seeing (or at least hearing about) how it looks.
Try out Sabayon Linux today.

Rukario

Banned

Somewhere in Ilex Forest
Seen April 6th, 2019
Posted March 17th, 2019
7,587 posts
20.7 Years
Ummmm <br />
hmmm ok so i use a older code <br>oh but look it didn't work<br />
ok thats better, guess the newer one works<br />
<br />
heh!
Age 36
The good old U.S. of Jugoslavia
Seen November 3rd, 2015
Posted January 18th, 2008
161 posts
19.7 Years
Ummmm <br />
hmmm ok so i use a older code <br>oh but look it didn't work<br />
ok thats better, guess the newer one works<br />
<br />
heh!
XD, lol... I guess you learn something new every day XD


Do you concider yourself a Cult Anime fan? Find out for sure, visit Cult Anime at http://www.cultanime.com/

Power... What does it mean? would you give orders if you had power, or would you use it to help those that need it? Power is just in the minds of the weak. Only those that don't care about power, have it.
Seen November 18th, 2019
Posted April 23rd, 2004
9 posts
19.4 Years
Shining Arcanine. Your site looks good in konqueror though a bit plain layout IMO :-p Still though none the less it works and it is a valid webpage. Konqueror is essentially KHTML so if you have apple safari then you probably know how it looks like in konqueror. My suggestion. Go to http://knopper.net/knoppix/index-en.html and get Knoppix. Its a linux live evualtion cd (a debian based distro os all on the CD) which runs on startup. No need to install or mess with your system and it has both mozilla and konquerer on there.
USA
Seen March 5th, 2011
Posted February 7th, 2011
721 posts
19.7 Years
Shining Arcanine. Your site looks good in konqueror though a bit plain layout IMO :-p Still though none the less it works and it is a valid webpage. Konqueror is essentially KHTML so if you have apple safari then you probably know how it looks like in konqueror. My suggestion. Go to http://knopper.net/knoppix/index-en.html and get Knoppix. Its a linux live evualtion cd (a debian based distro os all on the CD) which runs on startup. No need to install or mess with your system and it has both mozilla and konquerer on there.
Do you have any examples of bright vibrant layouts that I could get ideas from? Creating graphics based layouts is not my style but I'd like to have one in my theme selector (just thought I would use a less technical name, it is actually known as a style switcher).
Try out Sabayon Linux today.
Age 38
Baseball North
Seen September 28th, 2004
Posted April 20th, 2004
222 posts
19.7 Years
Do you have any examples of bright vibrant layouts that I could get ideas from? Creating graphics based layouts is not my style but I'd like to have one in my theme selector (just thought I would use a less technical name, it is actually known as a style switcher).
And this is coming from the guy who thinks that a Pokeball background with black text and the ocational underline and bold is "stylin' whoooo and profilin'!" I'm sorry to say this, but your layout is reminicent of those old Pokemon sites from 1998 on Angelfire. Hey, at least your site is better than Maxpages! :P
Age 37
Seen September 27th, 2009
Posted February 18th, 2007
1,361 posts
19.6 Years
And this is coming from the guy who thinks that a Pokeball background with black text and the ocational underline and bold is "stylin' whoooo and profilin'!" I'm sorry to say this, but your layout is reminicent of those old Pokemon sites from 1998 on Angelfire. Hey, at least your site is better than Maxpages! :P
I agree with you alakazam, that kinda looked like my first site about 4-5 years ago,lol...

Anyways, dont want this topic to get closed, so no more of that

Whats the big deal w/proper coding anyways? Aslong as it looks good externally, and no visible errors, thats fine with me.
A B C D E F G H I J K L M N O P Q R S T U V W R X Y Z
Age 36
The good old U.S. of Jugoslavia
Seen November 3rd, 2015
Posted January 18th, 2008
161 posts
19.7 Years
Well it matters because if it ain't propperly coded then many people who use different browers or systems might see the website as looks very, VERY wierd.
Plus your site would gain points with webmasters who surf your site, AND if you do it right your site would load much faster...
Example. PPN is FULL of tables and gif pics, it takes ages to load even for me (I have Broadband)

So there are a few good points with well coded sites ^_^


P.S. I'm making a new layout for PPN :D


Do you concider yourself a Cult Anime fan? Find out for sure, visit Cult Anime at http://www.cultanime.com/

Power... What does it mean? would you give orders if you had power, or would you use it to help those that need it? Power is just in the minds of the weak. Only those that don't care about power, have it.

Cherrim

Age 34
she / her
Toronto
Seen 1 Hour Ago
Posted 1 Week Ago
33,049 posts
20.4 Years
7 seconds is kind of a long time for a website... especially considering the attention span of an average internet user is something around 3 seconds before they start to get annoyed by loading times.

:X Or less if you're like my brother, who will literally start crying out of frustration if something takes over 10 seconds. XD


paired with professor plum.
USA
Seen March 5th, 2011
Posted February 7th, 2011
721 posts
19.7 Years
And this is coming from the guy who thinks that a Pokeball background with black text and the ocational underline and bold is "stylin' whoooo and profilin'!" I'm sorry to say this, but your layout is reminicent of those old Pokemon sites from 1998 on Angelfire. Hey, at least your site is better than Maxpages! :P
Alakazam, if you criticize someone use proper spelling, grammar and punctuation. Also, having a site that is online may give some credit to your words.

mewthree w/armor, you might want to have the browser measure the time to takes to load. The RCs of version 1.0 of Mozilla measured load time but I'm not sure if any of the others have them.

Pokemon Fan Universe's average load time for me is 1 second or less which, I have tested with 56k and it is also around that range on a 56k modem.
Try out Sabayon Linux today.

Arwen

Beautiful Elf Maiden(Mod)

Age 34
Rivendell, Middle Earth waiting for Aragorn
Seen January 31st, 2004
Posted January 31st, 2004
788 posts
19.4 Years
Well, it takes longer when you first load the page... but once you view it first, it views faster... Hmmmm...

PC Rep: Arwen Pokmon Rep: Eevee RL Rep: Me!
Paired up with Latios Master!
Please help my allience Click this every day.
PC Chat: Here
ARWEN f Literature

Means "noble maiden" in Sindarin. In 'The Lord of the Rings' by J. R. R. Tolkien, Arwen was the daughter of Elrond and the lover of Aragorn.



Age 37
Seafoam Island
Seen February 2nd, 2010
Posted February 2nd, 2010
3,537 posts
19.7 Years
Pokemon Fan Universe's average load time for me is 1 second or less which, I have tested with 56k and it is also around that range on a 56k modem.
Question, what is your definition of load time? From when you click/activate/enter the URL to when the site is fully loaded or when you can see the majority of the page minus some of the images?
USA
Seen March 5th, 2011
Posted February 7th, 2011
721 posts
19.7 Years
Well, it takes longer when you first load the page... but once you view it first, it views faster... Hmmmm...
That might be because of the CSS stylesheet. It is cached by the browser.

Edit: Loadtime: How long it takes everything on the page to show up on your screen.
Try out Sabayon Linux today.