Code in XHTML/CSS
Many of amateur web developers code using the old HTML standard, meaning that they do not close all their tags and their layout is using many tables nested within in each other. This is a bad practice, and it annoys many other web developers. However this problem is not going anywhere, because many browsers still support HTML code that is both valid and invalid. Moreover table layout is what they will teach students in high school IT classes, so they never get introduced to the new better methods. Also many get turned away because of the many different CSS attributes, and the incompatibilities between browsers. They think that the old HTML method is much simpler and easier to user, but they don’t realize that there are many other advantages of XHTML over HTML. Let me list a few.
- Easier to parse by search engines and other spiders
- Easier to change in the future, just edit one line in the stylesheet
- Easier to change a lot of different tags
- Many more options that are missing from HTML (ei: fancy borders, different list bullets)
- Faster loading times because of reduced file size
If you want more reasons about why switch to XHTML, look through Porgrammi.com’s list