Structural Tags in HTML5

The HTML5 specification has added quite a few interesting and useful tags for structuring your markup. For a majority of everyday uses, these tags will replace many of our typical
div
entries from our code. So let’s dig in.
Defining Structure

A section is a thematic grouping of content, typically preceded by header, possibly with a footer after. sections can be nested inside of each other, if needed, and can hold any amount of typical markup.
The header of a section, typically a headline or grouping of headlines, but may also contain supplemental information about the section.

A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.

Defines the navigation area, typically a list of links. The nav should be a sibling of the main section, header, and footer.

An independent entry in a blog, magazine, compendium, and so on.

An aside indicates content that is tangentially related to the content around it.
Putting it Together

So let’s take a look at how we would put together a typical blog page with our new structural tags.
<!DOCTYPE html>
<html>
  <head>
    <title>Standard Blog</title>
  </head>
  <body>
    <header>
      <h1><a href="#">Standard Blog</a></h1>
    </header>
    <nav>
      <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">Archives</a></li>
        <li><a href="#">About</a></li>
        <li><a href="#">Contact</a></li>
      </ul>
    </nav>
    <section>
      <article>
        <header>
          <h1><a href="#">Title</a></h1>
        </header>
        <section>
          <p>Lorem ipsum...</p>
        </section>
      </article>
      <article>
        <header>
          <h1><a href="#">Title</a></h1>
        </header>
        <section>
          <p>Lorem ipsum...</p>
        </section>
      </article>
      <article>
        <header>
          <h1><a href="#">Title</a></h1>
        </header>
        <section>
          <p>Lorem ipsum...</p>
        </section>
      </article>
    </section>
    <footer>
      <p>Copyright © 2008 All Rights</p>
    </footer>
  </body>
</html>
Note:
This example is a little verbose in markup for the simplicity of the content, but I wanted to exaggerate for emphasis.

As you can see, the tags themselves are much more descriptive than simply providing an id attribute to a div. This also gives the added benefit of a descriptive closing tag, as

is much more understandable that wondering which
goes with a given
.

So, I can use this now?

Actually, yes, with a few extra steps. And it will work in all modern browsers. It can even work in IE6. There are only a few little quirks we need to get past if we’re going to start using this today.

First, because most browsers don’t understand the new HTML5 doctype, they don’t know about these new tags in HTML5. Fortunately, due to the flexibility of browsers, they deal well with unknown tags. The only issue here is unknown tags have no default style, and are treated as inline tags. These new HTML5 tags are structural, and should obviously be block level elements. So, when we style them with CSS, we need to be sure to include display:block; in our attribute/value pairs.

Include this simple extra piece of CSS, and these new tags are immediately usable. Starting today. And of course, once HTML5 is more widely supported, the superfluous display:block; can be removed, as it will be included in the browser default styles.
Supporting IE
There is one more issue if you require IE support. Turns out that the IE rendering engine will work with the new tags, but will not recognize any CSS applied to them. Well, that’s no good. Fortunately, IE just needs a good swift kick with the help of a very simple bit of JavaScript. All we need to do to kick start IE is to create a DOM node with JavaScript for each of the new tags, and suddenly IE will apply styles to the new tags with no problem. The code will look something like this, and can be placed directly in the head of our document, or the contents of the script tag placed into an external file and included.

Before we leave this code, there’s one thing to mention about the script tag in HTML5. HTML5 will assume type="text/javascript" on any script element, so it need not be included. Once again, making things simple.
Wrapping Up
So we can begin, right now, to structure our documents using the new tags provided in HTML5. With a few simple tricks, they’ll work today, and be compatible in the future. So next time you start a new site, consider going with HTML5, and give your markup a little more defined structure.

ColorZilla has a gradient editor for CSS3

Colorzilla is one of the Mozilla Addons,This is a Gradient Editor for CSS3.A image editor available in Photoshop and other graphics software, this little tool allows editing intuitive.Ultimate CSS Gradient Generator is a software company degraded with a large list of presets.So no need of photoshop designer and css programmer for to make the gradient effect stuffs.

Each of the presented gradients can be edited to provide customized optimale.L editor is simple to use, mainly to move the wrists (anchors) to a position relative to a color you autre.Lorsque Want to add one by clicking between two anchors.


The gradient thus created is displayed on a small banner that you still have the option to choose the orientation (vertical or horizontal), the dimensions of the banner overview, and emulating the rendering in IE.


Finally, this is the value of this tool, a CSS is dynamically generated to provide you with a usable result on up to navigateurs.Il is important to note that failure to support the values ​​of gradient, a solid color background is defined which is the first color of your gradient.




Tab hover effect




          
    
    
  • Account

  •   
        
    
  • Auctions

  •    
       
    
  • Information

  •      

           


    #tabs {

    list-style: none outside none;
    margin:1px 0 0 10px;
       height: 37px;

    }

    #tabs li {

        background:url(../images/menubg.png) no-repeat scroll 0 -52px transparent;
        display: block;
        float: left;
          height: 37px;
        margin-right: 18px;
        position: relative;
       /* z-index: 1;*/
    }
    #tabs .current {
       background: url(../images/menubg.png) no-repeat scroll 0 -2px transparent;
    display: block;
    float: left;
       height: 37px;
    position: relative;
    }

    #tabs .current {
    z-index: 99;
    }
    #tabs li a {
    background: url(../images/menubg.png) no-repeat scroll right -257px transparent;
     
        color: #fff;
        display: block;
        font:bold 15px arial;
        text-shadow:1px 2px 4px #000000;
       height: 37px;
        line-height: 37px;
        margin-right: -39px;
       padding: 0px 46px 0 29px;
        text-align: center;
        text-decoration: none;
    }
    #tabs .current a {
      background: url("../images/menubg.png") no-repeat scroll right -206px transparent;
    color: #fff;
    display: block;
    font:bold 15px arial;
    text-shadow:1px 2px 4px #000000;
       height: 37px;
    line-height: 37px;
    margin-right: -39px;
    padding: 0px 46px 0 29px;
    text-align: center;
    text-decoration: none;
    }


    #tabs li:hover {
       background: url("../images/menubg.png") no-repeat scroll 0 -2px transparent;
    display: block;
    float: left;
       height: 37px;
    position: relative;
    }

    #tabs li a:hover {
      background: url("../images/menubg.png") no-repeat scroll right -206px transparent;
    color: #fff;
    display: block;
    font:bold 15px arial;
    text-shadow:1px 2px 4px #000000;
        height: 37px;
    line-height: 37px;
    margin-right: -39px;
    padding:0px 46px 0 29px;
    text-align: center;
    text-decoration: none;
    }

    Cross-Browser Canvas Demo



    Demo showing the Canvas tag running in Firefox 3, Safari 3, and Internet Explorer 7. On IE the ExCanvas JavaScript shim is used.

    3D Slides Built With HTML5, CSS3, and SVG



    Nonlinear slide deck I built that can zoom into and out of topics depending on audience built with HTML5, CSS3, and SVG

    Introduction to HTML 5



    Are you interested in HTML 5 and what's coming down the pipeline but haven't had time to read any articles yet? I've put together an educational "Introduction to HTML 5" video that goes over many of the major aspects of this new standard, including:

    * Web vector graphics with the Canvas tag and Scalable Vector Graphics (SVG)
    * The Geolocation API
    * HTML 5 Video
    * The HTML 5 Database and Application Cache
    * Web workers

    The video is chock full of demos and sample source code.

    (Note to moderators: HTML 5 is a public open web standard. I'm helping to educate web developers and raise awareness of this open web standard).

    Best SEO Secret Tips

    1 - Valid XHTML Code - Use Valid xhtml. Search engines prefer tidy houses. Use a markup validation service to ensure that your web pages comply with the latest W3C standards. Ideally, you should also consider using CSS style sheets to set up your web site design to cut down on the code vs. content ratio.

    2 - Meta Tags - Two parts of the meta tag deserve particular attention - the description meta tag and the title. The description meta tag is the information that users will see in the search engine results.
    Continue reading...
    Your main keyword should be the very first thing you put inside the title tag. Secondary keywords should follow. You should avoid using all capital letters. Insert title content here

    3 - Keywords Throughout Page Content - After you have carefully selected your keywords and keyword phrases you should be using them throughout the text on your pages. It is important for your main keywords to have the correct keyword density to rank well in Search Engines. The recommended keyword density is from 3% - 7%, anything above 10% looks allot like keyword stuffing. You should check keyword density after each text change.

    4 - Keywords in Image Alt Tags - It is important to include your keywords in these tags, however not just a spam type listing of all of all your keywords. Be as creative as possible here.

    5 - Use Heading Tags and Bold Text - Instead of just making a-bit of text bold and bigger use the

    and

    tags which get special attention from the search engines. Keyword specific bold text and bulleted list items are also favored by the search engines.

    6 - Use Internal Anchor Text Links - Search engine spiders still love links. Linking throughout your site with descriptive text allows search engines spiders to find and ultimately index your site easily.

    7 - Use an XML Site Map - Search engines love site maps! Create an xml site map to help search engines crawl your web site. Make sure you don't have any broken links.

    8 - Write Content for Humans, Not Just Search Engines - You will find that you do better with search engines if your text reads naturally and is written for human eyes.