SlideShare une entreprise Scribd logo
1  sur  37
Télécharger pour lire hors ligne
Semantic Markup
   Creating Outline
@hmammana
Goal



Understand Semantic Markup & Outline
Content
•   What is markup?
•   What is semantic?
•   Kinds of contents
•   What is outline?
•   HTML Elements
•   WAI-ARIA
•   Microdata
•   Designers
•   Tools
What is markup?


             A markup language is a modern system for
               annotating a document in a way that is
             syntactically distinguishable from the text.




http://en.wikipedia.org/wiki/Markup_language
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.
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
http://www.yomiuri.co.jp/
Kinds of content

           • Metadata content
           • Flow content
           • Sectioning content
           • Heading content
           • Phrasing content
           • Embedded content
           • Interactive content

http://dev.w3.org/html5/spec/single-page.html#kinds-of-content
Kinds of content




http://dev.w3.org/html5/spec/single-page.html#kinds-of-content
Exercise
                                                 math, svg, a, abbr, address, area,
                                                 article, aside, audio, b, base, bdi,
                                                 bdo, blockquote, body, br, button,
                                                 button, canvas, caption, cite, code,
                                                 col, colgroup, command, datalist, dd,
                                                 del, details, dfn, div, dl, dt, em,
                                                 embed, fieldset, figcaption, figure,
                                                 footer, form, h1, h2, h3, h4, h5, h6,
                                                 head, header, hgroup, hr, html, i,
                                                 iframe, img, input, ins, kbd, keygen,
                                                 label, legend, li, link, map, mark,
                                                 menu, meta, meter, nav, noscript,
                                                 object, ol, optgroup, option, output,
                                                 p, param, pre, progress, q, rp, rt,
                                                 ruby, s, samp, script, section, select,
                                                 small, source, span, strong, style,
                                                 sub, summary, sup, table, tbody, td,
                                                 textarea, tfoot, th, thead, time, title,
                                                 tr, track, u, ul, var, video, wbr

http://www.w3.org/TR/html-markup/elements.html
Useful daily outline
What is outline?



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




http://html5doctor.com/outlines/
Section Elements


• Outline related HTML elements
 • Heading Elements
 • Sectioning Elements
 • Root Elements
Heading Elements


  It defines the header of a section, whether
explicitly marked up using sectioning content
 elements, or implied by the heading content
                    itself.
Headings & Sections
Heading Elements
       h1
       h2
       h3
       h4
       h5
       h6
     hgroup
Sectioning Elements


 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.
Headings & Sections
Sectioning Elements


       article
        aside
         nav
       section
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.
Root Elements

   blockquote
      body
     details
      dialog
     fieldset
      figure
        td
Section Usage Summary
The <aside> usage




http://dev.w3.org/html5/spec/single-page.html#usage-summary-0
WAI-ARIA

           It defines a way to make Web content and Web
             applications more accessible to people with
            disabilities. It especially helps with dynamic
           content and advanced user interface controls
            developed with Ajax, HTML, JavaScript, and
                         related technologies.




http://www.w3.org/WAI/intro/aria.php
Components


• Roles
• States
• Properties
http://www.paciellogroup.com/blog/misc/ARIA/togglebutton.html
Checkbox
Exercise




http://www.w3.org/TR/wai-aria/roles#role_definitions
http://www.w3.org/TR/wai-aria/states_and_properties#global_states
Microdata


            Microdata is a specification used to nest
        semantics within existing content on web pages.
        Search engines, web crawlers, and browsers can
           extract and process it to provide a richer
                browsing experience for users.




http://en.wikipedia.org/wiki/Microdata_(HTML)
Designers must

           • design with accessibility in mind.
           • design without content is decoration.
           • know the context and cultural
             background.
           • label clear and unambiguous.
           • bring all the information needed.


http://www.ixdstudio.com/blog/8-things-every-ui-designer-should-know/
Tools


• HTML5 Outliner
 • WebApp
 • Chrome extension
 • Opera extension
Thanks
 @chicoui

Contenu connexe

Tendances

ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)Clément Wehrung
 
Simplifying CSS Selectors
Simplifying CSS SelectorsSimplifying CSS Selectors
Simplifying CSS SelectorsBaris Aydinoglu
 
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective, Ajax ...
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective,  Ajax ...The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective,  Ajax ...
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective, Ajax ...Nicole Sullivan
 
Progressive Prototyping w/HTML5, CSS3 and jQuery
Progressive Prototyping w/HTML5, CSS3 and jQueryProgressive Prototyping w/HTML5, CSS3 and jQuery
Progressive Prototyping w/HTML5, CSS3 and jQueryTodd Zaki Warfel
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!Syahmi RH
 
Web front end development introduction to html css and javascript
Web front end development introduction to html css and javascriptWeb front end development introduction to html css and javascript
Web front end development introduction to html css and javascriptMarc Huang
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & cssPredhin Sapru
 
Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Devang Garach
 
CSC103 Web Technologies: HTML, CSS, JS
CSC103 Web Technologies: HTML, CSS, JSCSC103 Web Technologies: HTML, CSS, JS
CSC103 Web Technologies: HTML, CSS, JSRichard Homa
 
Noticias Ducez
Noticias DucezNoticias Ducez
Noticias Ducezmatheus
 
Introduction to HTML, CSS, and Javascript
Introduction to HTML, CSS, and JavascriptIntroduction to HTML, CSS, and Javascript
Introduction to HTML, CSS, and JavascriptAgustinus Theodorus
 
Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Todd Zaki Warfel
 
CSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreCSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreRuss Weakley
 

Tendances (20)

ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
 
Xhtml 2010
Xhtml 2010Xhtml 2010
Xhtml 2010
 
Simplifying CSS Selectors
Simplifying CSS SelectorsSimplifying CSS Selectors
Simplifying CSS Selectors
 
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective, Ajax ...
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective,  Ajax ...The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective,  Ajax ...
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective, Ajax ...
 
HTML 5
HTML 5HTML 5
HTML 5
 
Progressive Prototyping w/HTML5, CSS3 and jQuery
Progressive Prototyping w/HTML5, CSS3 and jQueryProgressive Prototyping w/HTML5, CSS3 and jQuery
Progressive Prototyping w/HTML5, CSS3 and jQuery
 
Html5 ux london
Html5 ux londonHtml5 ux london
Html5 ux london
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!
 
Web front end development introduction to html css and javascript
Web front end development introduction to html css and javascriptWeb front end development introduction to html css and javascript
Web front end development introduction to html css and javascript
 
Css3
Css3Css3
Css3
 
CSS Overview
CSS OverviewCSS Overview
CSS Overview
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & css
 
Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3
 
CSS3 and Selectors
CSS3 and SelectorsCSS3 and Selectors
CSS3 and Selectors
 
CSC103 Web Technologies: HTML, CSS, JS
CSC103 Web Technologies: HTML, CSS, JSCSC103 Web Technologies: HTML, CSS, JS
CSC103 Web Technologies: HTML, CSS, JS
 
Noticias Ducez
Noticias DucezNoticias Ducez
Noticias Ducez
 
Introduction to HTML, CSS, and Javascript
Introduction to HTML, CSS, and JavascriptIntroduction to HTML, CSS, and Javascript
Introduction to HTML, CSS, and Javascript
 
Html JavaScript and CSS
Html JavaScript and CSSHtml JavaScript and CSS
Html JavaScript and CSS
 
Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3
 
CSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreCSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and more
 

En vedette

Ee2 chapter13 counters
Ee2 chapter13 countersEe2 chapter13 counters
Ee2 chapter13 countersCK Yang
 
The prototype property
The prototype propertyThe prototype property
The prototype propertyHernan Mammana
 
Ee2 chapter14 ic_counters
Ee2 chapter14 ic_countersEe2 chapter14 ic_counters
Ee2 chapter14 ic_countersCK Yang
 
HTML5 - Just the basics
HTML5 - Just the basicsHTML5 - Just the basics
HTML5 - Just the basicsJames VanDyke
 
JavaScript regular expression
JavaScript regular expressionJavaScript regular expression
JavaScript regular expressionHernan Mammana
 
Web topic 1 internet
Web topic 1  internetWeb topic 1  internet
Web topic 1 internetCK Yang
 
Preparing images for the Web
Preparing images for the WebPreparing images for the Web
Preparing images for the Websdireland
 
Web topic 33 publish websites
Web topic 33  publish websitesWeb topic 33  publish websites
Web topic 33 publish websitesCK Yang
 
Web topic 31 setup remote site
Web topic 31  setup remote siteWeb topic 31  setup remote site
Web topic 31 setup remote siteCK Yang
 
Web topic 27 class test
Web topic 27  class testWeb topic 27  class test
Web topic 27 class testCK Yang
 
Web topic 11 importance of html validation
Web topic 11  importance of html validationWeb topic 11  importance of html validation
Web topic 11 importance of html validationCK Yang
 
Regular Expressions 101
Regular Expressions 101Regular Expressions 101
Regular Expressions 101Raj Rajandran
 

En vedette (16)

Ee2 chapter13 counters
Ee2 chapter13 countersEe2 chapter13 counters
Ee2 chapter13 counters
 
The html5 outline
The html5 outlineThe html5 outline
The html5 outline
 
Layout
LayoutLayout
Layout
 
The prototype property
The prototype propertyThe prototype property
The prototype property
 
Tipowebgrafía
TipowebgrafíaTipowebgrafía
Tipowebgrafía
 
Ee2 chapter14 ic_counters
Ee2 chapter14 ic_countersEe2 chapter14 ic_counters
Ee2 chapter14 ic_counters
 
Live streaming
Live streamingLive streaming
Live streaming
 
HTML5 - Just the basics
HTML5 - Just the basicsHTML5 - Just the basics
HTML5 - Just the basics
 
JavaScript regular expression
JavaScript regular expressionJavaScript regular expression
JavaScript regular expression
 
Web topic 1 internet
Web topic 1  internetWeb topic 1  internet
Web topic 1 internet
 
Preparing images for the Web
Preparing images for the WebPreparing images for the Web
Preparing images for the Web
 
Web topic 33 publish websites
Web topic 33  publish websitesWeb topic 33  publish websites
Web topic 33 publish websites
 
Web topic 31 setup remote site
Web topic 31  setup remote siteWeb topic 31  setup remote site
Web topic 31 setup remote site
 
Web topic 27 class test
Web topic 27  class testWeb topic 27  class test
Web topic 27 class test
 
Web topic 11 importance of html validation
Web topic 11  importance of html validationWeb topic 11  importance of html validation
Web topic 11 importance of html validation
 
Regular Expressions 101
Regular Expressions 101Regular Expressions 101
Regular Expressions 101
 

Similaire à Understanding Semantic Markup and Outlines

Super stylesheets download_en
Super stylesheets download_enSuper stylesheets download_en
Super stylesheets download_enmbeatrizoliveira
 
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
Beginner & Intermediate Guide to HTML5/CSS3 In DrupalBeginner & Intermediate Guide to HTML5/CSS3 In Drupal
Beginner & Intermediate Guide to HTML5/CSS3 In DrupalMediacurrent
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopVero Rebagliatte
 
A Content Repository for TYPO3 5.0
A Content Repository for TYPO3 5.0A Content Repository for TYPO3 5.0
A Content Repository for TYPO3 5.0Karsten Dambekalns
 
What “Model” DITA Specializations Can Teach About Information Modelinc
What “Model” DITA Specializations Can Teach About Information ModelincWhat “Model” DITA Specializations Can Teach About Information Modelinc
What “Model” DITA Specializations Can Teach About Information ModelincDon Day
 
Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1Paxcel Technologies
 
Oleksandr Krakovetskyi - Orchard CMS
Oleksandr Krakovetskyi - Orchard CMSOleksandr Krakovetskyi - Orchard CMS
Oleksandr Krakovetskyi - Orchard CMSCiklum Ukraine
 
Getting to know perch — and perch runway!
Getting to know perch — and perch runway!Getting to know perch — and perch runway!
Getting to know perch — and perch runway!Abigail Larsen
 
TPIP-1.pptx front end development of css
TPIP-1.pptx front end development of cssTPIP-1.pptx front end development of css
TPIP-1.pptx front end development of cssKorbanMaheshwari
 
Web forms and html (lect 1)
Web forms and html (lect 1)Web forms and html (lect 1)
Web forms and html (lect 1)Salman Memon
 
Hypermedia System Architecture for a Web of Things
Hypermedia System Architecture for a Web of ThingsHypermedia System Architecture for a Web of Things
Hypermedia System Architecture for a Web of ThingsMichael Koster
 
Ruby and Rails Basics
Ruby and Rails BasicsRuby and Rails Basics
Ruby and Rails BasicsArrrrCamp
 
Html&Browser
Html&BrowserHtml&Browser
Html&BrowserAlipay
 

Similaire à Understanding Semantic Markup and Outlines (20)

Super stylesheets download_en
Super stylesheets download_enSuper stylesheets download_en
Super stylesheets download_en
 
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
Beginner & Intermediate Guide to HTML5/CSS3 In DrupalBeginner & Intermediate Guide to HTML5/CSS3 In Drupal
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
Html5 - Tutorial
Html5 - TutorialHtml5 - Tutorial
Html5 - Tutorial
 
A Content Repository for TYPO3 5.0
A Content Repository for TYPO3 5.0A Content Repository for TYPO3 5.0
A Content Repository for TYPO3 5.0
 
Batch -25 PPT.pptx
Batch -25 PPT.pptxBatch -25 PPT.pptx
Batch -25 PPT.pptx
 
What “Model” DITA Specializations Can Teach About Information Modelinc
What “Model” DITA Specializations Can Teach About Information ModelincWhat “Model” DITA Specializations Can Teach About Information Modelinc
What “Model” DITA Specializations Can Teach About Information Modelinc
 
Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1
 
HTML5 and CSS3
HTML5 and CSS3HTML5 and CSS3
HTML5 and CSS3
 
NLP and the Web
NLP and the WebNLP and the Web
NLP and the Web
 
Oleksandr Krakovetskyi - Orchard CMS
Oleksandr Krakovetskyi - Orchard CMSOleksandr Krakovetskyi - Orchard CMS
Oleksandr Krakovetskyi - Orchard CMS
 
Html
HtmlHtml
Html
 
Getting to know perch — and perch runway!
Getting to know perch — and perch runway!Getting to know perch — and perch runway!
Getting to know perch — and perch runway!
 
TPIP-1.pptx front end development of css
TPIP-1.pptx front end development of cssTPIP-1.pptx front end development of css
TPIP-1.pptx front end development of css
 
Web forms and html (lect 1)
Web forms and html (lect 1)Web forms and html (lect 1)
Web forms and html (lect 1)
 
Hypermedia System Architecture for a Web of Things
Hypermedia System Architecture for a Web of ThingsHypermedia System Architecture for a Web of Things
Hypermedia System Architecture for a Web of Things
 
Ruby and Rails Basics
Ruby and Rails BasicsRuby and Rails Basics
Ruby and Rails Basics
 
Schemas
SchemasSchemas
Schemas
 
Html&Browser
Html&BrowserHtml&Browser
Html&Browser
 

Understanding Semantic Markup and Outlines