HTML5 - Introduction to Java Script - Lecture Slides, Slides of Javascript programming

Here is my collection on JavaScript lectures. It includes tutorials as well as general concepts explanations. Particularly these slides contain: HTML5 , Web Fonts, New Selector, Decorations, Transformation, Approaches, Selectivizr, Hosted Solutions

Typology: Slides

2013/2014

Uploaded on 01/29/2014

surii
surii 🇮🇳

3.5

(13)

121 documents

1 / 33

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
HTML5 is more than HTML5
HTML5 Spec
CSS3 Spec
Web Fonts
JavaScript to tie it all together
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21

Partial preview of the text

Download HTML5 - Introduction to Java Script - Lecture Slides and more Slides Javascript programming in PDF only on Docsity!

HTML5 is more than HTML

  • HTML5 Spec
  • CSS3 Spec
  • Web Fonts
  • JavaScript to tie it all together

What’s New in HTML5 Spec?

  • Simplified and Loose Syntax
  • New Elements and Attributes
  • Embedded Media
  • Canvas
  • Offline Storage
  • Drag and Drop
  • Geo-Location

In the real world

HTML

Why Use HTML5 Today?

  • Pros
    • Better semantics
    • Lean code
    • Improved user experience
  • Cons
    • Some work is needed to accommodate older browsers

Modernizr

  • A minimal JavaScript solution (5k) that detects a browser’s features

html5shiv

  • Turns HTML5 structural elements into HTML4 elements for older

browsers

  • becomes

Video tag markup

  • Video for Everybody code by Kroc Camen

VideoJS

  • Builds on VFE
  • Uses JavaScript for a more consistent experience
  • Falls back gracefully if JavaScript is disabled
  • FREE! See http://videojs.com for details and downloads.

Why Use CSS3 Today?

  • Pro
    • Smaller download
    • Less JavaScript
    • Better user experience
  • Cons
    • Some work is needed to accommodate older browsers

Various Approaches

  • CSS3 + IE Filters
  • PIE
  • Selectivzr
  • Modernizr
  • eCSStender

At a Glance

Selector Decoration File Size Notes CSS3 + IE Filter No Yes?

PIE

  • A JavaScript solution that uses IE specific behavior that is applied

via HTML Components (HTC).

  • Limited feature support:
    • border-radius
    • box-shadow
    • linear-gradient
  • HTC file is 11kb.

Selectivizr

  • A JavaScript solution that emulates CSS3 pseudo-class and attribute

selectors in IE 6- 8

At a Glance

Selector Decoration File Size Notes CSS3 + IE Filter No Yes? PIE No Limited 11K IE Only Selectivzr Yes No 4K IE Only