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



Similar documents
Chapter 2 HTML Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Responsive Web Design (RWD) Building a single web site for the desktop, tablet and smartphone

Website Planning Checklist

Web Development 1 A4 Project Description Web Architecture

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

Cross-Platform Tools

Making Web Application using Tizen Web UI Framework. Koeun Choi

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

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

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

ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014

Yandex.Widgets Quick start

Introduction to Web Design Curriculum Sample

JISIS and Web Technologies

PLAYER DEVELOPER GUIDE

Website Login Integration

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

CIS 467/602-01: Data Visualization

Introduction to XHTML. 2010, Robert K. Moniot 1

Unlocking the Java EE Platform with HTML 5

Script Handbook for Interactive Scientific Website Building

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

CLASSROOM WEB DESIGNING COURSE

c. Write a JavaScript statement to print out as an alert box the value of the third Radio button (whether or not selected) in the second form.

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

Visualizing a Neo4j Graph Database with KeyLines

Interactive Data Visualization for the Web Scott Murray

Slide.Show Quick Start Guide

WIRIS quizzes web services Getting started with PHP and Java

ICT 6012: Web Programming

oncourse web design handbook Aristedes Maniatis Charlotte Tanner

Further web design: HTML forms

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

Internet Technologies

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

Differences between HTML and HTML 5

Introduction to PhoneGap

Client-side Web Engineering From HTML to AJAX

WHITEPAPER. Skinning Guide. Let s chat Velaro info@velaro.com by Velaro

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

Hello World RESTful web service tutorial

A set-up guide and general information to help you get the most out of your new theme.

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

MAGENTO THEME SHOE STORE

Web Development I & II*

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS ( )

Web Design and Databases WD: Class 7: HTML and CSS Part 3

Visualizing an OrientDB Graph Database with KeyLines

XHTML BASICS. Institute of Finance Management CIT Department Herman Mandari

Using HTML5 Pack for ADOBE ILLUSTRATOR CS5

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

Building a Simple Mobile optimized Web App/Site Using the jquery Mobile Framework

Chapter 22 How to send and access other web sites

Going Beyond SAP ITS Mobile Apps to a Responsive Design Mobile Apps. JK (JayaKumar Pedapudi) Principal Consultant NTT DATA, Inc.

ITNP43: HTML Lecture 4

RSW. Responsive Fullscreen WordPress Theme

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY

Getting Started with Ubertor's Cascading Style Sheet (CSS) Support

Semantic HTML. So, if you're wanting your HTML to be semantically-correct...

Version 4.0. Unit 3: Web Design. Computer Science Equity Alliance, Exploring Computer Science Unit 3: Web Design 102

HTML5 & Friends. And How They Change A Developer s Life

Outline of CSS: Cascading Style Sheets

Introduction Designing your Common Template Designing your Shop Top Page Product Page Design Featured Products...

WEB DESIGN COURSE CONTENT

the intro for RPG programmers Making mobile app development easier... of KrengelTech by Aaron Bartell

Outline. 1.! Development Platforms for Multimedia Programming!

HTML5 - Key Feature of Responsive Web Design

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Improving Madcap Flare SEO

How to code, test, and validate a web page

HTML TIPS FOR DESIGNING

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

HTTP is Stateless. it simply allows a browser to request a single document from a web server. it remembers nothing between invoca9ons.

LAB MANUAL CS (22): Web Technology

Short notes on webpage programming languages

HTML5 Multimedia DEVELOP AND DESIGN. Ian Devlin

MASTERTAG DEVELOPER GUIDE

<script type="text/javascript"> var _gaq = _gaq []; _gaq.push(['_setaccount', 'UA ']); _gaq.push(['_trackpageview']);

Google Sites: Creating, editing, and sharing a site

The purpose of jquery is to make it much easier to use JavaScript on your website.

Transcription:

Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5 Jason Clark Head of Digital Access & Web Services Montana State University Library

pinboard.in #tag pinboard.in/u:jasonclark/t:lita-html5/

twitter #hashtag #litahtml5

Overview Revolution or Evolution? New Features and Functions Demos Getting Started Questions

Hello, My Name is Background, Position HTML, Programming experience? Experience with CSS3? What do you want to learn most?

Terms: HTML, CSS, API Does everybody know what these elements are? CSS - style rules for HTML documents HTML - markup tags that structure docs - browsers read them and display according to rules API (application programming interface) - set of routines, protocols, and tools for building software applications

http://www.w3.org/history/19921103-hypertext/hypertext/www/link.html

HTML5 spec from WHATWG The World Wide Web's markup language has always been HTML. HTML was primarily designed as a language for semantically describing scientific documents, although its general design and adaptations over the years has enabled it to be used to describe a number of other types of documents. The main area that has not been adequately addressed by HTML is a vague subject referred to as Web Applications. This specification attempts to rectify this, while at the same time updating the HTML specifications to address issues raised in the past few years. www.whatwg.org/specs/web-apps/2005-09-01/#introduction

Chrome Experiments Arcade Fire - The Wilderness Downtown http://www.chromeexperiments.com/arcadefire/

HTML5 Working Examples HTML5 Mobile Feed Widget www.lib.montana.edu/~jason/files/html5-mobile-feed/ BookMeUp www.lib.montana.edu/beta/bookme/ Learn more by viewing source OR Downloading from jasonclark.info or github.com/ jasonclark

HTML5 as "umbrella" Term Changes to HTML spec Additions to CSS spec New Javascript APIs

Evolution into HTML5 Reacting to how the web is used

A Minimal HTML5 Document <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>title</title> <link rel="stylesheet" href="style.css"> <script src="script.js"></script> </head> <body> <!-- page content --> </body> </html>

Semantic & Functional Markup header footer nav main section article aside figure figcaption details mark menu datalist contenteditable attribute data-* attributes

Microdata RDFa Lite RDFa markup for machine-readable HTML vocab typeof property

Microdata RDFa Lite - Book <dl vocab= http://schema.org typeof= Book > <dt>title</dt> <dd property="title">a River Runs Through It and Other Stories</dd> <dt>author</dt> <dd property="author">norman Maclean</dd> <dt>publication date</dt> <dd property="pubdate">october 1, 2001</dd> <dt>id</dt> <dd property="isbn">0226500667</dd> </dl>

Microdata 1.0 Markup for machine-readable HTML itemscope itemtype itemprop

Microdata 1.0 - Book <dl itemscope itemtype="http://schema.org/ Book"> <dt>title</dt> <dd itemprop="name">a River Runs Through It and Other Stories</dd> <dt>author</dt> <dd itemprop="author">norman Maclean</dd> <dt>publication date</dt> <dd itemprop="datepublished">october 1, 2001</dd> <dt>id</dt> <dd itemprop="isbn">0226500667</dd> </dl>

Link Relations Explain why you're pointing to another page. "I'm pointing to this other page because..." <link rel="stylesheet" href="template.css"/> rel=alternate rel=archives rel=author rel=external rel=icon rel=license rel=prefetch rel=search rel=sidebar rel=tag...

Native Video and Audio simple markup no plugin limited vid formats:.ogv,.mp4, webm <video width="320" height="240 controls="controls"> <source src="film.mp4" type="video/mp4" /> Your browser doesn t support the video tag. </video>

Canvas Draw into HTML elements via scripting (usually JavaScript) draw graphs, make photo compositions, create animations or even do real-time video processing <canvas id="canvas"></canvas>

Details Widget functionality to obtain additional information or controls Create collapsible navigation menus, FAQ widgets, basic toggle functions, etc. <details> <summary>question [toggle +/-]</summary> <p>answer to Question </p> </details>

Forms <form> <input> field types - email, date, search validation regular expressions still need to watch for security/hacks

<form> Markup <input type="email" required> <input type="date"> <input type="url"> <input type="email" required autofocus>

data-* Attributes Store custom data private to the page or application, for which there are no more appropriate attributes or elements store anything which can be string encoded <ul id="table-of-contents"> <li data-chapter="1" data-pages="6 pages">make Things</li> <li data-chapter="2" data-pages="9 pages">do Stuff</li> </ul>

Data URIs Embed small files inline in documents <img width="16" height="16" alt="star" src="data:image/ gif;base64,r0lgodlheaaqamqaaorhhovskudfoulrsop3wo ydzu6qdvcchpgolfo0o/xbs/fnwfjz0frl3/zy7//// waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa AAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGl CQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQK GIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCB MQiB0UjIQA7" />! data:[<mime type>][;charset=<charset>] [;base64],<encoded data>

HTML5 right now? IE? <!DOCTYPE html> <html lang="en > <head> <meta charset="utf-8" /> <title>html5 right now</title> <!--[if IE]> <script src="http://html5shiv.googlecode.com/svn/ trunk/html5.js"></script> <![endif]--> <style> article, aside, figure, footer, header, hgroup, main, menu, nav, section {display:block;} </style> </head> <body> <!-- ready to roll with HTML5 now --> </body> </html>

Demos & Examples It's your call...

catalog.douglascountylibraries.org/econtentrecord/19339/viewer?item=3439864

Demos YouTube HTML5 demo o http://www.youtube.com/html5 24 ways CSS3 demo o http://24ways.org/ HTML5 Demos o http://html5demos.com/ Other possible examples: o geolocation o localstorage

What Type of Support? see "When can I use " o http://a.deveria.com/caniuse/ Mobile browsers leading the way Modernizr http://www.modernizr.com/ HTML5 enabling script o http://html5shim.googlecode.com/svn/ trunk/html5.js

Resources HTML5 Tag Reference (W3Schools) o w3schools.com/html5/html5_reference.asp Cross Browser Support Tables o www.findmebyip.com/litmus/ HTML5 Doctor o html5doctor.com/ CSS3 Previews (CSS3.info) o www.css3.info/preview/ HTML5 & CSS3 Cheat Sheets o webresourcesdepot.com/html-5-and-css3- cheat-sheets-collection/

Resources (cont.) HTML5 Boilerplate o http://html5boilerplate.com/ HTML5rocks o html5rocks.com HTML5 Please o html5please.com/#use

Assignment 1 Using HTML5 Class Template http://www.lib.montana.edu/~jason/files/html5-mobilefeed/template.html 1. Add header, nav, main, 3 section(s), aside, footer 2. Create <nav> with 3 anchor links corresponding to 3 section(s) using ids as anchor links 3. Add content (dummy text) into remaining tags 4. Add RDFa Lite microdata to page

Questions? twitter.com/jaclark www.lib.montana.edu/~jason/talks.php

http://www.gesteves.com/experiments/starwars.html