Introduction to HTML5 By Sam Nasr, MCAD, MCT, MCTS, MVP Nasr Information Systems October 22, 2013.

Slides:



Advertisements
Similar presentations
Introduction to HTML5. History of HTML HTML first published HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 XHTML 2.0 HTML
Advertisements

Sofia, Bulgaria | 9-10 October Developing An Advanced ASP.NET Server Control With Rich Design-Time Goksin Bakir Yage Ltd Microsoft Regional Director, MEA.
1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.
Getting Started with jQuery. 1. Introduction to jQuery 2. Selection and DOM manipulation Contents 2.
Writing Secure Code By Sam Nasr, MCAD, MCT, MCTS March 18, 2009.
Cleveland C#/VB.Net User Group February 24, 2009 Marv Schwartz
Windows Workflow Foundation By Sam Nasr, MCAD October 23,
Creating Page Layouts using SharePoint Designer or Visual Studio Becky Bertram MCSD, MCAD MCTS WSS Development MCTS MOSS Development
Microsoft SharePoint 2010 technology for Developers
HTML5 Overview HOANGPT2. 1. General 2. New Elements List 3.
What is HTML5…?. ”…removes the need for plugins” ”…can handle multimedia directly” ”…enables rich, interactive clients” ”…enables advanced visual designs”
XNA and Windows Phone 7 Erick Kurniawan, M.Kom, MCTS, MCPD, MCT
Bring Life to Your Web Pages with JavaScript and HTML5 Part 2 Ole Ildsgaard Hougaard -
HTML5 CANVAS.  Rectangles  Arcs  Lines  Features we won’t look at  Images  Drag and drop  Animation  Widely supported DRAWING PICTURES IN HTML.
HTML5, OVERVIEW AND NEW FEATURES PowerPoint by Mason O’Mara.
Backwards Compatible HTML5/CSS3 Apps in ASP.NET Nik Kalyani, Founder/CEO, HyperCrunch, Inc.
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.
Shawn Wildermuth President, AgiliTrain Microsoft MVP (Data) Truth and Fiction.
HTML5 That’s What You Need to Know Today Ingo Rammer | thinktecture |
By Sam Nasr Nasr Information Systems May 14, 2013.
CPSC 594B: Software Engineering Project Lecture 1: Introduction to HTML5 Lecturer: Ayman Issa Office: ICT 555.
WRA /16/13 HTML VALIDATION & HTML5. TODAY’S AGENDA Overview of new objects: lists, tables Overview of metadata: meta tags, comments History of the.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Introduction What is it? What does this mean? Features Animated Logo Html5 Flash Canvas Tunneler Html5 Animation Html5 Canvas Caching.
Create Windows ® Applications with.NET Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft.
Agenda Introduction Current Scenario Proposed Solution Block Diagram Technical Implementation Hardware & Software Requirements Benefits / Advantages Features.
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.
My career choices Game designer, Software designer, Engineer.
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.
14 New T-SQL Functions By Sam Nasr, MCAD, MCT, MCTS NIS August 18, 2012.
14 New T-SQL Functions By Sam Nasr, MCAD, MCTS. MVP Nasr Information Systems February 8, 2014.
4.3. Code animations by using JavaScript Access data access by using JavaScript. Creating Animations, Working with Graphics, and Accessing Data.
BI Development By Sam Nasr, MCAD, MCT, MCTS Nasr Information Systems February 5, 2011.
DES201 - Developers and Designers collaboration Level 200 Aude Mousset Artistic director i-Breed - France Dick Lantim User eXperience Advisor Microsoft.
FileTables Sam Nasr, MCAD, MCTS, MVP NIS Technologies
Programming with FileStream Object
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Building Dynamic Applications with the SharePoint Client Object Model
Building Applications with LUIS
FileTables By Sam Nasr, MCAD, MCT, MCTS NIS October 6, 2012
Using FileTables Sam Nasr, MCSA, MCT, MVP NIS Technologies
Using FileTables Sam Nasr, MCAD, MCTS, MVP NIS Technologies
SQL Server 2016 Security Features
Synchronizing Text & Objects
[First Name] [Last Name] [Date]
[First Name] [Last Name] [Date]
Introduction to jQuery
A1 Student Posters Posters Print Services  Robinson Library  University of Newcastle  phone: Introduction The.
<ELLIIT Project Name>
Investigation and/or management Discussion or Conclusion
Poster Title Heading Heading Heading Heading Heading Heading
The Weirdest Case I Ever Saw Dr. AN Other, Dr. J Doe & Prof
Integrating REST API and SQL Server JSON Functions
A0 PowerPoint Poster Posters at Print Services Robinson Library, Newcastle University • • phone Introduction.
2016 REPORT.
Choosing between Silverlight and AJAX
A1 Student Posters Posters at Print Services  Robinson Library  University of Newcastle  phone: Introduction.
Data Time Travel with Temporal Tables
[First Name] [Last Name] [Date]
201X REPORT.
目 录 The quick brown fox. 目 录 The quick brown fox.
[First Name] [Last Name] [Date]
[First Name] [Last Name] [Date]
Using FileTables Sam Nasr, MCSA NIS Technologies August 3, 2019.
Data Time Travel with Temporal Tables
2016 REPORT.
Data Time Travel with Temporal Tables
Presentation transcript:

Introduction to HTML5 By Sam Nasr, MCAD, MCT, MCTS, MVP Nasr Information Systems October 22, 2013

Introduction Sam Nasr Software developer since 1995 Independent Software Consultant (Nasr Information Systems) MCAD, MCT, MCTS(WSS/MOSS) President - Cleveland C#/VB.Net User Group President – Cleveland WPF User Group President -.Net Study Group INETA Mentor for Ohio INETA Community Champ (2010, 2013) Author for Visual Studio Magazine Microsoft Most Valuable Professional (2013)

Housekeeping Forum for learning Feel free to ask questions Cell Phones on vibrate please

Agenda Browser Compatibility New Features in HTML5 Simplified Markup New Attributes New Tags New Features in CSS3 Selectors Advanced Layout and Animation New JavaScript API

Why HTML5? Ubiquitous Ease of Development Widely Supported Forged by many tech leaders Better Performance More Capabilities

Browser Support caniuse.com html5test.com

caniuse.com

html5test.com

Simplified Markup HTML4: HTML5:

Simplified Markup HTML4: HTML5:

Simplified Markup HTML4: HTML5:

Simplified Markup HTML4: … HTML5: …

New Tags articleembedmarkruby asidefigcaptionmetersection audiofigurenavsource canvasfooteroutputsummary commandheaderprogresstime datalisthgrouprpvideo detailskeygenrtwbr

Non-Semantic Markup

Semantic Markup

Semantic My Page Life, The Universe and Everything Page Navigation News Sports Weather Breaking News The quick brown fox jumps over the lazy dog Side Note Oh, by the way Copyright 2012 (c) My Page Life, The Universe and Everything Page Navigation News Sports Weather Breaking News The quick brown fox jumps over the lazy dog Side Note Oh, by the way Copyright 2012 (c)

Canvas

Context methods beginPath() moveTo() lineTo() fill() fillRect() arc()

SVG

Canvas vs. SVG Canvas Not a drawing object, only a container Only used for drawing and redrawing via JavaScript Used for many HTML5 games due to performance impact SVG Every object manipulated via the DOM Could have performance issues if using many objects

New Attributes <input type="text" name="First" autofocus placeholder="Enter First Name" />

Input Types <input type= "color" "date" "datetime" "datetime-local" " " "month" "number" "range" "search" "tel" "time" "url" "week"

Validation input:required { border:3px solid red; } input:valid { border:3px solid gray; }

Video The browser will use the first recognized format.

Video Support

Audio

Audio Support

Demo HTML5

CSS3 Selectors PositionValuesMisc :first-child :last-child :first-of-type :last-of-type :only-of-type :nth-child(#) :nth-last-child(#) :nth-of-type(#) :nth-last-of- type(#) [attr^=value] [attr$=value] [attr*=value] :root :empty :target :not(…) ::selection

CSS3 Selectors Visible StateValidation :enabled :disabled :checked :valid :invalid :optional :required

Compatibility StyleBrowser(s) feature[W3C Standard] -ms-featureIE -moz-featureFirefox -webkit-featureSafari and Chrome -o-featureOpera #title { transform:rotate(-15deg); -ms-transform:rotate(-15deg); -moz-transform:rotate(-15deg); -webkit-transform:rotate(-15deg); -o-transform:rotate(-15deg); } Ex:

{ font-family: FriendlyFontName; src: url('fontname.woff') format('woff'); } selector { font-family: FriendlyFontName; } FontSquirrel.com

Text Shadows div { text-shadow: horizontal-offset vertical-offset blur color; } The Long, Dark Tea Time of the Soul

Resize selector { resize: both; /* none|horizontal|vertical */ overflow: auto; /* required */ max-width: 600px; /* optional */ max-height: 800px; /* optional */ }

Rounded Corners selector { border-radius: 2em; } selector { border-top-left-radius:2em; border-bottom-left-radius:2em; }

Transform Rotate Skew Scale

Rotate.rotate { transform:rotate(-15deg); -ms-transform:rotate(-15deg); /* IE */ -moz-transform:rotate(-15deg); /* Firefox */ -webkit-transform:rotate(-15deg); /* Safari, Chrome */ -o-transform:rotate(-15deg); /* Opera */ } rotate

Skew Selector { transform: skewX(xdeg); -ms-transform: skewX(xdeg); -moz-transform: skewX(xdeg); -webkit-transform: skewX(xdeg); -o-transform: skewX(xdeg); } selector { transform: skewY(ydeg); -ms-transform: skewY(ydeg); -moz-transform: skewY(ydeg); -webkit-transform: skewY(ydeg); -o-transform: skewY(ydeg); } selector { transform: skew(xdeg, ydeg); -ms-transform: skew(xdeg, ydeg); -moz-transform: skew(xdeg, ydeg); -webkit-transform: skew(xdeg, ydeg); -o-transform: skew(xdeg, ydeg); }

Scale Selector { transform: scale(factor); -ms-transform: scale(factor); -moz-transform: scale(factor); -webkit-transform: scale(factor); -o-transform: scale(factor); } Selector { transform: scaleX(factor); -ms-transform: scaleX(factor); -moz-transform: scaleX(factor); -webkit-transform: scaleX(factor); -o-transform: scaleX(factor); } Selector { transform: scaleY(factor); -ms-transform: scaleY(factor); -moz-transform: scaleY(factor); -webkit-transform: scaleY(factor); -o-transform: scaleY(factor); }

Demo CSS3

data- attributes var div = getElementById("fName"); var fn = div.dataset("firstname");

Web Storage Capacity: 2-10MB (W3C recommends 5MB) Local Storage vs Session Storage

Demo JavaScript API

Recap Browser Compatibility New Features in HTML5 Simplified Markup New Attributes New Tags New Features in CSS3 Selectors Advanced Layout and Animation New JavaScript API

Resources HTML5 Rocks Developing HTML5 Jump Start Apps-Jump-Start.Net Study Group

Contact Info Thank you for attending!