Website Design Edmonton       Website Design Feedback       Website Design Sitemap     Contact Website Design Company
Website Designers R Us - Home
W three C Web Standards Attributes

A rule that applies to attributes as well as the element they describe, is that they must be in lowercase. That's fine for most of us, but some may have to change their coding style, or even the IDE they use.
Also, attribute values must always be quoted, even if we're dealing with numeric values.

Oh and one more thing, no more minimization. This means that

<hr noshade>


must now be written as:

<hr noshade=”noshade” />


What's My Name?

XHTML 1.0 has deprecated the 'name' attribute, and further versions will drop it altogether. That means we will identify elements by their 'id'. We'll see the use of this as we get into the style sheets.

XML / DOCTYPE / NameSpace

We need to define that our page is complying with the rules, and here's how we do it, at the top of every page.

<?xml version="1.0"? >
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


It's best to use the transitional Document Type Definition while we're getting accustomed to the ins and outs of Web Standards. And really, we only need the XML declaration if the character encoding is anything other than UTF-8 or UTF-16.

And that's about it for a brief overview of XHTML, we can get into the meat now!

Return to Listing

Website Designer R Us is the right company to get your job done professionally and cost effectively. We've seen the good, the bad, and the ugly, and we are here to help you by recommending the services that match your needs based on our knowledge of other website designers and web design companies whom can perform the type work you are needing.
 Home          ::             About Us          ::             Support            ::             Services            ::             Link Partners          ::             Contact

Copyright © 2006-2011 Website Designers R Us, a DOT Specialist Company. All rights reserved.