Showing posts with label HTML5. Show all posts
Showing posts with label HTML5. Show all posts
Structuring The HTML5 Herald

Structuring The HTML5 Herald

Now that we’ve covered the basics of page structure and the elements in HTML5 that will assist in this area, it’s time to start building the...
The footer Element

The footer Element

The final element we’ll discuss in this chapter is the footer element. As with  header , you can have multiple footer elements on a single p...
The aside Element

The aside Element

This element represents a part of the page that’s “tangentially related to the content around the aside element, and which could be consider...
The nav Element

The nav Element

It's sheltered to accept that the nav component will show up in for all intents and purposes each venture. Nav speaks to precisely what ...
The article Element

The article Element

The article element is similar to the section element, but there are some notable differences. Here’s the definition according to the spec: ...
The section Element

The section Element

The next element you should become familiar with is HTML5’s section element. The spec defines section as follows: The section element repres...
The header Element

The header Element

Naturally, the first element we’ll look at is the header element. The spec describes it succinctly as “a group of introductory or navigation...
Defining the Page’s Structure

Defining the Page’s Structure

Now that we’ve broken down the basics of our template, let’s start adding some meat to the bones and give our page some structure. Later in ...
HTML5 FAQ

HTML5 FAQ

After this quick introduction to HTML5 markup, you probably have a bunch of questions swirling in your head. Here are some answers to a few ...
The Rest Is History

The Rest Is History

Looking at the rest of our starting template, we have the usual body element along with its closing tag and the closing html tag. We also ha...
Leveling the Playing Field

Leveling the Playing Field

The next element in our markup requires a bit of background information before it can be introduced. HTML5 includes a number of new elements...
The head Element

The head Element

The next part of our page is the head section. The first line inside the head is the one that defines the character encoding for the documen...
The html Element

The html Element

Next up in any HTML document is the html element, which has not changed significantly with HTML5. In our example, we’ve included the lang at...
The Doctype

The Doctype

First, we have the Document Type Declaration, or doctype . This is simply a way to tell the browser—or any other parser—what type of documen...