Bartosz Kowalski Software Developer CERN. Presentation outline -HTML : introduction and history -HTML5 : -History and philosophy -New features -Structure.

Slides:



Advertisements
Similar presentations
What is HTML5…?. ”…removes the need for plugins” ”…can handle multimedia directly” ”…enables rich, interactive clients” ”…enables advanced visual designs”
Advertisements

Hypermedia systems Jakub Husár & Tomáš Jurík. Content XHTML 2.0 Definition Short history Differences between 1.0 and 2.0 Usage suitability Improvements.
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
An Introduction Timmy Kokke | UNIT4 Internet Solutions | Expression Blend MVP / Webguy.
2 History of World-Wide Web and HTML  1989: WWW has been invented at CERN  1991: Official birthday of HTML.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
More CSS - Page layout + HTML5 new features Boriana Koleva Room: C54
 A markup language  Structures content on the internet  Commonly used by web browsers.
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.
Tim Berners-Lee authors HTML in 1991, assisted by his colleagues at CERN,
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.
Web Page Behavior IS 373—Web Standards Todd Will.
Lecture 18. HTML5 and JavaScript Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell Exploring the Internet,
Chapter 14 Introduction to HTML
CS 415 N-Tier Application Development By Umair Ashraf July 16,2013 National University of Computer and Emerging Sciences Lecture # 12 HTML/ XHTML/ HTML5.
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
HTML5. What is HTML5? HTML5 will be the new standard for HTML. HTML5 is the next generation of HTML. HTML5 is still a work in progress. However, the major.
CPSC 594B: Software Engineering Project Lecture 1: Introduction to HTML5 Lecturer: Ayman Issa Office: ICT 555.
E0262 – MIS – Multimedia Storage Techniques SMIL – Synchronized Multimedia Integration Language.
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.
HTML5 GAMING By Scott Benton. HTML5 New HTML Standard Previous Version of HTML, HTML 4.01, Released in 1999 Not an Official Standard Yet No Browsers Have.
Director of Computer Center, DaYeh University Ku-Yaw Chang.
HTML5 Accessibility Ted Drake, Yahoo! Accessibility Lab Slideshare.net/7mary4.
Computer Concepts 2014 Chapter 7 The Web and .
Creating a Basic Web Page
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
PRO HTML5 PROGRAMMING POWERFUL APIS FOR RICHER INTERNET APPLICATION DEVELOPMENT.
Programming the Web Web = Computer Network + Hypertext.
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Introduction to HTML5. History of HTML HTML first published – Tim Berners-Lee HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 XHTML 2.0.
HTML Advanced: HTML 5. Introduction to HTML 5 These slides are based on source material found at the w3schools.com website.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
CA Professional Web Site Development Class 2: Anatomy of a Web Site and Web Page & Intro to HTML.
Introduction to HTML. What is HTML?  Hyper Text Markup Language  Not a programming language but a markup language  Used for presentation and layout.
New Tags, New Attributes, New JavaScript APIs, Forms, Validation, Audio, Video, SVG, Canvas Doncho Minkov Telerik Corporation
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
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.
UPLOAD / DOWNLOAD april  HTML5 is just the next iteration of HTML  Previous version was technically HTML 4.01, which incorporated XHTML 1.0.
HTML 5 The Future of Web Development. What is HTML5? “HTML5 is a specification of how the web’s core language, HTML, should be formatted and utilized.
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.
Let’s look what flash can do: OK, that wasn’t flash! That was HTML5.
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.
Introduction of Presented by Neetu sharma MCA (8 th trim)
SVG technology SVG technology is what we want? is what we want? Jaehoon Woo KNU Real-Time Systems Lab. KNU Real-Time Systems Lab.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
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.
HTML 5 (Part 1) – Start from SCRATCH. HTML 5 – Start from SCRATCH.
HTML5 Requirement Driven Design David Tarrant Electronics and Computer Science.
National College of Science & Information Technology.
Agenda * What is HTML5 -- Its history and motivation * HTML/XHTML as Human / Machine Readable Format * HTML and its related technologies * Brief summary.
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.
HTML 5.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Introduction to HTML5.
HTML 5 Tutorial Chapter 1 Introduction.
Application with Cross-Platform GUI
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Introduction to HTML5.
HTML 5 Training HTML 5 SYMANTICS [Notes to trainer:
Ground to Roof HTML/HTML5
Introduction to HTML5.
Introduction to World Wide Web
CIS 133 mashup Javascript, jQuery and XML
HTML5 - 2 Forms, Frames, Graphics.
Introduction to HTML5.
HTML CS 4640 Programming Languages for Web Applications
Presentation transcript:

Bartosz Kowalski Software Developer CERN

Presentation outline -HTML : introduction and history -HTML5 : -History and philosophy -New features -Structure -Forms -Media -Canvas -Web Storage -Communication -Conclusion and Recommendations -Questions

HTML is ? -Markup language for web pages -Prototyped by Tim Berners-Lee at CERN (in 1989) -HTML consists of elements called tags -Browser interprets HTML tags and generates a web page Hypertext Markup Language

HTML : history 1991 official birthday (20 elements) 1995 v and 4.0 (W3C Recommendation) 1999/2000 XHTML 1996 CSS JavaScript World is asynchronous (AJAX)

HTML5 : history 2 specifications = Web Hypertext Application Technology Working Group (WHATWG) and World Wide Web Consortium (W3C) W3CWHATWG

HTML5 : philosophy Some common rules: Markup to replace scripting Reduce the need for external plugins Error handling Device independent Development visible to the public

HTML5 : philosophy HTML5 = HTML + CSS + JS

HTML5 : new features in a nutshell Canvas element for drawing Media : video and audio elements Better support for local offline storage Semantic elements (article, footer, header or nav) Form controls (date, or search) UI (draggable or progress) SVG or WebGL

HTML5 : new tags in a nutshell

HTML5 : support Source :

HTML : browser engines Gecko WebKit Trident Presto

HTML5 : where do we start ? Metadata: Markup version:

HTML : structure POPULARITYVALUEFREQUENCY 1footer179,528 2menu146,673 3style1138,308 4msonormal123,374 5text122,911 6content113,951 7title91,957 8style289,851 9header89,274 10copyright86,979 11button81,503 12main69,62 13style369,349 14small68,995 15nav68,634 16clear68,571 17search59,802 18style456,032 19logo48,831 20body48,052

HTML5 : structure

HTML5 : form type={time, month, week}

HTML5 : form Extra Input field attributes: required autocomplete min / max step pattern={regexp} multiple list

HTML5 : media HTML4: HTML5:

HTML5 : media Extra video field attributes: autoplay controls height / width loop preload poster playbackRate JS events (play, pause, ended, playing, progress, …)

HTML5 : media Codec nightmare :

HTML5 : canvas API for 2D drawing Canvas is: Context selector Lines, Shapes, Paths, ….. Pixels Save image (Data URL)

HTML5 : canvas Canvas sample:

HTML5 : canvas

New features : canvas 3D Canvas + WebGL Canvas 3D is: -Extended JS -Based on OpenGL ES -Not fully or/and officially supported by browsers Sample:

HTML5: SVG XML-based format for describing 2D vector graphics SVG (Scalable Vector Graphics) is: SVG in HTML5: Sample:

HTML5: SVG XML-based format for describing 2D vector graphics SVG sample:

Canvas or SVG ? CanvasSVG Pixel-basedObject model-based (XML) Single HTML container Multiple elements (part of the DOM) Created and modified via API Created with markup and modified by API or CSS Interaction manually programmed from mouse coordinates Interaction is object based on the tree of elements (DOM) ZoomingScaling

HTML5 or Flash ? HTML5Flash Not (yet) fully supported by all browsers Support for wide variety of browsers (via plugin) HTML, JavaScriptActionScript Semantic, IndexedNo semantic, not indexed Access to source codeLimited access to source code Supported on Apple mobile devices Not supported on Apple mobile devices Basic interactivityRich interactivity

HTML : web storage Cookies: -Data sent back to the server on every request -4kb of data per cookie -Browsers are not required to retain more than 300 cookies in total

HTML5 : web storage Local Storage ans Session Storage: -Structured data for large content -Client-side relational database (SQL) -Use of SQLite DB (light and fast) -Use it to store temp data (domain specific per session) Database Storage: LocalSession Persists after the browser is closed LifetimeSession Domain specificScopePer-page-per-window Send back on request Client-side key-value database typically limited to 5/10MB

HTML5 : web storage Local Storage sample : Session Storage sample :

HTML5 : web storage Database Storage sample:

HTML5 : communication Communication API = Web Messaging (HTML5), Web Workers and Web Sockets Web Workers: = parallelism = running multiple JavaScript scripts independently Web Sockets: = full-duplex communication channel which operates through a single TCP connection = PUSH technology = real time web applications Web Messaging: = cross-site communication

HTML5 and browser support nightmare -Small JS library that detects the availability of native implementations for HTML5 and CSS3 specifications -Tests for more than 40 features -It doesn’t add missing features Sample: Use JS library => e.g. :

Conclusion - HTML5 is around the corner ! - Full of new 2.0 features : - new structure - web storage - media and canvas - UI (e.g. draggable) - Web with HTML5 is more semantic - Stick to the recommendations (see the next slide)

Recommendations -Already a big community -Books and tutorials available -Learn (modern) JavaScript ! -Always check HTML5 browser support matrix -Consider for mobile websites -Help search engines to correctly index your page Learn HTML5 now = Don’t wait for the final specification (available in 20XX)!