Overview. History HTML What is HTML5? New Features Features Removed Resources 10/8/2014



Similar documents
Short notes on webpage programming languages

Study on Parallax Scrolling Web Page Conversion Module

Programming in HTML5 with JavaScript and CSS3

HTML5 - Key Feature of Responsive Web Design

Research on HTML5 in Web Development

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

IT3504: Web Development Techniques (Optional)

Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00

Abusing HTML5. DEF CON 19 Ming Chow Lecturer, Department of Computer Science TuCs University Medford, MA

Web Design Specialist

Software Requirements Specification For Real Estate Web Site

Web Designing with UI Designing

Programming exercises (Assignments)

HTML5 An Introduction

JISIS and Web Technologies

Team Members: Christopher Copper Philip Eittreim Jeremiah Jekich Andrew Reisdorph. Client: Brian Krzys

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY

Web Development I & II*

Differences between HTML and HTML 5

Step into the Future: HTML5 and its Impact on SSL VPNs

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

Web Development News, Tips and Tutorials

HTML5 the new. standard for Interactive Web

Outline. CIW Web Design Specialist. Course Content

Using HTML5 Pack for ADOBE ILLUSTRATOR CS5

IT3503 Web Development Techniques (Optional)

Tutorial 6 Creating a Web Form. HTML and CSS 6 TH EDITION

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

WEB DEVELOPMENT IA & IB (893 & 894)

Chapter 1 Programming Languages for Web Applications

Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5

Internet Technologies_1. Doc. Ing. František Huňka, CSc.

Example. Represent this as XML

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

Trends in Developing and Publishing Content: How HTML5 and Mobile Change the Game

4 Understanding. Web Applications IN THIS CHAPTER. 4.1 Understand Web page development. 4.2 Understand Microsoft ASP.NET Web application development

SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1

An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0

Client-side Web Engineering From HTML to AJAX

Lesson Review Answers

Checklist of Best Practices in Website

4.2 Understand Microsoft ASP.NET Web Application Development

HTML5 & CSS3. ( What about SharePoint? ) presented

Embedding a Data View dynamic report into an existing web-page

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

STATEMENT OF PURPOSE

INTERNET PROGRAMMING AND DEVELOPMENT AEC LEA.BN Course Descriptions & Outcome Competency

DESIGNING HTML HELPERS TO OPTIMIZE WEB APPLICATION DEVELOPMENT

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design

Fast track to HTML & CSS 101 (Web Design)

Release: 1. ICAWEB414A Design simple web page layouts

Responsive Web Design Creative License

CLASSROOM WEB DESIGNING COURSE

Unlocking the Java EE Platform with HTML 5

AJAX The Future of Web Development?

WWW. World Wide Web Aka The Internet. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 30, 2007

Voluntary Product Accessibility Template (VPAT)

Firefox for Android. Reviewer s Guide. Contact us: press@mozilla.com

JavaFX Session Agenda

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

SPLIT BLOCK FINAL Web Design

Voluntary Product Accessibility Template Blackboard Learn Release 9.1 April 2014 (Published April 30, 2014)

Modern Web Development From Angle Brackets to Web Sockets

Introduction to Dreamweaver

Why HTML5 Tests the Limits of Automated Testing Solutions

Upgrade to Microsoft Web Applications

Web Design Technology

Web Development. How the Web Works 3/3/2015. Clients / Server

AUTOMATED CONFERENCE CD-ROM BUILDER AN OPEN SOURCE APPROACH Stefan Karastanev

Learning HTML5 Game Programming

HTML, CSS, XML, and XSL

WEB DEVELOPMENT STANDARDS

Web Browser. Fetches/displays documents from web servers. Mosaic 1993

Web Pages. Static Web Pages SHTML

Web Authoring CSS. Module Descriptor

maximizing IT productivity

Title: Front-end Web Design, Back-end Development, & Graphic Design Levi Gable Web Design Seattle WA

10CS73:Web Programming

Advanced HTML5 and CSS3 Specialist: CIW Web and Mobile Design Series Student Guide. CCL02-CDHTCS-CK-1405 version 1.0 rd042214

ISBN-13: ISBN-10: Cengage Learning International Offices

Lesson Overview. Getting Started. The Internet WWW

Web Design and Development ACS Chapter 13. Using Forms 11/30/2015 1

Why HTML5 Is Becoming the HMI Technology of Choice

Essentials of HTML5 11/11/ Simply, the new version of HTML. 2. HTML = Hypertext Markup Language. 3. BUT it really isn t just HTML.

Visualizing a Neo4j Graph Database with KeyLines

From Desktop to Browser Platform: Office Application Suite with Ajax

All About Android WHAT IS ANDROID?

GUI and Web Programming

^/ CS> KRIS. JAMSA, PhD, MBA. y» A- JONES & BARTLETT LEARNING

Madison Area Technical College. MATC Web Style Guide

CIS 467/602-01: Data Visualization

PLAYER DEVELOPER GUIDE

Transcription:

Brian May IBM i Modernization Specialist Profound Logic Software Webmaster and Coordinator Young i Professionals Overview History HTML What is HTML5? New Features Features Removed Resources 1

A look back as how we got here History of HTML HTML HyperTextMarkup Language Markup language understood universally by all web browsers to render text, images, and other media First draft of HTML standard in 1993 2

History of HTML Nov. 1995 HTML 2.o published by Internet Engineering Task Force (IETF) Jan. 1997 HTML 3.2 published by World Wide Web Consortium (W3C) Dec. 1997 HTML 4.0 published by W3C Dec. 1999 HTML 4.01 published by W3C History of HTML HTML 4.01 is still the official HTML standard 13 years old now W3C spent early 200o s concentrating on XHTML standards Web technology has continued to progress even though the HTML standard did not Increased Javascript use Browser Plug-in technologies Nonstandard implementations of these new functionalities have led to current applications being complicated by extra code for browser compatibility 3

What is HTML5? Latest revision to the HTML standard Web Hypertext Application technology Working Group (WHATWG) Initially rejected but later adopted by the W3C Supersedes HTML4.01, XHTML1 and DOM Level 2 HTML Currently is a W3C Candidate Recommendation Not finalized 4

What is HTML5? Because of W3C s concentration on XHTML standard, HTML5 is partially an attempt to catch up with techniques already widely used Standardization of API s used for modern web development More concentration on Web Applications instead of static content More semantic markup What is HTML5? There are many different technologies surrounding HTML5 Obviously the lines between these technologies are easily blurred 5

What is HTML5? W3C Spec http://www.w3c.org/tr/html5/ WHATWG Spec http://www.whatwg.org/html5/ 6

Simplified DOCTYPE and Character Set In HTML5, there is only one DOCTYPE <!DOCTYPE HTML> Previously DOCTYPEs were very complex <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1- strict.dtd"> HTML is no longer a subset of SGML Setting the Character Set <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta charset= UTF-8 > Semantic Elements <section> Used to denote a generic section in an application or document. Generally something with a heading. <nav> Used to mark the section of a page that contains navigational controls <article> Denotes an independently distributable composition within a site. Good examples would be a blog post, forum post, comment, or an article from an e-zine. 7

Semantic Elements <aside> Used to mark content that is tangentially related to the main content. Think of this like content in a sidebar. <hgroup> Used to mark the heading of a section. This is can contain multiple heading lines (subheadings) using the <h1> through <h6> elements. <header> Defines the header of a section. Usually contains an <hgroup> or <h1> element. Semantic Elements <footer> Denotes footer for current section or document. A <footer> would normally contain things like the author of an article or the date posted. <time> Indicates to the browser that the contents represent a time value. <mark> Used to enclose part of text as marked or highlighted. 8

Why do we need all these new semantic tags? HTML4 only allowed 6 levels of headings in a page (h1 h6). Semantic elements can each have their own set of 6 heading levels thus making well structured content much more flexible. Example of Semantic Content 9

Canvas Provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly. Javascriptis used to draw on the canvas. Useful for rendering dynamic visual content such as charts Canvas 10

Video <video> tag in HTML5 allows video content to be embedded into a webpage without needing any third party plugins (Flash, QuickTime, etc.) While all of the modern browsers support the <video> tag (IE9+, Firefox, Chrome, Safari, Android), they do not all support the same formats (codecs). The <video> tag allows you to list multiple files in different formats and the browser can pick one it supports. Video 11

Local Storage Until now, if you wanted to save information on the user s local device, you would use a Cookie Cookies are transmitted with every HTTP request Limited to ~4KB of data In the Web Storage specification (previously a part of HTML5), local storage is simple and effective Implemented in Key/Value pairs Never transmitted back to the server Implemented natively in browser 5MB of storage allowed per origin Local Storage http://www.w3schools.com/html/tryit.asp?filename=try html5_webstorage_local_clickcount 12

Form Enhancements Support for new input types vary by browser Unsupported types are treated as normal input fields <input type= color name= mycolor > Allows selection of color using a Color Picker <input type= date name= mydate > Renders a date/calendar control Validates date Form Enhancements <input type= email name= myaddr > Textbox contents automatically validated for proper format. Mobile devices alter keyboard <input type= url name= mypage > Textbox contents automatically validate for proper format. Mobile devices alter keyboard <input type= number name= mynum > Desktop browsers render as spinners Mobile devices alter keyboards Input validated before submit 13

Form Enhancements Required Fields <input type= email name= myaddr required> Placeholder Text Displayed inside the input field when empty. Especially useful on mobile devices to save screen real estate. Data Lists New <datalist> element defines a list of values that can be attached to an input box for autocomplete functionality HTML5 Form Example 14

Other New Features Geolocation AppCaching (Offline web applications) Web Workers SVG 15

What s Removed in HTML5? Frames While they have been widely discouraged in modern web design, HTML5 has actually dropped support for frames/framesets <iframe> is still supported and has even been enhanced in HTML5 Styling Related Tags <basefont>, <big>, <center>, <font>, <strike> These should be replaced by CSS What s Removed in HTML5 <applet> Replaced by the <object> tag 16

What is CSS? CSS stands for Cascading Style Sheets. Styles are rules applied to HTML Standard maintained by World Wide Web Consortium (W3C) CSS eases coding and maintenance by removing the formatting from the HTML code 17

CSS Selectors Used to identify HTML elements to apply styles to. By HTML tag name By HTML tag id By class name input { } Style rules go inside braces Tag name selector Applies to any HTML tag of given type, for example: input { } Applies to all: <input> 18

Tag id selector Applies to any HTML tag with given id, for example: #main { } Applies to: <div id= main > Class selector Applies to any HTML tag with given class, for example:.error-message { } Applies to: <div class= error-message > 19

CSS style rules Coded inside selectors: div.error-message { color: red; text-decoration: underline; } Available values defined by W3C standard Learn more about CSS W3C CSS Tutorial: http://www.w3schools.com/css/ W3C CSS Reference: http://www.w3schools.com/cssref/default.asp 20

What is JavaScript JavaScript is the browser s scripting language for client side programming JavaScript can respond to events like mouse moved or key pressed to make the applications more interactive JavaScript code runs afterall webserver code has executed and the screen is displayed. 21

Why javascript JavaScript is popular. There are many resources available to help you learn it. The Web is full of JavaScript examples, code snippets, and tutorials. You can view other web site s JavaScript code. JavaScript is understood by any standard browser, and requires no special software to run. Javascript vs java JavaScript is similar to Java in name only. The syntax looks similar, but the two are completely different languages and have different purposes. JavaScript is strictly a client-side language. JavaScript is interpreted not compiled. JavaScript runs natively in a Web browser, where Java runs in a special piece of software called a JVM. 22

How it works JavaScript is loosely typed. Variables can contain any data type, and can also hold references to objects. The data type of a variable is what it currently holds. This can be changed at any time. Due to this, the programmer has to be careful of what operations to perform on the data. There is no compiler to catch improper variable usage this always results in a run-time error. JavaScript is object-oriented. Coding revolves around manipulating objects, which are usually HTML elements on the page. Code organization JavaScript code is organized into functions, which are similar in concept to ILE RPG sub-procedures. The syntax is as follows: function helloworld(parms) { } JavaScript code can be placed into the HTML itself. Code can also be placed into external files. The preferred method is to use external files. This allows for better code organization, and also for the modification of the JavaScript code without having to adjust multiple pages. 23

Properties and methods JavaScript objects have properties that you ll use to retrieve the values of HTML elements. JavaScript objects have functions that you can use to retrieve or set HTML element attributes. These functions are called methods in JavaScript. Properties can themselves be objects with their own properties and methods. 24

Additional Resources General HTML5 learning W3Schools http://www.w3schools.com Dive Into HTML5 http://www.diveintohtml5.info Browser Support Reference Can I Use - http://www.caniuse.com Browser Feature Detection Modernizr http://www.modernizr.com HTML5 Specs W3C Spec http://www.w3c.org/tr/html5/ WHATWG Spec http://www.whatwg.org/html5/ 25

About the Presenter Brian May is an IBM i Modernization Specialist for Profound Logic Software. He is also webmaster and coordinator for the Young i Professionals (http://www.youngiprofessionals.com). He is a husband and father of two beautiful girls. Brian can be reached at bmay@profoundlogic.com. 26