SlideShare ist ein Scribd-Unternehmen logo
1 von 66
Downloaden Sie, um offline zu lesen
HTML5 Fantastic Forms For Mobile Web
                            @tammybutow




Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo

        03 Syntax Review

        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo

        03 Syntax Review

        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
http://www.flickr.com/photos/58847482@N03/5597332989/
Wednesday, 23 May 12
@zcorpan
                                                   Simon Pieters




                                                     @annevk
                                                  Anne Van Kesteren




       Fantastic Forms                      @tammybutow
http://dev.w3.org/html5/html4-differences/
Wednesday, 23 May 12
Image of the people


                                              Mark Pilgrim




       Fantastic Forms                 @tammybutow
http://diveintohtml5.info/forms.html
Wednesday, 23 May 12
@miketaylr
                        miketaylr.com




http://miketaylr.com/
Wednesday, 23 May 12
@miketaylr
                                                 miketaylr.com




http://miketaylr.com/code/input-type-attr.html
Wednesday, 23 May 12
Fantastic Forms   @tammybutow
http://modernizr.com/
Wednesday, 23 May 12
@ryanseddon
                                        thecssninja.com




    https://github.com/ryanseddon/H5F
Wednesday, 23 May 12
Why use HTML5 form features?
          ‣ Future Proof
                • Great for mobile and tablet devices
                • Form features degrade gracefully in every browser
                • You can use Modernizr to create JavaScript fallbacks

          ‣ Customer Friendly
                • Great for people on-the-go
                • Makes it easier for people to know what data you need
                • Good for slow connections on mobile


       Fantastic Forms                                            @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo

        03 Syntax Review

        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo

        03 Syntax Review

        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo

        03 Syntax Review

        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Making Stuff Is Fun
       A mobile web form to collect stuff




       Fantastic Forms                     @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo

        03 Syntax Review

        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo

        03 Syntax Review

        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo
        03 Syntax Review

        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo
        03 Syntax Review

        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms for Mobile Web
                                         Required Fields
                                           Date Picker
                                        Placeholder Text

                       HTML5            Number Spinbox
                       Forms             Number Slider
                                        Custom Keyboards
                                           Autofocus
                                           Validation

       Fantastic Forms              @tammybutow
Wednesday, 23 May 12
Required Fields
       ‣ index.html




       Fantastic Forms   @tammybutow
Wednesday, 23 May 12
Required Fields
       ‣ index.html




       Fantastic Forms   @tammybutow
Wednesday, 23 May 12
Required Fields
       ‣ index.html

            <form>
            <label>Launch date:</label>
            <input type="date" id="launch_date" name="launch_date" required>
            </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Required Fields
       ‣ index.html

            <form>
            <label>Launch date:</label>
            <input type="date" id="launch_date" name="launch_date" required>
            </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Fantastic Forms for Mobile Web
                                         Required Fields
                                           Date Picker
                                        Placeholder Text

                       HTML5            Number Spinbox
                       Forms             Number Slider
                                        Custom Keyboards
                                           Autofocus
                                           Validation

       Fantastic Forms              @tammybutow
Wednesday, 23 May 12
Date Picker
       ‣ index.html




       Fantastic Forms   @tammybutow
Wednesday, 23 May 12
Date Picker
       ‣ index.html

            <form>
            <label>Launch date:</label>
            <input type="date" id="launch_date" name="launch_date" required>
            </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Date Picker
       ‣ index.html

            <form>
            <label>Launch date:</label>
            <input type="date" id="launch_date" name="launch_date" required>
            </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Date Picker
       ‣ index.html




       Fantastic Forms                                   @tammybutow
                         FC-compliant email validation
Wednesday, 23 May 12
Fantastic Forms for Mobile Web
                                         Required Fields
                                           Date Picker
                                        Placeholder Text

                       HTML5            Number Spinbox
                       Forms             Number Slider
                                        Custom Keyboards
                                           Autofocus
                                           Validation

       Fantastic Forms              @tammybutow
Wednesday, 23 May 12
Placeholder Text
       ‣ index.html




       Fantastic Forms    @tammybutow
Wednesday, 23 May 12
Placeholder Text
       ‣ index.html




       Fantastic Forms    @tammybutow
Wednesday, 23 May 12
Placeholder Text
       ‣ index.html

            <form>
            <label>Full name:</label>
            <input type="text" id="full_name" name="full_name"
            placeholder="Jane Doe" required>
            </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Placeholder Text
       ‣ index.html

            <form>
            <label>Full name:</label>
            <input type="text" id="full_name" name="full_name"
            placeholder="Jane Doe" required>
            </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Fantastic Forms for Mobile Web
                                         Required Fields
                                           Date Picker
                                        Placeholder Text

                       HTML5                Number
                       Forms             Number Slider
                                        Custom Keyboards
                                           Autofocus
                                           Validation

       Fantastic Forms              @tammybutow
Wednesday, 23 May 12
Number
       ‣ index.html




       Fantastic Forms   @tammybutow
Wednesday, 23 May 12
Number
       ‣ index.html




       Fantastic Forms   @tammybutow
Wednesday, 23 May 12
Number
       ‣ index.html


           <form>

           <label>How many team members:</label>
           <input type="number" id=“project_range” name=“project_range”
           min="1" max="10" step="1" value="1">

           </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Number
       ‣ index.html


           <form>

           <label>How many team members:</label>
           <input type="number" id=“project_range” name=“project_range”
           min="1" max="10" step="1" value="1">

           </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Fantastic Forms for Mobile Web
                                         Required Fields
                                           Date Picker
                                        Placeholder Text

                       HTML5            Number Spinbox
                       Forms             Number Slider
                                        Custom Keyboards
                                           Autofocus
                                           Validation

       Fantastic Forms              @tammybutow
Wednesday, 23 May 12
Number Slider
       ‣ index.html




       Fantastic Forms   @tammybutow
Wednesday, 23 May 12
Number Slider
       ‣ index.html




       Fantastic Forms   @tammybutow
Wednesday, 23 May 12
Number Slider
       ‣ index.html


           <form>

           <label>How complete is your project:</label>
           <input type="range" id=“project_range” name=“project_range”
           min=“1” max=“100” step=“10” value=“10” >

           </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Number Slider
       ‣ index.html


           <form>

           <label>How complete is your project:</label>
           <input type="range" id=“project_range” name=“project_range”
           min=“1” max=“100” step=“10” value=“10” >

           </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Fantastic Forms for Mobile Web
                                         Required Fields
                                           Date Picker
                                        Placeholder Text

                       HTML5            Number Spinbox
                       Forms             Number Slider
                                        Custom Keyboards
                                           Autofocus
                                           Validation

       Fantastic Forms              @tammybutow
Wednesday, 23 May 12
Standard        Number   Tel         URL
       ‣ index.html




       Fantastic Forms                  @tammybutow
Wednesday, 23 May 12
Custom Keyboards
       ‣ index.html




       Fantastic Forms    @tammybutow
Wednesday, 23 May 12
Custom Keyboards
       ‣ index.html


           <form>

           <label>URL:</label>
           <input type="url" id=“url” name=“url” placeholder = “http://
           yourproject.com” required>

           </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Custom Keyboards
       ‣ index.html


           <form>

           <label>URL:</label>
           <input type="url" id=“url” name=“url” placeholder = “http://
           yourproject.com” required>

           </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Fantastic Forms for Mobile Web
                                         Required Fields
                                           Date Picker
                                        Placeholder Text

                       HTML5            Number Spinbox
                       Forms             Number Slider
                                        Custom Keyboards
                                           Autofocus
                                           Validation

       Fantastic Forms              @tammybutow
Wednesday, 23 May 12
Autofocus
       ‣ index.html




       Fantastic Forms   @tammybutow
Wednesday, 23 May 12
Autofocus
       ‣ index.html




       Fantastic Forms   @tammybutow
Wednesday, 23 May 12
Autofocus
       ‣ index.html


           <form>

           <label>Full name:</label>
           <input type=“text” id= “full_name” name= “full_name” placeholder=
           “Jane Doe” required autofocus>

           </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Autofocus
       ‣ index.html


           <form>

           <label>Full name:</label>
           <input type=“text” id= “full_name” name= “full_name” placeholder=
           “Jane Doe” required autofocus>

           </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Fantastic Forms for Mobile Web
                                         Required Fields
                                           Date Picker
                                        Placeholder Text

                       HTML5            Number Spinbox
                       Forms             Number Slider
                                        Custom Keyboards
                                           Autofocus
                                           Validation

       Fantastic Forms              @tammybutow
Wednesday, 23 May 12
Validation
       ‣ index.html




    The browser automatically
      offers RFC-compliant
     email validation, even if
       scripting is disabled.

       Fantastic Forms           @tammybutow
Wednesday, 23 May 12
Validation
       ‣ index.html




       Fantastic Forms   @tammybutow
Wednesday, 23 May 12
Validation
       ‣ index.html


           <form>

           <label>Email address:</label>
           <input type="email" id=“email_addr” name=“email_addr” placeholder
           = “janedoe@mail.com” required>

           </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Validation
       ‣ index.html


           <form>

           <label>Email address:</label>
           <input type="email" id=“email_addr” name=“email_addr” placeholder
           = “janedoe@mail.com” required>

           </form>




       Fantastic Forms                                    @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo
        03 Syntax Review
        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo
        03 Syntax Review
        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo
        03 Syntax Review
        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo
        03 Syntax Review
        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Fantastic Forms For Mobile Web
        01 Why you should know about HTML5 Forms

        02 Live Demo
        03 Syntax Review
        04 Code Challenge




       Fantastic Forms                             @tammybutow
Wednesday, 23 May 12
Code Challenge
          ‣ Create a mobile web page
                • You could try out the initializr reponsive web template (On GITHUB)

          ‣ Add a HTML5 Form
                • Try out different input types and attributes

          ‣ Share it
                • Tweet the link/screenshot and add the #WDC12 hashtag

          ‣ Have fun ☺


       Fantastic Forms                                             @tammybutow
Wednesday, 23 May 12
HTML5 Fantastic Forms For Mobile Web
                            @tammybutow




Wednesday, 23 May 12

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
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
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
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
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
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
 

Kürzlich hochgeladen (20)

Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
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!
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
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
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
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
 

Empfohlen

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Empfohlen (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

HTML5 Form Features for Mobile Web

  • 1. HTML5 Fantastic Forms For Mobile Web @tammybutow Wednesday, 23 May 12
  • 2. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 3. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 5. @zcorpan Simon Pieters @annevk Anne Van Kesteren Fantastic Forms @tammybutow http://dev.w3.org/html5/html4-differences/ Wednesday, 23 May 12
  • 6. Image of the people Mark Pilgrim Fantastic Forms @tammybutow http://diveintohtml5.info/forms.html Wednesday, 23 May 12
  • 7. @miketaylr miketaylr.com http://miketaylr.com/ Wednesday, 23 May 12
  • 8. @miketaylr miketaylr.com http://miketaylr.com/code/input-type-attr.html Wednesday, 23 May 12
  • 9. Fantastic Forms @tammybutow http://modernizr.com/ Wednesday, 23 May 12
  • 10. @ryanseddon thecssninja.com https://github.com/ryanseddon/H5F Wednesday, 23 May 12
  • 11. Why use HTML5 form features? ‣ Future Proof • Great for mobile and tablet devices • Form features degrade gracefully in every browser • You can use Modernizr to create JavaScript fallbacks ‣ Customer Friendly • Great for people on-the-go • Makes it easier for people to know what data you need • Good for slow connections on mobile Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 12. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 13. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 14. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 15. Making Stuff Is Fun A mobile web form to collect stuff Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 16. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 17. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 18. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 19. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 20. Fantastic Forms for Mobile Web Required Fields Date Picker Placeholder Text HTML5 Number Spinbox Forms Number Slider Custom Keyboards Autofocus Validation Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 21. Required Fields ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 22. Required Fields ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 23. Required Fields ‣ index.html <form> <label>Launch date:</label> <input type="date" id="launch_date" name="launch_date" required> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 24. Required Fields ‣ index.html <form> <label>Launch date:</label> <input type="date" id="launch_date" name="launch_date" required> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 25. Fantastic Forms for Mobile Web Required Fields Date Picker Placeholder Text HTML5 Number Spinbox Forms Number Slider Custom Keyboards Autofocus Validation Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 26. Date Picker ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 27. Date Picker ‣ index.html <form> <label>Launch date:</label> <input type="date" id="launch_date" name="launch_date" required> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 28. Date Picker ‣ index.html <form> <label>Launch date:</label> <input type="date" id="launch_date" name="launch_date" required> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 29. Date Picker ‣ index.html Fantastic Forms @tammybutow FC-compliant email validation Wednesday, 23 May 12
  • 30. Fantastic Forms for Mobile Web Required Fields Date Picker Placeholder Text HTML5 Number Spinbox Forms Number Slider Custom Keyboards Autofocus Validation Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 31. Placeholder Text ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 32. Placeholder Text ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 33. Placeholder Text ‣ index.html <form> <label>Full name:</label> <input type="text" id="full_name" name="full_name" placeholder="Jane Doe" required> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 34. Placeholder Text ‣ index.html <form> <label>Full name:</label> <input type="text" id="full_name" name="full_name" placeholder="Jane Doe" required> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 35. Fantastic Forms for Mobile Web Required Fields Date Picker Placeholder Text HTML5 Number Forms Number Slider Custom Keyboards Autofocus Validation Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 36. Number ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 37. Number ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 38. Number ‣ index.html <form> <label>How many team members:</label> <input type="number" id=“project_range” name=“project_range” min="1" max="10" step="1" value="1"> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 39. Number ‣ index.html <form> <label>How many team members:</label> <input type="number" id=“project_range” name=“project_range” min="1" max="10" step="1" value="1"> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 40. Fantastic Forms for Mobile Web Required Fields Date Picker Placeholder Text HTML5 Number Spinbox Forms Number Slider Custom Keyboards Autofocus Validation Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 41. Number Slider ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 42. Number Slider ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 43. Number Slider ‣ index.html <form> <label>How complete is your project:</label> <input type="range" id=“project_range” name=“project_range” min=“1” max=“100” step=“10” value=“10” > </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 44. Number Slider ‣ index.html <form> <label>How complete is your project:</label> <input type="range" id=“project_range” name=“project_range” min=“1” max=“100” step=“10” value=“10” > </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 45. Fantastic Forms for Mobile Web Required Fields Date Picker Placeholder Text HTML5 Number Spinbox Forms Number Slider Custom Keyboards Autofocus Validation Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 46. Standard Number Tel URL ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 47. Custom Keyboards ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 48. Custom Keyboards ‣ index.html <form> <label>URL:</label> <input type="url" id=“url” name=“url” placeholder = “http:// yourproject.com” required> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 49. Custom Keyboards ‣ index.html <form> <label>URL:</label> <input type="url" id=“url” name=“url” placeholder = “http:// yourproject.com” required> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 50. Fantastic Forms for Mobile Web Required Fields Date Picker Placeholder Text HTML5 Number Spinbox Forms Number Slider Custom Keyboards Autofocus Validation Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 51. Autofocus ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 52. Autofocus ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 53. Autofocus ‣ index.html <form> <label>Full name:</label> <input type=“text” id= “full_name” name= “full_name” placeholder= “Jane Doe” required autofocus> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 54. Autofocus ‣ index.html <form> <label>Full name:</label> <input type=“text” id= “full_name” name= “full_name” placeholder= “Jane Doe” required autofocus> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 55. Fantastic Forms for Mobile Web Required Fields Date Picker Placeholder Text HTML5 Number Spinbox Forms Number Slider Custom Keyboards Autofocus Validation Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 56. Validation ‣ index.html The browser automatically offers RFC-compliant email validation, even if scripting is disabled. Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 57. Validation ‣ index.html Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 58. Validation ‣ index.html <form> <label>Email address:</label> <input type="email" id=“email_addr” name=“email_addr” placeholder = “janedoe@mail.com” required> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 59. Validation ‣ index.html <form> <label>Email address:</label> <input type="email" id=“email_addr” name=“email_addr” placeholder = “janedoe@mail.com” required> </form> Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 60. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 61. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 62. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 63. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 64. Fantastic Forms For Mobile Web 01 Why you should know about HTML5 Forms 02 Live Demo 03 Syntax Review 04 Code Challenge Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 65. Code Challenge ‣ Create a mobile web page • You could try out the initializr reponsive web template (On GITHUB) ‣ Add a HTML5 Form • Try out different input types and attributes ‣ Share it • Tweet the link/screenshot and add the #WDC12 hashtag ‣ Have fun ☺ Fantastic Forms @tammybutow Wednesday, 23 May 12
  • 66. HTML5 Fantastic Forms For Mobile Web @tammybutow Wednesday, 23 May 12