PDA

View Full Version : Valid XHTML and CSS - Yes or no?



Jahova
12-07-2008, 12:48 PM
I have been recently coding layouts and I have been trying to make sure the layouts are valid XHTML and CSS.

Do you think that layouts should be valid XHTML and CSS or not, or do you think it doesn't matter if they are or aren't.

If you don't know how to validate your HTML or CSS then visit these sites;
XHTML - http://validator.w3.org/ (http://validator.w3.org/)
CSS - http://jigsaw.w3.org/css-validator/ (http://jigsaw.w3.org/css-validator/)

--ss--
12-07-2008, 12:50 PM
If they're valid XHTML/CSS then they are worth more and show youi're at an higher standards than the others ;).
But then again it's extremely easy to get something valid XHTML.

Jahova
12-07-2008, 12:53 PM
@ --SS--
Yes, it is very easy to get it valid XHTML but some people don't bother doing it when they could easily be doing it.


And as you said, I think it makes you an overall 'better coder'.

Also, the validator is helping me learn from my mistakes.

RyanDOT
12-07-2008, 01:09 PM
Many hosting layouts and other layouts are coded in XHTML AND CSS.

This is more better and much more easier..

Jahova
12-07-2008, 01:12 PM
Yeah, if a person / company wants to show off quality, they should definatley code it in valid XHTML and CSS.

[Oli]
12-07-2008, 02:50 PM
It gives your site a bigger chance of being cross-browser

Independent
12-07-2008, 03:36 PM
Valid XHTML loads faster than HTML I believe.

Jahova
12-07-2008, 04:06 PM
;4901261']It gives your site a bigger chance of being cross-browser


Yep, my newest layout works in;
IE, FF, OP and probably more!


Valid XHTML loads faster than HTML I believe.


It does load rather fast.

today
12-07-2008, 04:46 PM
Absolutely - Yes. :)

redtom
12-07-2008, 05:44 PM
Yes, it loads faster, it's worth more, it's more likely to be cross browser, and its easyer to edit.

craigg.
12-07-2008, 11:02 PM
Yeah, xHTML & CSS is a must. It loads faster in sence, but it depends on what HTML you use for example tubular data or other fancy HTML scripts such as marquee's and IFrames which isn't xHTML (thank the lord). It is easier to edit and on the plus side, it's nice to look at if you code it correctly (lower-cased and structured).

There are more and more sites starting to have xHTML & CSS coding.

Jahova
13-07-2008, 05:34 AM
Yep, I've practically ditched iFrames now =]

Josh-H
13-07-2008, 09:04 AM
Yep, I've practically ditched iFrames now =]


Stop centering your posts PLEASE.

Totally breaks up the flow of the forum.

On to the topic. Yeh, the question is about whether the xhtml & CSS is VALID not whether xhtml and css should be used at all.

Yes valid Xhtml & CSS is important, it should be the minimum any decent website coder/developer codes.

Mounta1nGoat
13-07-2008, 09:27 AM
Stop centering your posts PLEASE.

Totally breaks up the flow of the forum.


Amen.

I can code in valid xHTML and CSS so it can't be that hard to do!

Klydo
13-07-2008, 04:27 PM
Validating your xHTML and CSS isn't required nor should anyone go out of their way to check it is. If your site works for your target audience/a client hasn't asked for it then you don't need to do it. There are a lot of situations when it becomes impossible to make your site entirely valid, especially if your site is one of the larger out there.

If you are a freelancer you should ALWAYS try and sell the point of valid coding to any client as it can add quite a bit to the price. However include this in the original price so you make it an opt-out rather than an opt-in for the customer. This means unless they ask for you to ignore the validation you will make a nice bit more.

I don't think valid coding means you're any better of a coder, as the validators you get actually tell you how to fix the errors most the time. So it's more about does the client or yourself want it valid. Could add to your websites worth in the future.

Plux
13-07-2008, 04:31 PM
Validating your xHTML and CSS isn't required nor should anyone go out of their way to check it is. If your site works for your target audience/a client hasn't asked for it then you don't need to do it. There are a lot of situations when it becomes impossible to make your site entirely valid, especially if your site is one of the larger out there.

If you are a freelancer you should ALWAYS try and sell the point of valid coding to any client as it can add quite a bit to the price. However include this in the original price so you make it an opt-out rather than an opt-in for the customer. This means unless they ask for you to ignore the validation you will make a nice bit more.

I don't think valid coding means you're any better of a coder, as the validators you get actually tell you how to fix the errors most the time. So it's more about does the client or yourself want it valid. Could add to your websites worth in the future.

/Opinion Rejected

Edited by brandon (Forum Super Moderator): Please do not post pointlessly

Jahova
13-07-2008, 08:25 PM
I think if you are a new coder, like myself, you should try and use the validator as it helps you understand how to improve you coding.

The validator doesn't make your coding worse does it, it improves it. So I think all new coders should check their work every now and then to see where they can improve their code and stuff.

You get me?

Janczyk
14-07-2008, 01:14 PM
This isn't a question, more of a hypothesis.

Jahova
14-07-2008, 03:05 PM
Hmmz - Hypothesis?
A hypothesis consists either of a suggested explanation for a phenomenon (http://en.wikipedia.org/wiki/Phenomenon) or of a reasoned proposal suggesting a possible correlation between multiple phenomena. The term derives from the Greek (http://en.wikipedia.org/wiki/Greek_language), hypotithenai meaning "to put under" or "to suppose." The scientific method (http://en.wikipedia.org/wiki/Scientific_method) requires that one can test (http://en.wikipedia.org/wiki/Testable) a scientific hypothesis. Scientists generally base such hypotheses on previous observations (http://en.wikipedia.org/wiki/Observation) or on extensions of scientific theories (http://en.wikipedia.org/wiki/Theory). Even though the words "hypothesis" and "theory" are often used synonymously in common and informal usage, a scientific hypothesis is not the same as a scientific theory (http://en.wikipedia.org/wiki/Theory).
In early usage, scholars often referred to a clever idea or to a convenient mathematical approach that simplified cumbersome calculations (http://en.wikipedia.org/wiki/Calculation) as a hypothesis; when used this way, the word did not necessarily have any specific meaning. Cardinal Bellarmine (http://en.wikipedia.org/wiki/Robert_Bellarmine) gave a famous example of the older sense of the word in the warning issued to Galileo (http://en.wikipedia.org/wiki/Galileo_Galilei) in the early 17th century: that he must not treat the motion of the Earth (http://en.wikipedia.org/wiki/Earth) as a reality, but merely as a hypothesis.

Rly?

Want to hide these adverts? Register an account for free!