HTML5 – A few features L. Grewe.

Slides:



Advertisements
Similar presentations
Demonstration Presentation EXAMPLE 1: Create a program that uses a timer to get gross weight from scale #1 and write it to a serial port Step(s): 1.Define.
Advertisements

HTML5 Overview HOANGPT2. 1. General 2. New Elements List 3.
Backwards Compatible HTML5/CSS3 Apps in ASP.NET Nik Kalyani, Founder/CEO, HyperCrunch, Inc.
An Introduction Timmy Kokke | UNIT4 Internet Solutions | Expression Blend MVP / Webguy.
MASTERY OBJECTIVE: Learn parts of an html document Learn basic html tags HTML-An Introduction.
Neal Stublen Why Use a Canvas?  Flexibility… Use of drawing primitives (lines, arcs, text) Direct access to element display pixels.
Programming Club IIT Kanpur
HTML 5 Previous version: HTML4.01, 1999 Still work in progress, most browsers support some of it.
HTML 5 The next generation of web programming. WHERE IT ALL BEGAN.
Dongseop Kim.  Purpose of HTML 5  Semantic Mark up  Web Form Function  Support Rich Web Application.
CHAPTER 21 INTRODUCING THE HTML 5 CANVAS. LEARNING OBJECTIVES How to create a canvas using the and tag pair How to test if a browser supports canvas operations.
Canvas, SVG, Workers Doncho Minkov Telerik Corporation
Mark Branom, Continuing Studies.  HTML5 overview – what’s new?  New HTML5 elements  New HTML5 features  Guided Demonstrations  Forms  Video  Geolocation.
Web Programming Language Week 13 Ken Cosh HTML 5.
Naveen Prabhu Quadwave Consulting Pvt.Ltd.. Agenda  HTML 5 – The Standards  Browsers and HTML5 support  HTML5 Learnability  Perspectives of Web Designer,
Director of Computer Center, DaYeh University Ku-Yaw Chang.
INTRODUCTION TO HTML5 Drag and Drop in HTML5. Browsers Support  Currently, most of the major HTML5 desktop web browsers support the new HTML5 drag-and-drop.
HTML5 Internet Engineering Spring 2014 Bahador Bakhshi CE & IT Department, Amirkabir University of Technology.
IT Engineering I Instructor: Rezvan Shiravi
HTML5 Accessibility Ted Drake, Yahoo! Accessibility Lab Slideshare.net/7mary4.
@ 翁玉礼 HTML5 Discuss. Compare to html4 Canvas Video and audio Local offline store New form control.
Working with Objects Creating a Dynamic Web Page.
Getting Started with Canvas IDIA Spring 2013 Bridget M. Blodgett.
Patrick Chanezon (slides from Matthew Papakipos) June Google’s HTML5 Work: What’s Next?
HTML5 CANVAS. SAVING INFORMATION BETWEEN FUNCTION CALLS.
Canvas academy.zariba.com 1. Lecture Content 1.What is Canvas? 2.Including Canvas in your HTML 3.Commands in Canvas 4.Drawing Shapes with Canvas 5.Animations.
Introduction What is it? What does this mean? Features Animated Logo Html5 Flash Canvas Tunneler Html5 Animation Html5 Canvas Caching.
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.
Code for touch, get mouse and pen for free Pointer API captures pen motion, passing coordinates to Ink API Ink API helps render and stores motion.
New Tags, New Attributes, New JavaScript APIs, Forms, Validation, Audio, Video, SVG, Canvas Doncho Minkov Telerik Corporation
Session: 19. © Aptech Ltd. 2HTML5 Geolocation and APIs / Session 19  Explain geolocation and its use in HTML5  Explain the Google Maps API  Explain.
HTML5 Websockets Norman White Websockets The HTTP protocol is not designed for a continuous connection between the client and the server, but rather.
Wednesday 5 December 2012 Part II. Wednesday 5 December Make an Element Draggable What to Drag - ondragstart and setData() Where to Drop - ondragover.
CHAPTER 22 ADVANCED CANVAS PROGRAMMING. LEARNING OBJECTIVES How the HTML 5 canvas supports linear and radial gradients How to fill a shape with a pattern.
Programming games Context of what we are doing. Drawing on canvas. Homework: [Complete coin toss examples.] Do your own drawings. Upload files to website.
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
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.
Lab 5: More on Events and Introduction to the Canvas Tag User Interface Lab: GUI Lab Sep. 23 rd, 2013.
(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.
Can SAS Do Canvas? Creating Graphs Using HTML 5 Canvas Elements Edwin J. van Stein Astellas Pharma Global Development.
07 – HTML5 Canvas (1) Informatics Department Parahyangan Catholic University.
Introduction of Presented by Neetu sharma MCA (8 th trim)
4.5. Respond to the touch interface 4.6. Code additional HTML5 APIs 4.7. Access device and operating system resources JavaScript Coding for the Touch Interface,
SE-2840 Dr. Mark L. Hornick 1 Dynamic HTML Handling events from DOM objects.
Why is HTML5 a buzz word? Is HTML5 really a technology worth talking?
CHAP 2. CANVAS API.  Dynamically generate and render graphics, charts, images and animations  SVG (Scalable Vector Graphics) vs. Canvas  Bitmap canvas.
Development of Internet Applications HTML5 Ing. Jan Janoušek 7.
XHTML. What Is XHTML? XHTML stands for EXtensible HyperText Markup Language XHTML is almost identical to HTML XHTML is stricter than HTML XHTML is HTML.
Introduction to Web Programming for Visualization
Chapter 4: Feature Detection & Drag and Drop
Drag-and-Drop By Michelle
Introduction to HTML5.
Web Programming Language
COMP3220 Web Infrastructure COMP6218 Web Architecture
. - t !!l t. - 1f1f J - /\/\ - ' I __.
The Canvas.
Event Driven Programming & User Defined Functions
Step 1 Click on VM icon.
.. '.. ' 'i.., \. J'.....,....., ,., ,,.. '"'". ' · · f.. -··-·· '.,.. \...,., '.··.. ! f.f.
Drag-and-Drop Processing
Progress <progress value="22" max="100"></progress>
Simple Canvas Example Your browser doesn’t support canvases var canvas = document.getElementById("canvas1"); var context.
CSc 337 Lecture 21: Canvas.
HTML What is Html? HTML stands for Hypertext Markup Language.
Events: Changed and Input
Brandon Roman CS300.
CSc 337 Lecture 20: Canvas.
CSc 337 Lecture 19: Canvas.
Developed by GROUP #.... PLATFORM CANVAS Customer segment #1
Presentation transcript:

HTML5 – A few features L. Grewe

Progress <progress value="22" max="100"></progress>

Web Storage localStorage.setItem("state", "California"); localStorage.getItem("state"); localStorage.removeItem("state"); localStorage.state = "Missouri";

Drag and Drop Mark elements draggable: New events: <img draggable="true"> New events: ondragstart: when user “picks” up object to drag ondragover: when user drags object over an HTML element ondrop: when user drops object Passing information from source to target: One or more type-value pairs In ondragstart handler: event.dataTransfer.setData(type, value); In ondragover and ondrop handlers: var value = event.dataTransfer.getData(type);

Canvas (drawing)Example <canvas id="canvas1"> Your browser doesn’t support canvases </canvas> var canvas = document.getElementById("canvas1"); var context = canvas.getContext("2d"); context.strokeStyle = "#ff0000"; context.lineWidth = 8; context.beginPath(); context.moveTo(50, 100); context.lineTo(200, 100); context.lineTo(200, 50); context.lineTo(150, 50); context.lineTo(150, 150); context.stroke(); 100 50