websites validating

They have: 26 posts

Joined: Oct 2006

i am fairly new to writing websites i actually started playing with it about 2 months ago and now hav built quite few.
i was in a chatroom and a guy was bashing me pretty hard cause he said my code ws old he said it looked like 97 rather than 2006 for example for bold i use not does this matter?
also i check my websites in firefox and ie for visual problems
but when i run w3c validation dear god the list goes on and on does this matter? what difference does it make?

if there is anyone that would like to help me out with tips/pointers plese feel free

this is my first time posting so please dont start flaming the **** out of me talking **** about mysites i am sincerly asking for assistance

thanks

demonhale's picture

He has: 3,278 posts

Joined: May 2005

First things first, less code and more content is good for a site, the best way to do this is with css right? But when your left with just basic html tags on your html file it would be easier to validate. Good coding and valid coding helps you with cross-browser issues and make it easier for you to edit in the future.

Using depreciated tags such as in your example of replacing with is one of the first things you need to get accustomed to, once you get used to it, and you minimize your page errors in validation, the more you wont worry about your site not looking the way its supposed to. Semantic markup also is a good practice, not only are you allowing your site to speed up, you are also making it attractive to Search Engines...

Theres some good articles you can find here at TWF, read on some validating basic principles, and you might get a little obsessed with it... Good Luck with your site...

They have: 26 posts

Joined: Oct 2006

so whats is the difference in usins vs other than one way i am typing more letters

demonhale's picture

He has: 3,278 posts

Joined: May 2005

when you dont care about depreciated tags then theres not much of a difference. So it still boils down to what your accustomed to, or if you decide to validate your markup... There has an argument about depreciated tags before, but the bottom line is, you decide...

They have: 26 posts

Joined: Oct 2006

ok using depreciated tags- does it have any effect on search engine finding site? brwosers opening site?
does it have any effect other than another designer views your source and says "thats old" lol

as far as validating my html i have tried but theres simply too many errors to fix but yet the site looks fine on ie and firefox so does validating have any direct effects ?

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Not using deprecated tags are merely a recommendation by the W3C but there are quite a lot of purists out there who will say "that's old, it's wrong."

Anyway, one of the main reason for using over is that when someone with a screen reader (there are quite a few people out there who use them) views you website, it will show up properly. From what I gather was never an actual HTML tag, it was something MS put into IE. The same goes for using over for italics.

Busy's picture

He has: 6,151 posts

Joined: May 2001

If you want to get your site to validate, just do the first few errors that the validators shows you, save, retest and fix the next few. You'll find fixing just the top ones will fix a lot of the bottom ones on long listed results.

They have: 26 posts

Joined: Oct 2006

what ia a screen reader....i know google it...lol
well i have porn sites kinda pointless for someone to be looking for porn and have images turned off not really sure how well that would work...lol
im not a "purists" i dont really care i build these things to make money all i want is for them to work and work for the large demographic that i target i type out all my code for right now so the difference in me using vs is quite a bit

heres my thing if its not broken dont fix it
i just dont know if its actually broken or just not pretty ...know what i mean

Roo's picture

She has: 840 posts

Joined: Apr 1999

Well NOT using depreciated tags and using clean standards compliant code means that you will be less likely to have display issues with different browsers and browsers on different platforms.

It also means that as browsers update thier versions you are less likely to run into problems.

Depreciated tags were wrtten for old browsers, and things have changed as far as languages we use on the web. Hence browsers have changed.....and the language will continue to change as will browsers.

You will prevent big headaches later by keeping things up to date, clean and compliant now.

Roo

They have: 26 posts

Joined: Oct 2006

ok so how would i go about changing what i have right now over to up to date?
just start using dreamweaver and recreate all sites?

demonhale's picture

He has: 3,278 posts

Joined: May 2005

You could do that, or leave it as it is if you think it wouldnt affect your site in the long run... slowly cleaning up, or working on a new one behind your current site could be a better option...

Roo's picture

She has: 840 posts

Joined: Apr 1999

HTML Kit is free and it has a tool to convert code to XHTML....you may need to go in and clean some things up by hand, depening on how picky you are about code.

Are you using CSS to control everything with already?

You don't say which version html you are using now....4.01? XHTML? Strict or Transitional?

If you start using XHTML that would be good...it won't let you make mistakes.

Everything is in lower case

All tags are closed (Example...image tags, meta tags, and breakes the were not closed a long time ago are now closed with a space and then />

You cannot leave out any quote marks

Images must have something in the alt property of the tag.

Roo

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

I just wanted to add that desigining with web standards could give you a bit of a leg up in your industry. I can't imagine a lot of other porn sites would be using modern code. What you want to do is cut down your code-to-content ratio. When you do that you give more for the search engines to index. It also makes the page lighter and faster to download which I'm guessing would be an issue for your sites. Even something like adding alt tags to images - which is something the validator would point out - can give you lots of extra keywords for searching.

Using HTML properly - as a structural markup language can also help you. So if you use for a heading instead of the SE knows that that's a header and that the text is important. It will give those words more weight when its ranking your site.

To learn, just work slowly. There are lots of resources on the web about how to switch to standards-compliant code. Start with picking through the validator results and cleaning up as much as you can. Start by removing the font tags and replacing with CSS. You don't have to use xHTML actually - it might be better to start with an HTML 4.01 strict doctype and get that fixed first. Then move on to xHTML transitional and so on.

They have: 26 posts

Joined: Oct 2006

well i had meta tags and they have the max keywords and descriptiomn but i deleted them to post on here becuase they wer not "family oriented" lol
i have alt tags on all my images now and i have re3sized images down and have resized the top gif file donw to 120 kb notloaded yet but will soon

i dont really understand what you mean by weighting the words with tag im sorry could you explain a littel more indepth

They have: 26 posts

Joined: Oct 2006

after rereading that for the 4thtime or so i think i get it

i need to add header tags basically i dont have them at all is what your saying ?
and i now have dreamweaver but its not a very easy prog to use i have found out
i have been writing all my code in notepad and having a prog is alot different anyone wanna school me on dreamweaver ill make it worth your while

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.