HTML5 Demo ISYS 350.

Slides:



Advertisements
Similar presentations
HTML5 Demo ISYS 350. HTML 5 validation/#.UdytIOLn_zc validation/#.UdytIOLn_zc.
Advertisements

Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
Creating Web Pages with HTML and CSS ISY 475. HTML Introduction History: – Standard.
Chapter 10 Form Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Web Page Introduction. What is a web page? A web page is a text file containing markup language tags. –A markup language combines text and extra information.
Mark Branom, Continuing Studies.  HTML5 overview – what’s new?  New HTML5 elements  New HTML5 features  Guided Demonstrations  Forms  Video  Geolocation.
HTML5 …web is getting sexy. What is HTML5? - It is still HTML, successor of HTML4x - It is ENRICHED HTML - It is still UNDER DEVELOPMENT - Backward Compatible.
HTML5 GEOLOCATION AND SHAREPOINT GEOLOCATION What is Geolocation? How easy it is to use this service? Can we do something without Javascript?
HTML Forms – Interactive HTML – Web 2.0. HTML – New types for input – Degrades gracefully for browsers that do not support the html 5 input types
Tutorial #9 – Creating Forms. Tutorial #8 Review – Tables Borders (table, gridlines), Border-collapse: collapse; empty-cells: show; and rowspan, colspan.
Session 1 Chapter 10 - How to Work with Forms ITI 134: HTML5 Desktop and Mobile Level II
Additional Topics. Tutorial #9 Review – Forms Forms Legend and fieldset Fields Text Password Radio buttons, check box, text area, select lists Buttons.
CHAP 3. FORM API.  Forms should still be encapsulated in a element where the basic submission attributes are set.  Forms still send the values of the.
Basics of Web Design 1 Copyright © 2016 Pearson Education, Inc., Hoboken NJ.
Session: 10. © Aptech Ltd. 2HTML Forms / Session 10  Describe HTML5 forms  Explain the working of new input types in HTML5  Explain the new Form attributes.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML Forms.
Week 9 - Form Basics Key Concepts 1. 1.Describe common uses of forms on web pages 2.Create forms on web pages using the form, input, textarea, and select.
Session: 19. © Aptech Ltd. 2HTML5 Geolocation and APIs / Session 19  Explain geolocation and its use in HTML5  Explain the Google Maps API  Explain.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
Colors & Fonts Building a Website Lesson 7. Font Font The tag specifies the font face, font size, and color of text. The tag can have any or all of these.
CHAPTER 15 HTML 5 VIDEO AND AUDIO Intro to HTML5 1.
Copyright © Terry Felke-Morris HTML5: TEXT BOX Accepts text information in address format Common Attributes: ◦ type=“ ” ◦ name ◦ id ◦
RIA Geo Location. Finding Location modern devices can get location coordinates phones and tablets can use GPS desktops and laptops –often cannot use GPS.
03 – HTML (2) Informatics Department Parahyangan Catholic University.
Presented By Nanda Kumar(972789) P. Trinesh (982816) Sk. Salma (982824) K. Madhuri (982814) HTML5.
Phonegap Bridge –Geolocation and Google maps CIS 136 Building Mobile Apps 1.
HTML5 Demo ISYS 350. HTML 5 validation/#.UdytIOLn_zc validation/#.UdytIOLn_zc.
Session I How to Work with Forms Chapter 11 - How to Work with Formswww.profburnett.com.
HTML Paragraphs Paragraphs are defined with the tag. Example This is a paragraph This is another paragraph.
Java Script Date Object
>> Form Data Validation in JavaScript
JavaScript.
HTML 5.
>> Introduction to HTML: Forms
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
© 2017 Akhilesh Bajaj, All Rights Reserved
Web Development & Design Foundations with HTML5 8th Edition
A little MORE on JavaScript
JavaScript Event Handling.
EXCEPTION HANDLING IN SERVER CLIENT PROGRAMMING
Key concepts of Computing
Principles of Software Development
The Document Object Model (DOM) is a W3C standard.
HTML5 Demo ISYS 350.
WHY FORMS? Explain: Mostly, when you need to collect data from a user you need a form Click: Google search form Click: Facebook login form Click:
Dive Into HTML5 - Start Using It Now! Mark Branom, Continuing Studies
Geolocation using Google maps
Web Development & Design Foundations with HTML5 8th Edition
JavaScript Forms Adding User Input.
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Web Development & Design Foundations with HTML5 8th Edition
HTML5 Geolocation 11/12/2018 Copyright © Carl M. Burnett.
Software Engineering for Internet Applications
Robert Kiffe Senior Customer Support Engineer
Geolocation using Google maps
HTML Level II (CyberAdvantage)
Session V HTML5 APIs - HTML5 Geolocation
FORM OBJECT When creating an interactive web site for the Internet it is necessary to capture user input and process this input. Based on the result of.
The University of Tulsa
New Form Input Types.
HTML5 Demo ISYS 350.
HTML5 Demo ISYS 350.
HTML Forms Internet Technology.
HTML Forms Internet Technology.
HTML5 Demo ISYS 350.
Basics of Web Design Chapter 10 Form Basics Key Concepts
HTML5 Demo ISYS 350.
Kanida Sinmai HTML Form Kanida Sinmai
Geolocation using Google maps
Presentation transcript:

HTML5 Demo ISYS 350

HTML 5 http://www.the-art-of-web.com/html/html5-form-validation/#.UdytIOLn_zc http://diveintohtml5.info/forms.html http://24ways.org/2009/have-a-field-day-with-html5-forms/ http://www.w3.org/TR/html5/forms.html

New INPUT types http://www. w3schools. com/html/html_form_input_types INPUT type="number" INPUT type="range” Other types: email, url, tel, etc Age: <input type="number" size="6" name="age" min="18" max="99" value="21"><br> Satisfaction: <input type="range" size="2" name="satisfaction" min="1" max="5" value="3">

'required' attribute Example: Your Name: <input type="text" name="name" required>

‘placeholder’ Attribute Placeholder attribute which lets us display a prompt or instructions inside the field. Example: Email Address: <input type="email" name="email" required placeholder="Enter a valid email address">

HTML 5 Form Demo <form> Your Name: <input type="text" name="name" required><br> Email Address: <input type="email" name="email" required placeholder="Enter a valid email address"><br> Website: <input type="url" name="website" required pattern="https?://.+"><br> Age: <input type="number" size="6" name="age" min="18" max="99" value="21"><br> Satisfaction: <input type="range" size="2" name="satisfaction" min="1" max="5" value="3"><br><br> <input type="submit" value="Submit" name="btnSubmit" /> </form>

HTML 5 Form fieldset https://24ways Like a GroupBox http://www.w3schools.com/tags/tag_fieldset.asp Try It Yourself

HTML5 Multimedia: Video,Audio,Youtube,Etc. http://www. w3schools

Adding New Elements to HTML http://www. w3schools <head> <title>Creating an HTML Element</title> <script>document.createElement("myHero")</script> <style> myHero { display: block; background-color: #ddd; padding: 50px; font-size: 30px; } </style> </head> <body> <myHero>My First Hero</myHero> </body>

HTML5 Geolocation Demo: http://www. w3schools The navigator.geolocation.getCurrentPosition() method returns an object with latitude, longitude and other properties. Latitude Logitude Static map

HTML5 Geolocation Demo <script> var x; function getLocation() { x = document.getElementById("demo"); if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition); } else { x.innerHTML = "Geolocation is not supported by this browser."; } function showPosition(position) { x.innerHTML = "Latitude: " + position.coords.latitude + "<br>Longitude: " + position.coords.longitude; </script> </head> <body> <p>Click the button to get your coordinates.</p> <button onclick="getLocation()">Try It</button> <p id="demo"></p>

Displaying the Result in a Map Demo: https://www. w3schools

Google Maps https://www.w3schools.com/graphics/google_maps_intro.asp Maps basic Maps overlays