HTML
  Home arrow HTML arrow Page 6 - W3C Web Standards
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

W3C Web Standards
By: Justin Cook
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 35
    2004-04-12

    Table of Contents:
  • W3C Web Standards
  • An Eagle's-Eye View
  • First Component: XHTML
  • Attributes
  • Second Component: CSS2
  • Code Explanation
  • Third Component: ECMAScript

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    W3C Web Standards - Code Explanation


    (Page 6 of 7 )

    We've accomplished a number of things here. We've altered the positioning of the logo with 'float',  we've modified the font of a few of the items, and gave the content a nice bordered box to sit in. We've also pushed things over and down and around without using any spacer GIFs! Isn't this the greatest thing? Maybe even better than sliced bread! I would even say this approaches the greatness of the $6.99 party-sized pizza!

    You'll notice I made the header an actual XHTML heading instead of just another <div>. This kills two birds. The first is SEO, a search  engine will give a little more priority to a true heading instead of text just made to look bigger. Also, if the site is deconstructed, or perhaps the style sheet is unavailable for one of the many reasons that style sheets often choose to become unavailable, the browser still will render a heading in the default fashion. This will help form the page hierarchy.

    I also gave the navigation a background image, configured to not repeat. This is a great feature in CSS2.

    You'll want to take my example here and tweak it and use it for your whole page. You can combine the redefinition of XHTML elements such as the body tag, creating your own custom classes, and defining sections within the page.

    You will be simply amazed at how easy it is to just change one line of the CSS file, and all of the pages in your site reflect the change, whether it be a small change or something drastic.

    More HTML Articles
    More By Justin Cook


       · Nice article Justin. Clear quiet a few things related to W3C Web Standards.
     

    HTML ARTICLES

    - Using a 3D HTML Table as a Recordset
    - Building a 3D HTML Table
    - Maximizing and Restoring HTML Images: Layer ...
    - Completing Construction of a Database Form w...
    - Maximizing and Restoring Images in a Tabular...
    - Building the Recordset for an HTML Database ...
    - Laying Out a Database Form with HTML
    - Tabular Database Form Functions with HTML
    - Tabular Database Forms with HTML
    - Using the Find Functions for HTML Database F...
    - Sorting for Database Forms with HTML
    - Edit and Other Database Form Functions with ...
    - More Database Form Functions with HTML
    - Database Form Functions with HTML
    - Using the HTML Table Element as a Recordset






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT