HTML5. HTML5’s overall theme The browser as a rich application platform rich, cross-device user interfaces offline operation capability hardware access.

Slides:



Advertisements
Similar presentations
17 HTML, Scripting, and Interactivity Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and.
Advertisements

Introduction to HTML, XHTML, and CSS
Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
What is HTML5…?. ”…removes the need for plugins” ”…can handle multimedia directly” ”…enables rich, interactive clients” ”…enables advanced visual designs”
With jQuery and AJAX Doncho Minkov Telerik Corporation Technical Trainer.
Project 1 Introduction to HTML.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Web Storage IDIA 619 Spring 2013 Bridget M. Blodgett.
October 16, 2007HighEdWebDev2007 Single Source Website for Full Spectrum Access Rick Ells University of Washington
1st Project Introduction to HTML.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Development of mobile applications using PhoneGap and HTML 5
More APIs: Web Services CMPT 281. Announcements Project milestone Lab: – Web services examples.
With jQuery and AJAX Doncho Minkov Telerik Corporation Technical Trainer.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
What is HTML5? HTML5 is the new LEGO for both designers and programmers.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
© 2011 Delmar, Cengage Learning Chapter 2 Developing a Web Page.
Phonegap Bridge – File System CIS 136 Building Mobile Apps 1.
HTML 5 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
Microsoft Certification Exam Michael Van Cleave Planet Technologies.
Chapter 1 Introduction to HTML, XHTML, and CSS
CGI and AJAX CS-260 Dick Steflik.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
Webpage design for researchers Dr Jim Briggs 1.
Phonegap Bridge – Telephony CIS 136 Building Mobile Apps 1.
HTML, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
The New Zealand Institute for Plant & Food Research Limited Matthew Laurenson Web Services: Introduction & Design Considerations.
Styling and theming Build campaigns in style. What we'll look at... How a web document is structured How HTML and CSS fit together Tools you will need.
Lecture 13 – XML and JSON SFDV3011 – Advanced Web Development Reference: 1.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
HTML5 for Mobile Andrew Kinai. HTML vs HTML5 HTML:A language that describes documents' formatting and content, which is basically composed of static text.
Introduction to HTML. What is HTML?  Hyper Text Markup Language  Not a programming language but a markup language  Used for presentation and layout.
ICOM 4035 – Data Structures Lecture 11 – Map ADT Manuel Rodriguez Martinez Electrical and Computer Engineering University of Puerto Rico, Mayagüez ©Manuel.
Mobile web Sebastian Lopienski IT Technical Forum 29 June 2012.
Creating User Interfaces Recap HTML/HTML5 JavaScript features Homework: keep working on user observation studies. Review JavaScript.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
Louisa Lambregts, Louisa Lambregts
Web Development 101 Presented by John Valance
Google Data Protocol Guy Mark Lifshitz. Motivation Google’s Mission: – Organize the world’s information – Make information universally accessible – Provide.
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
Cascading Style Sheets CSS. Source W3Schools
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Introduction to Web Services
Louisa Lambregts, Louisa Lambregts
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
AJAX. Ajax  $.get  $.post  $.getJSON  $.ajax  json and xml  Looping over data results, success and error callbacks.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Rich Internet Applications 9. HTML 5 and RIAs. HTML 5 Standard currently under development by W3C Aims to improve the language with support for the latest.
(1) HTML5, CSS, Twitter Bootstrap. (2) HTML5 Will be the new standard New features Drag and Drop and Support for local storage,,,, New input types Removed.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Mobile Applications With JQuery Mobile and VDF 17.1.
Introduction. Internet Worldwide collection of computers and computer networks that link people to businesses, governmental agencies, educational institutions,
COMP 143 Web Development with Adobe Dreamweaver CC.
TNPW1 Ing. Jiří Štěpánek.  In current version (XHTML 1.0 strict)  No multimedia elements  No semantics elements  Only few input types  Only few document.
JQuery, JSON, AJAX. AJAX: Async JavaScript & XML In traditional Web coding, to get information from a database or a file on the server –make an HTML form.
4.3. Code animations by using JavaScript Access data access by using JavaScript. Creating Animations, Working with Graphics, and Accessing Data.
Phonegap Bridge – Storage CIS 136 Building Mobile Apps 1.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
The HTML5 logo was introduced by W3C in 2010
Chapter 17 The Need for HTML 5.
Project 1 Introduction to HTML.
Chapter 1 Introduction to HTML.
Project 1 Introduction to HTML.
Strings and Serialization
HTML5 and Local Storage.
Creating User Interfaces
Presentation transcript:

HTML5

HTML5’s overall theme The browser as a rich application platform rich, cross-device user interfaces offline operation capability hardware access capabilities – geolocation

HTML5 & related standards The Core HTML5 spec Cascading Style Sheets Version 3 (CSS3) Web Workers Web Storage Web Sockets Geolocation, access to hardware Microdata Device API and File API

New tags Menus, navigation sections Multi-column layout, flexible box layout Less direct styling – eg, no direct table styling, do it by CSS3

Browsing context Developers can even use CSS3 to specify a style per device – for example, to differentiate styling between TVs, mobile devices, and print views using rules.

Many fancy features in HTML5, without Javascript Transitions – eg, when you hover over a link change the color of the link – Potentially added dynamically Animations – Could run on GPU – as opposed to Javascript

Conclusion Rich, browser-contextual presentation Reduces reliance on Javascript Removes needs for plug-in’s – the Flash ended in 2012 – by boosting web apps over native apps, the Apple App Store may also lose its importance

Web Storage Will soon make cookies obsolete Local storage of >5MB per domain Key/value pairs of strings Programmed by Javascript – localStorage.setItem(localKey,localValue) – localStorage.getItem(key) – localStorage.removeItem(key) Object storage indirectly, by JSON serialization – Text-based representation of Javascript objects – Wins over XML in Ajax, as plenty of tools for formatting Java server objects into JSON

Input section Key: Value: Save Output section

function saveLocal(){ //Get key and value var localKey = document.getElementById("localKey").value; var localValue = document.getElementById("localValue").value; //Add the key/value pair in the localStorage localStorage.setItem(localKey,localValue); //Empty Key and Value inputs document.getElementById("localKey").value=""; document.getElementById("localValue").value=""; // Returns and prints the number of saved pairs storageCount(); // change the output section displayLocal(); }

function storageCount(){ document.getElementById("localCount").innerHTML = localStorage.length + " objects in localStorage"; }

function displayLocal(){ //Get the ul listLocal var outputList=document.getElementById("listLocal"); //Clear the list outputList.innerHTML=""; //Get the number of elements to display var numLocal=localStorage.length-1; if (numLocal == -1) return; //For each element in the localStorage add a new li for(i=0;i<=numLocal;i++) { //Get the Key and from this Key, get the value var key=localStorage.key(i); var value=localStorage.getItem(key); //Create the list item var item=document.createElement("li"); item.innerHTML=key + " " + value + " Delete "; outputList.appendChild(item); }

{ "firstName": "John", "lastName" : "Smith", "age" : 25, "address" : { "streetAddress": "21 2nd Street", "city" : "New York", "state" : "NY", "postalCode" : "10021" }, "phoneNumber": [ { "type" : "home", "number": " " }, { "type" : "fax", "number": " " } ] }

var my_JSON_object = {}; var http_request = new XMLHttpRequest(); http_request.open("GET", url, true); http_request.onreadystatechange = function () { var done = 4, ok = 200; if (http_request.readyState == done && http_request.status == ok) { my_JSON_object = JSON.parse(http_request.responseText); } }; http_request.send(null);