Everyone likes to make website which looks not only great, but full of funny stuff. Sometimes, however, web developer forgets reason of site. On my opinion, the first and the most important is readability and easyness to get from one article to other.
1. Does it use tables for layout?
This is a big no no, We have all done it in the past but using tables for laying out content is a bad practice that will lead to problems later, it also means the search engines have to work harder to work out what is and was is not content. Tables do have a use for displaying tabular data. But fear not a solution is at hand CSS layouts, you can find many using a Google search but to get yourself started have a look at
css Tinderbox.
Below is the example of what we can do by css and table.
The only difference is how these tables are made. So, as you can see, you can do with css whatever you like. Dont use css for table and dont use table for making web pages. Simple isn´t it? Don´t forget to check the source code.
| This is table by <table> tag | ||
|---|---|---|
| A | B | C |
| D | E | F |
2. Hierarchical structure
Most people are OK with this one but just in case there are several heading tags in XHTML but the ones we use commonly are H1/2/3 which are used to show some sort of hierarchy, search engines love these tags as they provide easier to understand structure. Remember to include them nested so for example:
Code:
<h1>This is my main Title</h1>
<h2>This is a Sub Title</h2>
<h3>More subsections</h3>
<h3>More subsections</h3>
<h2>This is a Sub Title</h2>
<h3>More subsections</h3>
<h3>More subsections</h3>
3. XHTML what!
HTML died years ago, no really it did, try to use XHTML where possible its a little more complicated but far more logical, there are plenty of tutorials on using XHTML but the important thing is to rely that XHTML is a subset of XML which means we can do fun things with it.
4. CSS for all styling
CSS is not just for layouts its for all styling on your site, by using CSS you gain far more control over how your page looks, it also loads quicker and is standards compliant.
Special thanks for Tim to giving me permission to use his article, you can read more here:
webdigity.
Also, this page is made by simple XHTML strict, css and javascript.
2007 Shwartz



