Mark Branom, Continuing Studies.  HTML5 overview – what’s new?  New HTML5 elements  New HTML5 features  Guided Demonstrations  Forms  Video  Geolocation.

Slides:



Advertisements
Similar presentations
HTML5 Overview Owen Williams owen at dynabooks daht com Owen Williams owen at dynabooks daht com.
Advertisements

GETTING STARTED WITH HTML5
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
HTML5, OVERVIEW AND NEW FEATURES PowerPoint by Mason O’Mara.
New Tags, New Attributes, New JavaScript APIs, Forms, Validation, Audio, Video, SVG, Canvas Doncho Minkov Telerik Corporation
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
More CSS - Page layout + HTML5 new features Boriana Koleva Room: C54
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Ch3: Introduction to HTML5 part 2 Dr. Abdullah Almutairi ISC 340 Fall 2014.
HTML 5. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in The web has changed.
Neal Stublen A Basic Template  HTML doctype Much simpler than HTML4/XHTML  Title and meta content Again simpler than “Content-Type”
HTML 5 Tutorial Chapter 1 Introduction. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML.
HTML Advanced: HTML 5. Welcome This slideshow presentation is designed to introduce you to HTML 5. It is the third of three HTML workshops available at.
Lecture 18. HTML5 and JavaScript Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell Exploring the Internet,
Chapter 15 HTML 5 Video and Audio Intro to HTML5 1.
Chapter 14 Introduction to HTML
  Just another way to collect pieces together (like div, section)  Anything can be in there  Formatting just like all other elements.
HTML 5 Tutorial Chapter 9 Form Attributes. New Form Attributes HTML5 has several new elements and attributes for forms. New form attributes : autocomplete.
CPSC 594B: Software Engineering Project Lecture 1: Introduction to HTML5 Lecturer: Ayman Issa Office: ICT 555.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
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.
HTML 5 and Content Strategy for the Web By: Christina Fregosi ISC 496.
IT Engineering I Instructor: Rezvan Shiravi
SIG WEB January 31, 3PM. What is HTML5? What it is: Allows for better intergration of media consumption. A new open standard Provides new APIs.
@ 翁玉礼 HTML5 Discuss. Compare to html4 Canvas Video and audio Local offline store New form control.
Building the User Interface by Using HTML5: Organization, Input, and Validation Lesson 3.
CHAPTER 2 HTML & HTML5 II อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
INTRODUCTION TO HTML5 HTML5 Page Structure. What is HTML5 ?  HTML5 will be the new standard for HTML, XHTML, and the HTML DOM.  The previous version.
New Tags, New Attributes, New JavaScript APIs, Forms, Validation, Audio, Video, SVG, Canvas Doncho Minkov Telerik Corporation Technical.
HTML Advanced: HTML 5. Introduction to HTML 5 These slides are based on source material found at the w3schools.com website.
Proglan Session 1. .  HTML5 will be the new standard for HTML.  The previous version of HTML, HTML 4.01, came in The web has changed a lot since.
Introduction to HTML. What is HTML?  Hyper Text Markup Language  Not a programming language but a markup language  Used for presentation and layout.
  Just another way to collect pieces together (like div, section)  Anything can be in there  Formatting just like all other elements  Always name.
UPLOAD / DOWNLOAD april  HTML5 is just the next iteration of HTML  Previous version was technically HTML 4.01, which incorporated XHTML 1.0.
CHAPTER 15 HTML 5 VIDEO AND AUDIO Intro to HTML5 1.
Internet & World Wide Web How to Program, 5/e. Copyright © Pearson, Inc All Rights Reserved.2 Revised by Dr. T. Tran for CSI3140.
Forms Overview, Query string, Submitting arrays, PHP & HTML, Input types, Redirecting the user Mario Peshev Technical Trainer Software.
1. History, Vision & Future of HTML5 1.1 What Is HTML5? Successor of HTML 4.01 and XHTML 1.1 It comes with new tags, features and APIs Below is a non exhaustive.
HTML5 Introduction to Web Programming. Plan of the course HTML5 Structure of a document Main HTML Tags –Headings –Paragraphs –Links –Tables –Forms –Images.
(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.
2.4. Choose and configure HTML5 tags to organize content and forms Choose and configure HTML5 tags for input and validation. Building the User Interface.
What is HTML5? HTML5 will be the new standard for HTML. The previous version of HTML, HTML 4.01, came in The web has changed a lot since then. HTML5.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
HTML 5 (Part 1) – Start from SCRATCH. HTML 5 – Start from SCRATCH.
HTML5 Semantic
Chapter 9 HTML 5 Video and Audio
The HTML5 logo was introduced by W3C in 2010
Chapter 4: Feature Detection & Drag and Drop
HTML 5.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
PPT By:Gaurav Jaiswal Singsys Pte. Ltd.
HTML 5 Tutorial Chapter 1 Introduction.
Dive Into HTML5 - Start Using It Now! Mark Branom, Continuing Studies
HTML 5.0 (list,table,image,forms,frames)
Chapter 3 Introduction to HTML5: Part 2
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Introduction to HTML5.
HTML Forms Internet Technology.
HTML Forms Internet Technology.
HTML 5 Training HTML 5 SYMANTICS [Notes to trainer:
Introduction to HTML5.
HTML 5 SEMANTIC ELEMENTS.
Giuseppe Attardi Università di Pisa
The Most Basic HTML Page
Creating a Basic Web Page using HTML
HTML5 - 2 Forms, Frames, Graphics.
Introduction to HTML5.
HTML5 Tags By Dr Derek Peacock
Presentation transcript:

Mark Branom, Continuing Studies

 HTML5 overview – what’s new?  New HTML5 elements  New HTML5 features  Guided Demonstrations  Forms  Video  Geolocation  Local/Offline Storage  Canvas

 New !doctype  New elements (tags)  Who decided?    Complete listing of what’s new: 

 Direct from the WhatWG (Web Hypertext Applications Technology Working Group) work/multipage/syntax.html#the-doctype work/multipage/syntax.html#the-doctype “DOCTYPEs are required for legacy reasons. When omitted, browsers tend to use a different rendering mode that is incompatible with some specifications. Including the DOCTYPE in a document ensures that the browser makes a best-effort attempt at following the relevant specifications.”  HTML5 doctype:

 The root element should contain the (human) language for the document:

 The contains meta information – information about the web page.

 SECTION defines sections of a web page  NAV defines navigational elements / nav bars  ARTICLE defines a self-contained composition – like a blog posting, a journal article, etc.  ASIDE defines a section that is related to an article

 HGROUP defines the heading of a section, grouping h1-h6  HEADER defines the introductory or navigational parts of a page  FOOTER defines the ending or navigational parts of a page, often containing the tag  TIME defines a date/time -- e.g., when the document was created  MARK defines text that should be highlighted for some reason

 IE 8 (and earlier) doesn’t understand the new HTML5 elements.  To use the HTML5 elements and have them work properly in IE, you need to “teach” IE to use them by writing a JavaScript that creates the elements: document.createElement("article"); document.createElement("section"); document.createElement("nav"); document.createElement("header"); document.createElement("footer");

BrowserMP3WavOgg IE 9  Firefox  Chrome Safari* ** Opera  *Safari supports anything that QuickTime supports

BrowserMP4WebMOgg IE 9  Firefox  Chrome Safari* **** Opera  *Safari supports anything that QuickTime supports

 Audacity:  Firefogg:  Goldwave:

 Miro:  Handbrake:  Firefogg:

New form types:  single-line textbox for  URL: single-line textbox for URL  NUMBER: single-line textbox for a number  RANGE: single-line text box for a range of numbers  DATE/MONTH/WEEK/TIME/DATETIME: calendar date/month/week/time/date and time  SEARCH: single-line text box for searching  COLOR: picking a color

 Modifying the FORM tag  autocomplete – browser automatically completes values the visitor has previously entered  novalidate – form does NOT validate

 Modifying the INPUT tag  autofocus – field gets focus when page loads  form – lets you specify which form this field belongs  formaction – overrides the action attribute  formmethod – overrides the method attribute  novalidate – field does NOT validate  required– field must be filled out to validate

 Geolocation locates the user using a new property: navigator.geolocation var x=document.getElementById("demo"); function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition); } else{x.innerHTML="Geolocation not supported by this browser.";} } function showPosition(position) { x.innerHTML="Latitude: " + position.coords.latitude + " Longitude: " + position.coords.longitude; }

 Canvas is used to draw graphics using JavaScript. Your browser does not support the canvas element var c=document.getElementById('CanvasExample'); var ctx=c.getContext('2d'); ctx.fillStyle='#820000'; ctx.fillRect(0,0,50,50);

 LocalStorage is used to store information locally on the user’s computer/device. It’s designed to be a better choice than cookies. if(typeof(Storage)!=="undefined") { localStorage.item1="item number 1"; document.getElementById("example").innerHTML="First Item: " + localStorage.item1; } else { document.getElementById("example").innerHTML="Hmmm, your browser does not support local storage..."; }

 Dive Into HTML5  W3C’s HTML5 information:  Web Hypertext Applications Technology Working Group:  In-class examples: cs22/html5/ cs22/html5/  CanIUse:  HTML5Doctor:  W3Schools: