the html5 outline

23
The HTML5 Outline Semantic Markup

Upload: hernan-mammana

Post on 06-May-2015

413 views

Category:

Technology


0 download

DESCRIPTION

MercadoLibre is every day less requested with the IE7 browser. So in a few months we are going to leave giving support for that specific browser. Now, with a little previous analysis we are able to use the html5shiv tool. I used this slides to explain, share and reflect about how is and works the new HTML5 outline. This was based on http://www.slideshare.net/hmammana/semantic-markup-creating-outline.

TRANSCRIPT

Page 1: The html5 outline

The HTML5 OutlineSemantic Markup

Page 2: The html5 outline

Goal

Understand

Semantic Markup & Outline

&

Share Experiences

Page 3: The html5 outline

Content

• IE7 & html5shiv• What is markup?• What is semantic?• What is outline?• HTML Elements• Designers• Tools

Page 4: The html5 outline

IE7 Context

Page 5: The html5 outline

IE7 Context

Page 6: The html5 outline

IE7 Context

Page 7: The html5 outline

IE7 Context

Page 8: The html5 outline

IE7 Context

Page 9: The html5 outline

html5shiv

https://code.google.com/p/html5shiv/

Page 10: The html5 outline

HTML Language

Some markup languages, such as HTML, have pre-defined presentation semantics, meaning

that their specification prescribes how the structured data are to be presented;

others, such as XML, do not.

Page 11: The html5 outline

What is semantics?

Elements, attributes, and attribute values are defined to have certain meanings.

http://dev.w3.org/html5/spec/single-page.html#semantics-0

Page 12: The html5 outline

http://www.yomiuri.co.jp/

Page 13: The html5 outline
Page 14: The html5 outline

What is outline?

The outline is a list of one or more potentially nested sections.

http://html5doctor.com/outlines/

Page 15: The html5 outline

Related Elements

1.Heading Elements

2.Sectioning Elements

3.Root Elements

http://www.w3.org/html/wg/drafts/html/master/sections.html#headings-and-sections

Page 16: The html5 outline

Heading Elements

It defines the header of a section, whether explicitly marked up using sectioning content elements, or implied by the heading content

itself.

http://www.w3.org/html/wg/drafts/html/master/dom.html#heading-content-0

Page 17: The html5 outline

h1 h2 h3 h4 h5 h6

hgroup

Heading Elements

Page 18: The html5 outline

It is a container that corresponds to some nodes in the original DOM tree. It can have one heading associated with it, and can contain any number

of further nested sections.

Sectioning Elements

http://www.w3.org/html/wg/drafts/html/master/dom.html#sectioning-content

Page 19: The html5 outline

Sectioning Elements

article aside nav

section

Page 20: The html5 outline

Root Elements

These elements can have their own outlines, but the sections and headings inside these elements

do not contribute to the outlines of their ancestors.

http://www.w3.org/html/wg/drafts/html/master/sections.html#sectioning-root

Page 21: The html5 outline

blockquote body

details dialog

fieldset figure

td

Root Elements

Page 22: The html5 outline

Tools

• HTML5 Outliner

• WebApp

• Chrome extension

• Opera extension

Page 23: The html5 outline

Thanks

@chicoui@hmammana