HTML and CSS Reference
Frank: Well, if we make sure our HTML is up-to-date with current
standards, we won't have to make as many changes down the road. We
should also make sure everything else is correct; you know, our syntax
and all that. There are so many different browsers and versions of those
browsers that if we're making mistakes in our HTML, then all bets are off
in terms of how our pages will look in different browsers. And when we
start adding presentation to HTML with CSS, the differences will get even
more dramatic if our HTML isn't up to snuff.
Joe: So, by making sure we're adhering to the “standard,” we'll have a lot
fewer problems with our pages displaying incorrectly for our customers?
Jim: If it reduces the number of 3 a.m. calls I get, then that sounds like a
good idea to me.
Joe: All right, how do we start? Don't we adhere to the standards now?
What's wrong with our HTML?
Frank: Maybe nothing, but the boss wants to be current with HTML5,
so we need to figure out which version of HTML we're using and if it's
not HTML5, what we need to do to get there. And, when we're done, life
should be much easier when we start using CSS.
Browsers all do a pretty good job of consistently displaying
your pages when you write correct HTML, but when you make
mistakes or do nonstandard things in your HTML, pages are
often displayed differently from one browser to another. Why
do you think that is the case?