SlideShare a Scribd company logo
Tecniche di animazione
digitale 1
Tecniche di animazione
digitale 1

Michele Bertoli
Founder / Lead Software Engineer at Igloo
igloolab.com
michele.bertoli@accademiasantagiulia.it
Basic 3
Agenda
New elements in HTML5       5


                            14
Sectioning content
                            22
Outline view
                            27

Markup and CSS validation
New elements in HTML5
Introduction
How were the element names decided upon?
  https://developers.google.com/webmasters/state-of-the-web/2005/classes




                             6   Basic / New elements in HTML5
<details> <summary>
The details element represents a disclosure widget from which
the user can obtain additional information or controls.


The summary element represents a summary, caption, or
legend for the rest of the contents of the summary element's
parent details element, if any.


                             7    Basic / New elements in HTML5
<details> <summary>
 http://jsfiddle.net/MicheleBertoli/5QRUz




                         8   Basic / New elements in HTML5
<details> <summary>




               9   Basic / New elements in HTML5
<figure> <figcaption>
The figure element represents a unit of content, optionally with a
caption, that is self-contained, that is typically referenced as a
single unit from the main flow of the document, and that can be
moved away from the main flow of the document without affecting
the document’s meaning.


The figcaption element represents a caption or legend for a figure.

                              10   Basic / New elements in HTML5
<figure> <figcaption>
  <figure>
    <img src="/macaque.jpg" alt="Macaque in the trees">
    <figcaption>
  A cheeky macaque, Lower Kintaganban River, Borneo. Original by
  <a          href="http://www.flickr.com/photos/rclark/">Richard
  Clark</a>
    </figcaption>
  </figure>




                            11   Basic / New elements in HTML5
<time>
The time element represents its contents, along with a
machine-readable form of those contents in the datetime
attribute.
The kind of content is limited to various kinds of dates, times,
time-zone offsets, and durations.

    <time>2011-11-12</time>




                              12   Basic / New elements in HTML5
Coffee Break
Sectioning content
Sectioning models
● Text-level semantics — what were previously inline tags
● Grouping content — block level elements like paragraphs,
  lists, and divs
● Forms — everything inside form tags
● Embedded content — images, video, audio, and canvas
● Sectioning content — the new structural tags




                         15   Basic / Sectioning content
Introduction
Sectioning content is used to divide an HTML document into
sections. Each section of the document would generally have
it's own header, and possibly footer, as well as content.




                            16   Basic / Sectioning content
Sectioning elements
●   article
●   aside
●   nav
●   section




                17   Basic / Sectioning content
Implicit sectioning
Because the HTML5 Sectioning Elements aren't mandatory to
define an outline, to keep compatibility with the existing web
dominated by HTML4, there is a way to define sections without
them. This is called implicit sectioning.




                             18   Basic / Sectioning content
Sample
  <section>
   <h1>Forest elephants</h1>
     <p>In    this   section,   we   discuss         the          lesser   known   forest
  elephants.
     ...this section continues...
   <h3 class="implicit subsection">Habitat</h3>
   <p>Forest elephants do not live in trees but among them.
     ...this subsection continues...
  </section>




                                19   Basic / Sectioning content
Untitled documents
If no heading is at the root level of the document (i.e. not
inside sectioning content), then the document itself will be
untitled.




                          20   Basic / Sectioning content
Sample
  <body>
      <article>
          <h1>Title</h1>
          <p>Content</p>
      </article>
  </body>




                           21   Basic / Sectioning content
Outline view
Introduction
The document outline is the structure of a document, generated by
the document’s headings, form titles, table titles, and any other
appropriate landmarks to map out the document.


The document outlining algorithm is a mechanism for producing
outline summaries of Web pages based on how they are marked
up.

                            23   Basic / Outline view
Tools
 https://addons.opera.com/en/extensions/details/html5-outliner/?display=en
 http://gsnedders.html5.org/outliner
 http://code.google.com/p/h5o




                             24   Basic / Outline view
Twentyten




            25   Basic / Outline view
Twentyeleven




               26   Basic / Outline view
Markup and CSS
  validation
Introduction
The Markup Validation Service is a validator by the World Wide Web
Consortium (W3C) that allows Internet users to check HTML and
XHTML documents for well-formed markup.




                             28   Basic / Markup and CSS validation
Why validate?
●   Validation as a debugging tool
●   Validation as a future-proof quality check
●   Validation eases maintenance
●   Validation helps teach good practices
●   Validation is a sign of professionalism




                             29   Basic / Markup and CSS validation
Markup Validation Service
 http://validator.w3.org




                           30   Basic / Outline view
CSS Validation Service
  http://jigsaw.w3.org/css-validator




                               31   Basic / Outline view
Thank you

More Related Content

PDF
#4 - CSS Selectors, CSS3 and Web typography
PPTX
PPT
CSS, CSS Selectors, CSS Box Model
PDF
Drupal7 Theming session on the occassion of Drupal7 release party in Delhi NCR
PPTX
presentation in html,css,javascript
PPTX
Languages for web(HTML,CSS,JS)
PPTX
Div Tag Tutorial
PDF
Style and Selector
#4 - CSS Selectors, CSS3 and Web typography
CSS, CSS Selectors, CSS Box Model
Drupal7 Theming session on the occassion of Drupal7 release party in Delhi NCR
presentation in html,css,javascript
Languages for web(HTML,CSS,JS)
Div Tag Tutorial
Style and Selector

Similar to #3 - Sectioning content and outline view (20)

PDF
Intro to html 5
PPT
PPTX
Html 5
KEY
Html 5, a gentle introduction
KEY
Html5, a gentle introduction
PPTX
Additional HTML
PDF
Html 5 - What's new?
PPT
Getting started with html5
PPTX
02 From HTML tags to XHTML
PDF
Lab#2 overview of html
PDF
Html5 tutorial
PDF
Html5 - Tutorial
PPTX
HTML Basic, CSS Basic, JavaScript basic.
PPTX
Html5 semantics
PPTX
Html5 Introduction
PDF
HTML5 Semantics
PPTX
Html css java script basics All about you need
PDF
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
PPTX
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
Intro to html 5
Html 5
Html 5, a gentle introduction
Html5, a gentle introduction
Additional HTML
Html 5 - What's new?
Getting started with html5
02 From HTML tags to XHTML
Lab#2 overview of html
Html5 tutorial
Html5 - Tutorial
HTML Basic, CSS Basic, JavaScript basic.
Html5 semantics
Html5 Introduction
HTML5 Semantics
Html css java script basics All about you need
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
Ad

More from iloveigloo (9)

PDF
#7 - Client-side web apps, MVC and jQuery
PDF
#6 - Template Engine: Mustache.js
PDF
#5 - CSS3 Gradients and Backgrounds
PDF
$$$ SOLDI $$$
PDF
#2 - CSS Layouts Overview
PDF
#1 - HTML5 Overview
PDF
Client-side MVC with Backbone.js (reloaded)
PDF
Client-side MVC with Backbone.js
PDF
Shoppingsquare
#7 - Client-side web apps, MVC and jQuery
#6 - Template Engine: Mustache.js
#5 - CSS3 Gradients and Backgrounds
$$$ SOLDI $$$
#2 - CSS Layouts Overview
#1 - HTML5 Overview
Client-side MVC with Backbone.js (reloaded)
Client-side MVC with Backbone.js
Shoppingsquare
Ad

#3 - Sectioning content and outline view

  • 2. Tecniche di animazione digitale 1 Michele Bertoli Founder / Lead Software Engineer at Igloo igloolab.com michele.bertoli@accademiasantagiulia.it
  • 4. Agenda New elements in HTML5 5 14 Sectioning content 22 Outline view 27 Markup and CSS validation
  • 6. Introduction How were the element names decided upon? https://developers.google.com/webmasters/state-of-the-web/2005/classes 6 Basic / New elements in HTML5
  • 7. <details> <summary> The details element represents a disclosure widget from which the user can obtain additional information or controls. The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any. 7 Basic / New elements in HTML5
  • 9. <details> <summary> 9 Basic / New elements in HTML5
  • 10. <figure> <figcaption> The figure element represents a unit of content, optionally with a caption, that is self-contained, that is typically referenced as a single unit from the main flow of the document, and that can be moved away from the main flow of the document without affecting the document’s meaning. The figcaption element represents a caption or legend for a figure. 10 Basic / New elements in HTML5
  • 11. <figure> <figcaption> <figure> <img src="/macaque.jpg" alt="Macaque in the trees"> <figcaption> A cheeky macaque, Lower Kintaganban River, Borneo. Original by <a href="http://www.flickr.com/photos/rclark/">Richard Clark</a> </figcaption> </figure> 11 Basic / New elements in HTML5
  • 12. <time> The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations. <time>2011-11-12</time> 12 Basic / New elements in HTML5
  • 15. Sectioning models ● Text-level semantics — what were previously inline tags ● Grouping content — block level elements like paragraphs, lists, and divs ● Forms — everything inside form tags ● Embedded content — images, video, audio, and canvas ● Sectioning content — the new structural tags 15 Basic / Sectioning content
  • 16. Introduction Sectioning content is used to divide an HTML document into sections. Each section of the document would generally have it's own header, and possibly footer, as well as content. 16 Basic / Sectioning content
  • 17. Sectioning elements ● article ● aside ● nav ● section 17 Basic / Sectioning content
  • 18. Implicit sectioning Because the HTML5 Sectioning Elements aren't mandatory to define an outline, to keep compatibility with the existing web dominated by HTML4, there is a way to define sections without them. This is called implicit sectioning. 18 Basic / Sectioning content
  • 19. Sample <section> <h1>Forest elephants</h1> <p>In this section, we discuss the lesser known forest elephants. ...this section continues... <h3 class="implicit subsection">Habitat</h3> <p>Forest elephants do not live in trees but among them. ...this subsection continues... </section> 19 Basic / Sectioning content
  • 20. Untitled documents If no heading is at the root level of the document (i.e. not inside sectioning content), then the document itself will be untitled. 20 Basic / Sectioning content
  • 21. Sample <body> <article> <h1>Title</h1> <p>Content</p> </article> </body> 21 Basic / Sectioning content
  • 23. Introduction The document outline is the structure of a document, generated by the document’s headings, form titles, table titles, and any other appropriate landmarks to map out the document. The document outlining algorithm is a mechanism for producing outline summaries of Web pages based on how they are marked up. 23 Basic / Outline view
  • 25. Twentyten 25 Basic / Outline view
  • 26. Twentyeleven 26 Basic / Outline view
  • 27. Markup and CSS validation
  • 28. Introduction The Markup Validation Service is a validator by the World Wide Web Consortium (W3C) that allows Internet users to check HTML and XHTML documents for well-formed markup. 28 Basic / Markup and CSS validation
  • 29. Why validate? ● Validation as a debugging tool ● Validation as a future-proof quality check ● Validation eases maintenance ● Validation helps teach good practices ● Validation is a sign of professionalism 29 Basic / Markup and CSS validation
  • 30. Markup Validation Service http://validator.w3.org 30 Basic / Outline view
  • 31. CSS Validation Service http://jigsaw.w3.org/css-validator 31 Basic / Outline view