Library Technology Conference 2012 – March 14, 2012

Slides:



Advertisements
Similar presentations
Hypermedia systems Jakub Husár & Tomáš Jurík. Content XHTML 2.0 Definition Short history Differences between 1.0 and 2.0 Usage suitability Improvements.
Advertisements

HTML5, OVERVIEW AND NEW FEATURES PowerPoint by Mason O’Mara.
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
XHTML Basics.
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.
Tim Berners-Lee authors HTML in 1991, assisted by his colleagues at CERN,
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,
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
Chapter 14 Introduction to HTML
Structure Content Presentation Semantics.
Creating Web Pages with HTML
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.
Week 6.  Browser DOCTYPE switching What it means for you  – now is the time  CSS3 Web design for the 21 st Century.
HTML5 Accessibility Ted Drake, Yahoo! Accessibility Lab Slideshare.net/7mary4.
Principles of Web Design 6 th Edition Chapter 1 – HTML5.
SIG WEB January 31, 3PM. What is HTML5? What it is: Allows for better intergration of media consumption. A new open standard Provides new APIs.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
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.
By Jonathan French. What is CSS? Cascading Style Sheet Style sheet language Used for the look and formatting of a document written in a markup language.
PRO HTML5 PROGRAMMING POWERFUL APIS FOR RICHER INTERNET APPLICATION DEVELOPMENT.
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
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.
UPLOAD / DOWNLOAD april  HTML5 is just the next iteration of HTML  Previous version was technically HTML 4.01, which incorporated XHTML 1.0.
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.
INT222 – Internet Fundamentals Week 8: Using New HTML features 1.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
CSS Cascading Style Sheets Prepared By
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
RMLL 2010 HTML 5 and CSS 3 insights Libre Software Meeting Bordeaux - wednesday 7th july 2010 Francis Draillard, "Premiers pas en CSS et XHTML" - Eyrolles.
Agenda * What is HTML5 -- Its history and motivation * HTML/XHTML as Human / Machine Readable Format * HTML and its related technologies * Brief summary.
Chapter 9 HTML 5 Video and Audio
The HTML5 logo was introduced by W3C in 2010
Working with Cascading Style Sheets
HTML5 Basics.
Markup Languages Web Development.
CSS Wrap-Up Lists as a Navigation System CSS Layout CSS Animations
Introduction to HTML5.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
CSS3 Style of the HTML document CSS2+New Specifications Differences
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Introduction to HTML5.
PPT By:Gaurav Jaiswal Singsys Pte. Ltd.
XHTML Basics.
HTML 5 Tutorial Chapter 1 Introduction.
Web Development & Design Foundations with HTML5 8th Edition
Building beautiful and interactive apps with HTML5 & CSS3
Introduction to HTML 5.
Introduction to HTML5.
XHTML Basics.
XHTML Basics.
HTML 5 Training HTML 5 SYMANTICS [Notes to trainer:
Ground to Roof HTML/HTML5
Introduction to HTML 5.
XHTML Basics.
HTML5 and Designing a Rich Internet Experience
Introduction to HTML5.
XHTML Basics.
Creating a Basic Web Page using HTML
Introduction to HTML5.
HTML5 and Designing a Rich Internet Experience
Progressive Enhancement Using CSS 3
How to debug a website using IE F12 tools
Presentation transcript:

Library Technology Conference 2012 – March 14, 2012 What the heck is HTML5 & CSS3? An Introductory Workshop Johan Oberg Digital Scholarship and Services Librarian, Macalester College Ron Joslin Technology Coordinator & Instruction Librarian, Macalester College Leslie Mollner Reference Librarian, Macalester College Library Technology Conference 2012 – March 14, 2012

over the next two hours… What we’ll be doing over the next two hours… Brief review the development of HTML & CSS about it) What is HTML5? (and why should we be excited about it) Build a basic web page w/ HTML5 [ HANDS-ON ACTIVITY ] What is CSS3? (and why should we be excited about it) Apply CSS3 to our web page [ HANDS-ON ACTIVITY ] Browser compatibility and other challenges Show some tools & examples What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Session Goals: Gain a better understanding of what HTML5 and CSS3 is and what to expect as it is more widely adopted Start you thinking about how it could affect web development at your library What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

HTML5 What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

HTML HTML5 2010 DEVELOPMENT TIMELINE TIMELINE 2005 2000 1995 1990 1991 - Tim Berners-Lee defines HTML Basic tags for simple text and formatting. HTML DEVELOPMENT 1995 – HTML 2.0 First standardized version of html; included many of tags we are familiar with today. TIMELINE 1995 WHATWG formed - 1996 Begins development of what will      become HTML5 1999 - HTML 4.0 Stabilized the syntax and structure of Web authoring; still the standard today. 2000 W3C Takes Over - 1998 W3C adopts WHATWG work and changes its name to HTML5. 2000 – XHTML 1.0 Designed to move HTML toward XML; strict rules and focus on structural markup 2004 - XHTML 2.0 HTML heavy focus on structure; not backwards compatible 2005 HTML5 use increases – 2005-2010 Many big players, including Apple, Google & Microsoft, increase support of HTML5 HTML5 2010 TIMELINE HTML5 Completed- 2014 HTML5 specifications are expected to be completed What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

So what is HTML5? It is the newest specification for HTML: merges HTML 4, XHTML 1.0 and DOM Level 1 It’s simplified coding will make web pages better structured, more meaningful, and device neutral. It’s built-in APIs will change web pages into application development platforms. It’s still evolving – expected to be fully completed in 2014! Most experts agree, HTML5 should transform the web into a faster, leaner environment and better allow for the development of a richer user experience. What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Highlighting HTML5 Features Cleaner, more consistent and descriptive code Backwards compatibility Local storage Native support for video and audio Smarter web forms Canvas 2D drawing area Related applications What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Cleaner, More Consistent and Descriptive Code More semantic structural elements added RON (2:23pm) What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

HTML 5 <meta charset="utf-8"> HTML 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> HTML 5 <meta charset="utf-8"> RON – Example: character set definition (2:24pm) What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

RON - better structured, more semantic layout (2:25pm) What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Backwards Compatibility Works with HMTL 4 and earlier, XHMTL 1 and earlier, with some deprecation of elements RON (2:27pm) What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Apps can store info for offline use Local Storage Apps can store info for offline use RON (2:29pm) What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Native Support for Video, Audio What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

RON (2:31pm) What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Smarter Web Forms RON (2:33pm) What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

RON (2:35pm) What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Now, it’s time to build our HTML5 web page. RON (2:38pm) What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Add HTML 5 Doctype & Charset & Some Structure What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

<meta charset="utf-8"> <title>HTML 5</title> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML 5</title> <link rel="stylesheet" href="style.css"> </head> <body> <div id="pagebody"> </div> </body> </html> What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Add A Header & Some Navigation LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

<h1>Prairie Land Library</h1> <nav> <ul> <header> <h1>Prairie Land Library</h1> <nav> <ul> <li>About Us</li> <li>Collections</li> <li>Services</li> </ul> </nav> </header> LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Add Some Articles, a Section & Video LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

<h1>A Library Quilt</h1> <section> <article> <h1>A Library Quilt</h1> <img id="feature_image_1" src="quilt.jpg"/> <p>Content Goes Here</p> </article> <!-- more code goes here --> </section> LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

<!-- code already here --> <article> <section> <!-- code already here --> <article> <h1>Meet A Librarian</h1> <video width="490" height="276” controls="controls"> <source src="beth.mp4" type="video mp4" /> </video> </article> </section> LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Add Some Asides & Audio What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

<h3>Today in the Library</h3> <aside> <h3>Today in the Library</h3> <h4>Library Marks Tennessee Williams’ Birthday, March 26</h4> <p>Content goes here</p> </aside> LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

<h3>Audio Mixer</h3> <aside> <h3>Audio Mixer</h3> <audio id="audio1" controls="controls" title="Guitar" preload="preload" loop="loop"> <source src="guitar.ogg" type="audio/ogg" /> Your browser does not support the audio element. </audio> <!-- more code goes here --> </aside> LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

<!-- code already here --> <aside> <!-- code already here --> <audio controls="controls" title="Cool Congas" preload="preload" loop="loop"> <source src="cool.ogg" type="audio/ogg" /> Your browser does not support the audio element. </audio> </aside> LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Finally, Add a Footer LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

<h2>About Us</h2> <h2>Collections</h2> <footer> <h2>About Us</h2> <h2>Collections</h2> <h2>Services</h2> </footer> RON (2:40pm) What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Try out your HTML5 page! LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

CSS3 What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

CSS CSS3 (& CSS4!) 2010 DEVELOPMENT TIMELINE TIMELINE 2005 2000 1995 1990 CSS 1994 – CHSS Precursor to CSS, developed by Håkon Wium Lie DEVELOPMENT 1996 – CSS Level 1 CSS Level 1 becomes official through the W3C, developed by Lie & Bert Bos TIMELINE 1995 1998 – CSS Level 2 CSS Level 2 becomes official CSS3 – 1998 CSS3 starts to be developed 2000 2000’s – CSS Level 2.1 CSS Level 2.1 developed through the 2000's CSS3 – 2000’s Work continues on CSS3 2005 CSS3 (& CSS4!) 2011 – CSS Level 2.1 CSS Level 2.1 becomes official LESLIE: Review of the development of CSS (5 minutes) CSS4 – 2009 CSS4 starts to be developed, Not supported by any browsers 2010 TIMELINE CSS3- 2011 CSS3 Selectors, Namespaces & Color modules become official What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

So what is CSS3? It is the newest standard for CSS that will take over for CSS 2.1 with backward compatibility Modules, modules, modules. CSS3 has been split up into sections for easier updating in smaller chunks, Each module adds functionality to, and replaces part of, the CSS 2.1 specification Some modules are already completed, SVG (Scalable Vector Graphics), Media Queries and Namespaces It’s still evolving – expected to be fully completed in ? LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Highlighting CSS3 Features Selectors Color Opacity Transparency Borders Backgrounds Gradients Media Queries Multi-Column Layout Shadows @Font-Face WOFF Transitions Transforms Animation Box Sizing LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Progressive Enhancement Graceful Degredation Progressive Enhancement VS. Graceful degradation and progressive enhancement both consider how well a site works in a variety of browsers on a variety of devices Graceful degradation focuses on building the website for the most advanced/capable browsers while older browsers just get by, often with poor performances Progressive enhancement focuses on content first, the main reason web sites are created. Style and interactivity are layered on to enhance the site but are not required aspects for the content to be available to the user LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Vendor-Specific Prefixes or Extensions Webkit - Safari, Chrome Moz - Firefox, Gecko Ms - Internet Explorer 0 - Opera Khtml - Konqueror What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Now, it’s time to make our HTML5 web page look pretty with CSS3. LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Background Gradient background: #275e87; /* fallback for older/unsupporting browsers */ background: -webkit-gradient(linear, 0 0, 0 70%, from(#31a7de), to(#bde1f1)); LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Border Radius border-top-left-radius:9px; border-top-right-radius:9px; LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Border Radius /* The border-radius property is supported in IE9+, Firefox 4+, Chrome, Safari 5+, and Opera */ border-radius:10px; LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Border Radius border-top-left-radius: 7px; border-top-right-radius: 7px; LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Color & Opacity background-color:#31a7de;color:#fff;opacity:0.7; What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Background Gradient background: #FFCCFF; background: -webkit-gradient(linear, 0 0, 0 70%, from(#ffaf4b), to(#ff920a)); LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Border Radius border-radius: 10px; LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Box Shadow box-shadow: 10px 10px 10px #000; LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Background Gradient background: #275e87; /* fallback for older/unsupporting browsers */ background: -webkit-gradient(linear, 0 0, 0 60%, from(#cfcfcf), to(#f6f6f6)); LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Border Radius border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Browser Support Tools What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Browser Support Tools HTML5 Test CSS3 Test When Can I Use... HTML5 Please HTML5 & CSS3 Readiness HTML5 & CSS3 Support LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

HTML5 Test LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

CSS3 Test LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

When Can I Use… LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

HTML5 Please What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

HTML5 & CSS3 Readiness What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

HTML5 & CSS3 Support LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Validator.nu LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

HTML5 & CSS3 Examples & Tools LESLIE What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

What the Heck is HTML5 & CSS3 What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

What the Heck is HTML5 & CSS3 What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

What the Heck is HTML5 & CSS3 What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

What the Heck is HTML5 & CSS3 What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Questions? What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012

Thank You! What the Heck is HTML5 & CSS3? An Introductory Workshop Library Technology Conference 2012 – March 14, 2012