Why Your Site Should Be Developed With CSS And Semantic Markup

One thing that I have learned in over a decaderows all mixed together with textual content and
developing web sites is that the 'Net is continuallygraphics. With a clean, CSS-based layout you can
changing, and to keep up you need to change with it.create pages that are easily understood by looking at
One of the more recent developments in web designthe source, making them easier to understand,
is the use of CSS and semantic markup. CSS andmaintain, and update. Look at the source of my
semantic web design has several benefits: clarity incompany site and then look at the source code of
code, browser and other web-enabled devicesthis site that uses a tables based layout: Big
compatibility, seperation of content and presentation,difference, huh?
smaller burden on bandwith, and better visibility toIf you have a site with high traffic, you can
search engines.significantly reduce the amount of bandwdth used by
Back in the day, we designed sites with tables andtransitioning from a table-based site to a CSS-based
hacked those tables into doing things that they werelayout. If a visitor to your site doesn't have to load all
never meant to do. The table tag was designed toof the code needed to render those tables and
display tabular data, not as a way to render thespacer gifs, you are transmiting less data.
layout of a website. Unfortunately, a betterCSS also offers search engine optimization benefits
alternative did not exist, so we used tables. Thisover tables. If you have a tables based business site
made for inefficient, slow loading sites with code thatthat relys on Internet traffic to turn a profit or aquire
was very hard to read and maintain. defines sematicnew clients you will see real advantages by switching
markup like this:to CSS. When a search engine spiders your
Sematic pages "supply information for Web searchtables-based site, they retrieve a large amount of
engines using web crawlers. This could becontent that has nothing to do with you business.
machine-readable information about theWhen search engines spiders a clean CSS-based site,
human-readable content of the document (such asthe majority of content retrieved will be textual
the creator, title, description, etc., of the document)content that describes your business. The ratio of
or it could be purely metadata representing a set ofcontent-to-code is higher with CSS-based layouts.
facts (such as resources and services elsewhere inWe've all seen search engine descriptions that don't
the site). (Note that anything that can be identifiedmake any sense; that's because search engine
with a Uniform Resource Identifier (URI) can bespiders use a top down method for retrieving
described, so the semantic web can reason aboutinformation. Whatever is topmost in your document,
people, places, ideas, cats etc.)"the search engines are going to think is the most
These days, hip designers and developers use CSSimportant part of the document, and therefore
extensively to create beautiful, fully standardsshould be used as the description. Since we seperate
compliant sites. CSS-based layout allows us tocontent and presentation with CSS, we can put the
develop sites that will degrade effectively--that ismost important information at the top of a
that they will be viewable on all types of devicesdocument no matter where it is actually displayed on
such as PDA's, cell phones, T.V.'s--and will workthe page. Try that with tables!
correctly on devices that don't even exist yet asI hope this article gives you an overview of why it is
long as they are standards compliant.important to transition from your current
Most importantly, developing sites with CSS allows ustables-based layout to a fully valid CSS
to effectively separate content and presentation.implementation. If you don't have a web site, but are
Have you ever looked at the source code of HTMLplanning on launching one in the near future, make
pages that were created with a table-based layoutsure you tell your developers you want a CSS-based
and wondered "what the heck is going on here?" Youimplementation.
see lots of opening and closing of tables and table