HTML5 and CSS3: New Markup & Styles for the Emerging Web Florida Library Webinars Novare Library Services June 12, 2013 Jason Clark Head of Digital Access.

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

HTML5, OVERVIEW AND NEW FEATURES PowerPoint by Mason O’Mara.
Chapter 3 – Designing your web pages Dr. Stephanos Mavromoustakos.
Advance CSS (Menu and Layout) Miftahul Huda. CSS Navigation MENU It's truly remarkable what can be achieved through CSS, especially with navigation menus.
1 Pengantar Teknologi Internet W03: CSS Cascading Style Sheets.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Tutorial 4: Creating page layout with css
More CSS - Page layout + HTML5 new features Boriana Koleva Room: C54
Responsive Web Design (RWD) Building a single web site for the desktop, tablet and smartphone An Infopeople Webinar November 13, 2013 Jason Clark Head.
Philly.NET Hands-On MVC Razor, HTML5, CSS3 Rob Keiser, Bill Wolff.
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.
ITI 133: HTML5 Desktop and Mobile Level I
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.
Lecture 18. HTML5 and JavaScript Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell Exploring the Internet,
Chapter 8 More on Links, Layout, and Mobile Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Chapter 14 Introduction to HTML
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
CONTRASTED HTML5 & FLASH ANIMATION EFFECTS.  HTML5 AND FLASH ANIMATION CONTRASTED  ANIMATION IN WEBSITE DESIGN AND PRESENTATION  HTML5, JavaScript,
Chapter 8 More on Links, Layout, and Mobile Copyright © 2013 Terry Ann Morris, Ed.D revised by Bill Pegram, 9/24/
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.
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 Accessibility Ted Drake, Yahoo! Accessibility Lab Slideshare.net/7mary4.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
Mobile App Support Jacob Poirier Geri Hengesbach Andrea Menke Erin Rossell.
PRO HTML5 PROGRAMMING POWERFUL APIS FOR RICHER INTERNET APPLICATION DEVELOPMENT.
CSS Positioning Creating Special Effects with CSS CS202 Working with Cascading Style Sheets (Chapter 4) CS202 1.
CSS – Presentation of Information. Types of Style Sheets External Embedded h1{color:red; font-family: Arial;} Inline Text is here.
18 People Surveyed HTML (HyperText Markup Language) HTML “tags” Describes structure Building blocks Headings, paragraphs, lists, links, images, quotes,
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
Ins & Outs of. CSS3 is Modular Can we use it now?
HTML Advanced: HTML 5. Introduction to HTML 5 These slides are based on source material found at the w3schools.com website.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
HTML | DOM. Objectives  HTML – Hypertext Markup Language  Sematic markup  Common tags/elements  Document Object Model (DOM)  Work on page | HTML.
Congratulations! You are part of a global community of thousands of web developers who attend Web Camps to keep their web development skills up-to-date.
Tutorial 5 Working with Tables and Columns
Tutorial 5 Working with Tables and Columns
Introduction to HTML. What is HTML?  Hyper Text Markup Language  Not a programming language but a markup language  Used for presentation and layout.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
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.
CSS3   
WEB DEVELOPMENT IMMERSIVE BUILDING PAGE LAYOUTS. 2 Box Model Scaling Positioning Boxes Box Aesthetics HTML 5 Semantic Tags CSS Resets TOPICS GENERAL ASSEMBLYWEB.
Web Technologies Lecture 2 HTML and CSS. HTML Hyper Text Markup Language – Describes web documents – Made up of nested HTML markup tags – Tags are the.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
HTML5 & CSS3 A Practical Guide. HTML5 is more than HTML5 HTML5 Spec CSS3 Spec Web Fonts JavaScript to tie it all together.
Rich Internet Applications 9. HTML 5 and RIAs. HTML 5 Standard currently under development by W3C Aims to improve the language with support for the latest.
(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.
BEGINNER WEB DESIGN. INTRODUCTION Vocabulary Design Tools of the Trade HTML CSS.
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.
PERSPECTIVES: TUTORIAL 4 CREATING PAGE LAYOUTS WITH CSS.
INT222 – Internet Fundamentals Week 8: Using New HTML features 1.
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.
HTML 5 AND CSS Dr Mohd Soperi Mohd Zahid Semester /16.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
HTML5 Requirement Driven Design David Tarrant Electronics and Computer Science.
CSS Cascading Style Sheets Prepared By
CSS (Cascading Style Sheets). CSS CSS – Cascading Style Sheets – Cascade because of the way CSS rules can stack on top of each other. Allows you to add.
The HTML5 logo was introduced by W3C in 2010
Working with Cascading Style Sheets
HTML CS 4640 Programming Languages for Web Applications
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Creating Page Layouts with CSS
Development of Internet Applications HTML5
PPT By:Gaurav Jaiswal Singsys Pte. Ltd.
HTML 5 Tutorial Chapter 1 Introduction.
IBM Kenexa BrassRing on Cloud Responsive Apply: Visual Branding Tool
HTML5 and Designing a Rich Internet Experience
HTML5 and Designing a Rich Internet Experience
Web Programming and Design
HTML5 and Designing a Rich Internet Experience
Presentation transcript:

HTML5 and CSS3: New Markup & Styles for the Emerging Web Florida Library Webinars Novare Library Services June 12, 2013 Jason Clark Head of Digital Access & Web Services Montana State University Libraries

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

twitter #hashtag #nlshtml5

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

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

Chrome Experiments Arcade Fire - The Wilderness Downtown

HTML5 Working Examples HTML5 Mobile Feed Widget BookMeUp Learn more by viewing source OR Downloading from jasonclark.info or github.com/jasonclark

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

Evolution into HTML5 Reacting to how the web is used

A Minimal HTML5 Document title

Semantic & Functional Markup header footer nav section article figure aside mark menu contenteditable attribute

Microdata Markup for making HTML machine-readable itemscope itemtype itemprop

Microdata – Book Example <dl itemscope itemtype=" itemid="urn:isbn: " Title A River Runs Through It and Other Stories Author Norman Maclean Publication date October 1, 2001

Native Video and Audio simple markup no plugin! limited vid formats:.ogv,.mp4, webm Your browser doesn’t support the video tag.

Forms field types - , date validation regular expressions still need to watch for security/hacks

Markup

Javascript APIs Desktop programming for the web

Minification + Optimization Removing unnecessary characters and spacing from code to reduce size, and optimizing the code to improve load times Minify Optimize

Selector APIs Find elements by matching against a group of selectors (tags or attributes in DOM). querySelector() querySelectorAll() var matchList = document.querySelectorAll('li.old, li.new');

Geolocation w3c API accurate supported in Firefox 3.6, Safari 4 navigator.geolocation.getCurrentPosition();

File API, Drag & Drop API Uploading of files Drag & drop API in combination with a draggable attribute

History API Preserve the state of the page Enabling back button in client-side scripts

Fullscreen API Remove browser chrome “Turn off the lights” function launchFullScreen(element) { if(element.requestFullScreen) { element.requestFullScreen(); } Go Fullscreen

Storage APIs Keep files Store keys/values Local databases

sessionStorage mega COOKIE Stores key/value pairs while page is open

localStorage mega COOKIE Stores key/value pairs that persist after page and browser are closed

Offline Storage – Cache Manifest Work without a connection 1.Create cache manifest file 2.Set server to allow for manifest file type 3.Link to manifest file in HTML CACHE MANIFEST #store the files below index.html styles.css images/logo.png Scripts/global.js

Offline Storage - IndexedDB My browser can haz database! Simple key/value store within browser Up to 5 MB of data storage W3C discontinued Web SQL Database spec

HTML5 right now? IE? HTML5 right now article, aside, figure, footer, header, hgroup, menu, nav, section {display:block;}

Evolution into CSS3 Rethinking web displays and styles

Vendor Prefixes Add support for emerging parts of CSS spec Android: -webkit- Chrome: -webkit- Firefox: -moz- Internet Explorer: -ms- iOS: -webkit- Opera: -o- Safari: -webkit-

Box Sizing Set how the browser calculates the width of an element to include (or not include) padding, borders, and margins div.doc { width: 200px; padding: 0 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

Rounded Elements border-radius declaration smooth out your interfaces button effects -moz-border-radius: 10px 5px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 10px; -webkit-border-bottom-left-radius: 5px; border-radius: 10px 5px;

Gradients/Opacity no more background images transparency

Selectors Target specific elements or markup in a series div[attr] and a[href$=pdf] Attribute selector (starts with, ends with, contains) ul > li Immediate descendant (child) selector td:last-child {border-right:0 none;} li:nth-child(n+6) {color: grey;}

Transitions Animation behavior Scaling, fading, easing, etc. body { -o-transition:all.2s linear; -moz-transition:all.2s linear; -webkit-transition:all.2s linear; transition:all.2s linear; }

Columns and Grids Layout and page structure Goodbye, float? ul#content { -webkit-column-count: 3; -webkit-column-rule: 1px solid #eee; -webkit-column-gap: 1em; -moz-column-count: 3; -moz-column-rule: 1px solid #eee; -moz-column-gap: 1em; column-count: 3; column-rule: 1px solid #eee; column-gap: 1em; display: block; }

CSS3 example -

Media Queries switch stylesheets based on width and height of viewport same content, new view depending on screen and (max-device- width:480px) {… mobile styles here… }

Media Queries in Action Responsive Web Design, Ethan Marcotte

@Font-Face bring in fonts use any licensed TrueType (.ttf) or OpenType (.otf) font independent of machine it's being rendered on...

Demos & Examples It's your call....

catalog.douglascountylibraries.org/EcontentRecord/19339/Viewer?item=

Demos YouTube HTML5 demo o 24 ways CSS3 demo o HTML5 Demos o Other possible examples: o geolocation o localStorage

What Type of Support? see "When can I use…" o Mobile browsers leading the way Modernizr HTML5 enabling script o enabling-script/

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

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

Questions? twitter.com/jaclark