SlideShare una empresa de Scribd logo
1 de 43
HTML
Why html5?
Why html5?
•“We're betting big on HTML 5.”
•                                 - Vic Gundotra, Google

•“The world is moving to HTML5.
•                                     - Steve Jobs, Apple

•“The future of the web is HTML5.”
•                        - Dean Hachamovitch, Microsoft
What is html5?
What is html5?

•W3C Working draft (unfinished)

• Upgrade to HTML4 + XHTML1

• New forms capabilities

• Native multimedia
What is usable now?
What is usable now?
                                     Web workers
DOCTYPE
                    File API
                               Web SQL DB          Form Controls
Web Sockets
                Canvas

                      Web Messaging         Geolocation
  Refined/Restored
     Elements                               Semantic Elements
                       Web Storage
What is usable now?
DOCTYPE

                                Form Controls
              Canvas
                         Geolocation
Refined/Restored
   Elements               Semantic Elements
What is usable now?
DOCTYPE

                                Form Controls


                         Geolocation


                          Semantic Elements
What is usable now?
DOCTYPE
Form Controls
Semantic Elements
Geolocation
DOCTYPE
DOCTYPE
xhtml (strict):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
DOCTYPE
xhtml (strict):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

html5:
<!DOCTYPE html>
DOCTYPE
xhtml (strict):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

html5:
<!DOCTYPE html>


xhtml:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


html5:
<meta charset=”utf-8” />
My first HTML5 doc
My first HTML5 doc
<!DOCTYPE html>
<meta charset=”utf-8”>
My first HTML5 doc
<!DOCTYPE html>
<meta charset=”utf-8”>
<title>Hello</title>
<p>World!</p>
My first HTML5 doc
<!DOCTYPE html>
<meta charset=”utf-8”>
<title>Hello</title>
<p>World!</p>




<head> and <body> tags are implied...!
My first HTML5 doc
My first HTML5 doc
<!DOCTYPE html>
<html>
  <head>
    <meta charset=”utf-8”/>
    <title>Hello</title>
  </head>
  <body>
    <p>World!</p>
  </body>
</html>
My first HTML5 doc
<!DOCTYPE html>
<html>
  <head>
    <meta charset=”utf-8”/>
    <title>Hello</title>
  </head>
  <body>
    <p>World!</p>
  </body>
</html>




<table> must include <tbody>
Form Controls
Form Controls
•   <input type=”email”>
•   <input type=”tel”>
•   <input type=”url”>
•   <input type=”number”>
•   <input type=”date”>
•   <input type=”datetime”>
•   <input type=”search”>
•   <input type=”range”>
•   .....
Form Controls
•   <input type=”email”>         •   form - autocomplete=”on”
•   <input type=”tel”>           •   form - novalidate=”novalidate”
•   <input type=”url”>           •   input - required=”required”
•   <input type=”number”>        •   input - autofocus=”autofocus”
•   <input type=”date”>          •   input - pattern=”/regexp/”
•   <input type=”datetime”>      •   input - placeholder=”some text...”
•   <input type=”search”>        •   input - multiple=”multiple”
•   <input type=”range”>         •   input - form=”some_form”
•   .....
Demo - Form Controls
Semantic Elements
Semantic Elements
•   <section>
•   <header>
•   <nav>
•   <footer>
•   <article>
•   <aside>
•   <hgroup>
Semantic Elements
•   <section>   - thematic grouping of content
•   <header>
•   <nav>
•   <footer>
•   <article>
•   <aside>
•   <hgroup>
Semantic Elements
•   <section>   - thematic grouping of content
•   <header>    - intro / nav / headings
•   <nav>
•   <footer>
•   <article>
•   <aside>
•   <hgroup>
Semantic Elements
•   <section>   - thematic grouping of content
•   <header>    - intro / nav / headings
•   <nav>       - navigation links
•   <footer>
•   <article>
•   <aside>
•   <hgroup>
Semantic Elements
•   <section>   - thematic grouping of content
•   <header>    - intro / nav / headings
•   <nav>       - navigation links
•   <footer>    - info about section, author, copyright
•   <article>
•   <aside>
•   <hgroup>
Semantic Elements
•   <section>   - thematic grouping of content
•   <header>    - intro / nav / headings
•   <nav>       - navigation links
•   <footer>    - info about section, author, copyright
•   <article>   - self contained post, news, comment
•   <aside>
•   <hgroup>
Semantic Elements
•   <section>   - thematic grouping of content
•   <header>    - intro / nav / headings
•   <nav>       - navigation links
•   <footer>    - info about section, author, copyright
•   <article>   - self contained post, news, comment
•   <aside>     - pull quotes
•   <hgroup>
Semantic Elements
•   <section>   - thematic grouping of content
•   <header>    - intro / nav / headings
•   <nav>       - navigation links
•   <footer>    - info about section, author, copyright
•   <article>   - self contained post, news, comment
•   <aside>     - pull quotes
•   <hgroup>    - logical grouping of headings
Polyfills...
Polyfills...
 “A polyfill, or polyfiller, is a piece of code (or plugin) that provides the technology that you, the developer,
 expect the browser to provide natively. Flattening the API landscape if you will.”

                                                                       - Remy Sharp (Founder Full Frontal JavaScript Conference)



     “A shim that mimics a future API providing fallback functionality to older browsers.”

                                                                                               - Paul Irish (creator of Modernizr)




Examples @ https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills
Demo - html5shiv
Another technique...
Another technique...
“Bulletproof HTML5 technique:
   Use a nested div with semantic class name”


                                         - Tantek Celik (Mozilla)
Another technique...
“Bulletproof HTML5 technique:
   Use a nested div with semantic class name”


                                         - Tantek Celik (Mozilla)




<section><div class=”section”>
  ...
</div></section>

.section {/* styling */}
Demo - Bulletproof
Geolocation
The only webapp API that has been moved to a
candidate recomendation...

                                     ...it’s stable
Demo - Geolocation

Más contenido relacionado

La actualidad más candente

Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5Terry Ryan
 
Grok Drupal (7) Theming
Grok Drupal (7) ThemingGrok Drupal (7) Theming
Grok Drupal (7) ThemingPINGV
 
Grok Drupal (7) Theming (presented at DrupalCon San Francisco)
Grok Drupal (7) Theming (presented at DrupalCon San Francisco)Grok Drupal (7) Theming (presented at DrupalCon San Francisco)
Grok Drupal (7) Theming (presented at DrupalCon San Francisco)Laura Scott
 
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect ModelComprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect ModelvodQA
 
Creating Custom Templates for Joomla! 2.5
Creating Custom Templates for Joomla! 2.5Creating Custom Templates for Joomla! 2.5
Creating Custom Templates for Joomla! 2.5Don Cranford
 
Web component driven development
Web component driven developmentWeb component driven development
Web component driven developmentGil Fink
 
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointBasics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointSahil Gandhi
 
Developing Your Ultimate Package
Developing Your Ultimate PackageDeveloping Your Ultimate Package
Developing Your Ultimate PackageSimon Collison
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單偉格 高
 
BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12ucbdrupal
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is nowGonzalo Cordero
 
Component-Oriented Web Development with Dart
Component-Oriented Web Development with DartComponent-Oriented Web Development with Dart
Component-Oriented Web Development with DartC4Media
 
HTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - AltranHTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - AltranRobert Nyman
 
WordPress Theme Development: Part 2
WordPress Theme Development: Part 2WordPress Theme Development: Part 2
WordPress Theme Development: Part 2Josh Lee
 
Intro to polymer-Devfest Yaoundé 2013
Intro to polymer-Devfest Yaoundé 2013Intro to polymer-Devfest Yaoundé 2013
Intro to polymer-Devfest Yaoundé 2013gdgyaounde
 
Introduction to Drupal (7) Theming
Introduction to Drupal (7) ThemingIntroduction to Drupal (7) Theming
Introduction to Drupal (7) ThemingRobert Carr
 
Custom WordPress theme development
Custom WordPress theme developmentCustom WordPress theme development
Custom WordPress theme developmentTammy Hart
 
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalWordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalChandra Prakash Thapa
 
In the Trenches with Accessible EPUB - Charles LaPierre - ebookcraft 2017
In the Trenches with Accessible EPUB - Charles LaPierre - ebookcraft 2017In the Trenches with Accessible EPUB - Charles LaPierre - ebookcraft 2017
In the Trenches with Accessible EPUB - Charles LaPierre - ebookcraft 2017BookNet Canada
 

La actualidad más candente (20)

Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Grok Drupal (7) Theming
Grok Drupal (7) ThemingGrok Drupal (7) Theming
Grok Drupal (7) Theming
 
Grok Drupal (7) Theming (presented at DrupalCon San Francisco)
Grok Drupal (7) Theming (presented at DrupalCon San Francisco)Grok Drupal (7) Theming (presented at DrupalCon San Francisco)
Grok Drupal (7) Theming (presented at DrupalCon San Francisco)
 
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect ModelComprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
 
Creating Custom Templates for Joomla! 2.5
Creating Custom Templates for Joomla! 2.5Creating Custom Templates for Joomla! 2.5
Creating Custom Templates for Joomla! 2.5
 
Web component driven development
Web component driven developmentWeb component driven development
Web component driven development
 
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointBasics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPoint
 
Developing Your Ultimate Package
Developing Your Ultimate PackageDeveloping Your Ultimate Package
Developing Your Ultimate Package
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單
 
BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is now
 
Component-Oriented Web Development with Dart
Component-Oriented Web Development with DartComponent-Oriented Web Development with Dart
Component-Oriented Web Development with Dart
 
HTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - AltranHTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - Altran
 
WordPress Theme Development: Part 2
WordPress Theme Development: Part 2WordPress Theme Development: Part 2
WordPress Theme Development: Part 2
 
Intro to polymer-Devfest Yaoundé 2013
Intro to polymer-Devfest Yaoundé 2013Intro to polymer-Devfest Yaoundé 2013
Intro to polymer-Devfest Yaoundé 2013
 
Introduction to Drupal (7) Theming
Introduction to Drupal (7) ThemingIntroduction to Drupal (7) Theming
Introduction to Drupal (7) Theming
 
Custom WordPress theme development
Custom WordPress theme developmentCustom WordPress theme development
Custom WordPress theme development
 
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalWordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
 
In the Trenches with Accessible EPUB - Charles LaPierre - ebookcraft 2017
In the Trenches with Accessible EPUB - Charles LaPierre - ebookcraft 2017In the Trenches with Accessible EPUB - Charles LaPierre - ebookcraft 2017
In the Trenches with Accessible EPUB - Charles LaPierre - ebookcraft 2017
 

Destacado

Plenaire opening praktijkvoorbeelden in de spotlight
Plenaire opening praktijkvoorbeelden in de spotlightPlenaire opening praktijkvoorbeelden in de spotlight
Plenaire opening praktijkvoorbeelden in de spotlightGemeente Schoon
 
FBC Identity Plan 2013-2018
FBC Identity Plan 2013-2018FBC Identity Plan 2013-2018
FBC Identity Plan 2013-2018fbcedmonton
 
Xsolla Offers
Xsolla OffersXsolla Offers
Xsolla Offersxsollacom
 
Xsolla PayStation
Xsolla PayStationXsolla PayStation
Xsolla PayStationxsollacom
 
Growth accounting and total factor productivity with a
Growth accounting and total factor productivity with aGrowth accounting and total factor productivity with a
Growth accounting and total factor productivity with aBrahm Shree
 
Why don't you use Digital Look Book?
Why don't you use Digital Look Book?Why don't you use Digital Look Book?
Why don't you use Digital Look Book?DianaEugeniLeQuesne
 

Destacado (7)

Plenaire opening praktijkvoorbeelden in de spotlight
Plenaire opening praktijkvoorbeelden in de spotlightPlenaire opening praktijkvoorbeelden in de spotlight
Plenaire opening praktijkvoorbeelden in de spotlight
 
FBC STEP
FBC STEPFBC STEP
FBC STEP
 
FBC Identity Plan 2013-2018
FBC Identity Plan 2013-2018FBC Identity Plan 2013-2018
FBC Identity Plan 2013-2018
 
Xsolla Offers
Xsolla OffersXsolla Offers
Xsolla Offers
 
Xsolla PayStation
Xsolla PayStationXsolla PayStation
Xsolla PayStation
 
Growth accounting and total factor productivity with a
Growth accounting and total factor productivity with aGrowth accounting and total factor productivity with a
Growth accounting and total factor productivity with a
 
Why don't you use Digital Look Book?
Why don't you use Digital Look Book?Why don't you use Digital Look Book?
Why don't you use Digital Look Book?
 

Similar a Html5 Brown Bag

5 ways to embrace HTML5 today
5 ways to embrace HTML5 today5 ways to embrace HTML5 today
5 ways to embrace HTML5 todayDaniel Ryan
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developersHernan Mammana
 
Darwin web standards
Darwin web standardsDarwin web standards
Darwin web standardsJustin Avery
 
Html5 drupal7 with mandakini kumari(1)
Html5 drupal7 with mandakini kumari(1)Html5 drupal7 with mandakini kumari(1)
Html5 drupal7 with mandakini kumari(1)Mandakini Kumari
 
HTML5 & Front-end overview
HTML5 & Front-end overviewHTML5 & Front-end overview
HTML5 & Front-end overviewAshish Mukherjee
 
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]Aaron Gustafson
 
HTML5 History & Features
HTML5 History & FeaturesHTML5 History & Features
HTML5 History & FeaturesDave Ross
 
HTML Semantic Tags
HTML Semantic TagsHTML Semantic Tags
HTML Semantic TagsBruce Kyle
 
Advanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojoAdvanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojoFu Cheng
 
HTML5 Essential Training
HTML5 Essential TrainingHTML5 Essential Training
HTML5 Essential TrainingKaloyan Kosev
 
WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)Shumpei Shiraishi
 
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)Doris Chen
 
SW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+DrupalSW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+DrupalJen Simmons
 

Similar a Html5 Brown Bag (20)

5 ways to embrace HTML5 today
5 ways to embrace HTML5 today5 ways to embrace HTML5 today
5 ways to embrace HTML5 today
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developers
 
Html5 public
Html5 publicHtml5 public
Html5 public
 
Darwin web standards
Darwin web standardsDarwin web standards
Darwin web standards
 
Html5 drupal7 with mandakini kumari(1)
Html5 drupal7 with mandakini kumari(1)Html5 drupal7 with mandakini kumari(1)
Html5 drupal7 with mandakini kumari(1)
 
HTML5 & Front-end overview
HTML5 & Front-end overviewHTML5 & Front-end overview
HTML5 & Front-end overview
 
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
 
HTML5 History & Features
HTML5 History & FeaturesHTML5 History & Features
HTML5 History & Features
 
HTML Semantic Tags
HTML Semantic TagsHTML Semantic Tags
HTML Semantic Tags
 
Looking into HTML5 + CSS3
Looking into HTML5 + CSS3Looking into HTML5 + CSS3
Looking into HTML5 + CSS3
 
Advanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojoAdvanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojo
 
Apex & jQuery Mobile
Apex & jQuery MobileApex & jQuery Mobile
Apex & jQuery Mobile
 
HTML5 Essential Training
HTML5 Essential TrainingHTML5 Essential Training
HTML5 Essential Training
 
WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)
 
WHAT IS HTML5?(20100510)
WHAT IS HTML5?(20100510)WHAT IS HTML5?(20100510)
WHAT IS HTML5?(20100510)
 
HTML 5 - Overview
HTML 5 - OverviewHTML 5 - Overview
HTML 5 - Overview
 
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
 
HTML 5
HTML 5HTML 5
HTML 5
 
SW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+DrupalSW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+Drupal
 
[In Control 2010] HTML5
[In Control 2010] HTML5[In Control 2010] HTML5
[In Control 2010] HTML5
 

Último

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 

Último (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 

Html5 Brown Bag

  • 3. Why html5? •“We're betting big on HTML 5.” • - Vic Gundotra, Google •“The world is moving to HTML5. • - Steve Jobs, Apple •“The future of the web is HTML5.” • - Dean Hachamovitch, Microsoft
  • 5. What is html5? •W3C Working draft (unfinished) • Upgrade to HTML4 + XHTML1 • New forms capabilities • Native multimedia
  • 7. What is usable now? Web workers DOCTYPE File API Web SQL DB Form Controls Web Sockets Canvas Web Messaging Geolocation Refined/Restored Elements Semantic Elements Web Storage
  • 8. What is usable now? DOCTYPE Form Controls Canvas Geolocation Refined/Restored Elements Semantic Elements
  • 9. What is usable now? DOCTYPE Form Controls Geolocation Semantic Elements
  • 10. What is usable now? DOCTYPE Form Controls Semantic Elements Geolocation
  • 12. DOCTYPE xhtml (strict): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  • 13. DOCTYPE xhtml (strict): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> html5: <!DOCTYPE html>
  • 14. DOCTYPE xhtml (strict): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> html5: <!DOCTYPE html> xhtml: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> html5: <meta charset=”utf-8” />
  • 16. My first HTML5 doc <!DOCTYPE html> <meta charset=”utf-8”>
  • 17. My first HTML5 doc <!DOCTYPE html> <meta charset=”utf-8”> <title>Hello</title> <p>World!</p>
  • 18. My first HTML5 doc <!DOCTYPE html> <meta charset=”utf-8”> <title>Hello</title> <p>World!</p> <head> and <body> tags are implied...!
  • 20. My first HTML5 doc <!DOCTYPE html> <html> <head> <meta charset=”utf-8”/> <title>Hello</title> </head> <body> <p>World!</p> </body> </html>
  • 21. My first HTML5 doc <!DOCTYPE html> <html> <head> <meta charset=”utf-8”/> <title>Hello</title> </head> <body> <p>World!</p> </body> </html> <table> must include <tbody>
  • 23. Form Controls • <input type=”email”> • <input type=”tel”> • <input type=”url”> • <input type=”number”> • <input type=”date”> • <input type=”datetime”> • <input type=”search”> • <input type=”range”> • .....
  • 24. Form Controls • <input type=”email”> • form - autocomplete=”on” • <input type=”tel”> • form - novalidate=”novalidate” • <input type=”url”> • input - required=”required” • <input type=”number”> • input - autofocus=”autofocus” • <input type=”date”> • input - pattern=”/regexp/” • <input type=”datetime”> • input - placeholder=”some text...” • <input type=”search”> • input - multiple=”multiple” • <input type=”range”> • input - form=”some_form” • .....
  • 25. Demo - Form Controls
  • 27. Semantic Elements • <section> • <header> • <nav> • <footer> • <article> • <aside> • <hgroup>
  • 28. Semantic Elements • <section> - thematic grouping of content • <header> • <nav> • <footer> • <article> • <aside> • <hgroup>
  • 29. Semantic Elements • <section> - thematic grouping of content • <header> - intro / nav / headings • <nav> • <footer> • <article> • <aside> • <hgroup>
  • 30. Semantic Elements • <section> - thematic grouping of content • <header> - intro / nav / headings • <nav> - navigation links • <footer> • <article> • <aside> • <hgroup>
  • 31. Semantic Elements • <section> - thematic grouping of content • <header> - intro / nav / headings • <nav> - navigation links • <footer> - info about section, author, copyright • <article> • <aside> • <hgroup>
  • 32. Semantic Elements • <section> - thematic grouping of content • <header> - intro / nav / headings • <nav> - navigation links • <footer> - info about section, author, copyright • <article> - self contained post, news, comment • <aside> • <hgroup>
  • 33. Semantic Elements • <section> - thematic grouping of content • <header> - intro / nav / headings • <nav> - navigation links • <footer> - info about section, author, copyright • <article> - self contained post, news, comment • <aside> - pull quotes • <hgroup>
  • 34. Semantic Elements • <section> - thematic grouping of content • <header> - intro / nav / headings • <nav> - navigation links • <footer> - info about section, author, copyright • <article> - self contained post, news, comment • <aside> - pull quotes • <hgroup> - logical grouping of headings
  • 36. Polyfills... “A polyfill, or polyfiller, is a piece of code (or plugin) that provides the technology that you, the developer, expect the browser to provide natively. Flattening the API landscape if you will.” - Remy Sharp (Founder Full Frontal JavaScript Conference) “A shim that mimics a future API providing fallback functionality to older browsers.” - Paul Irish (creator of Modernizr) Examples @ https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills
  • 39. Another technique... “Bulletproof HTML5 technique: Use a nested div with semantic class name” - Tantek Celik (Mozilla)
  • 40. Another technique... “Bulletproof HTML5 technique: Use a nested div with semantic class name” - Tantek Celik (Mozilla) <section><div class=”section”> ... </div></section> .section {/* styling */}
  • 42. Geolocation The only webapp API that has been moved to a candidate recomendation... ...it’s stable

Notas del editor

  1. \n
  2. \n
  3. \n
  4. HTML4 successor webapps 1 + xhtml2 merged \n\n2009 W3C dropped XHTML2 to focus on HTML5\n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. W3C did research on most commonly used class names, to come up with new semantic elements.\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  18. W3C did research on most commonly used class names, to come up with new semantic elements.\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  19. \n
  20. W3C did research on most commonly used class names, to come up with new semantic elements.\nBrowsers that dont recognise the elements ignore them ,meaning they cant be styled\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  21. W3C did research on most commonly used class names, to come up with new semantic elements.\nBrowsers that dont recognise the elements ignore them ,meaning they cant be styled\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  22. W3C did research on most commonly used class names, to come up with new semantic elements.\nBrowsers that dont recognise the elements ignore them ,meaning they cant be styled\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  23. W3C did research on most commonly used class names, to come up with new semantic elements.\nBrowsers that dont recognise the elements ignore them ,meaning they cant be styled\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  24. W3C did research on most commonly used class names, to come up with new semantic elements.\nBrowsers that dont recognise the elements ignore them ,meaning they cant be styled\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  25. W3C did research on most commonly used class names, to come up with new semantic elements.\nBrowsers that dont recognise the elements ignore them ,meaning they cant be styled\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  26. W3C did research on most commonly used class names, to come up with new semantic elements.\nBrowsers that dont recognise the elements ignore them ,meaning they cant be styled\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  27. W3C did research on most commonly used class names, to come up with new semantic elements.\nBrowsers that dont recognise the elements ignore them ,meaning they cant be styled\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  28. polyfill is a piece of code added to the page to augment the browser with the tech you would expect it to provide natively.\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  29. polyfill is a piece of code added to the page to augment the browser with the tech you would expect it to provide natively.\n\nBrowsers that encounter tags that they dont recognise, will be ignored. Means they element can&amp;#x2019;t be styled... however... Polyfills\n
  30. \n
  31. css fits in with the OOCSS technique whereby you never style elements only classnames, makes styling more reusable... should be doing this anyway!\n\nSome elements dont allow the div to be nested inside, so the div would wrap those elements instead ie hgroup\n
  32. css fits in with the OOCSS technique whereby you never style elements only classnames, makes styling more reusable... should be doing this anyway!\n\nSome elements dont allow the div to be nested inside, so the div would wrap those elements instead ie hgroup\n
  33. \n
  34. \n
  35. needs to have well designed fallback, not just for browser support, but also because users may choose not too share there location info, or no location info available.\n