This presentation is an HTML page.
Press → key to advance.
Toggle notes with the 2 key.
Zoom in/out: Ctrl or Command + +/-
Having issues seeing the presentation? Read the disclaimer
This presentation was printed from an HTML page.
A fully interactive version of these slides containing examples and links to further resources can be found at:
http://choppingblock.com/presentations.
This page is based on the HTML5 Slideshow by Marcin Wichary, Ernest Delgado, Alex Russell and Brad Neuberg:
http://apirocks.com/html5/html5.html
“Ok great, how do I
start making stuff?”
The longer we hypothesize about a (desktop) tool that could enable us to build a Magic Poster, the more we would inevitably be drawn to solutions already present in HTML & CSS.
Each item on that list could easily be the subject of an additional presentation, class or workshop.
“Master the medium, not the tools.”
“Designers shouldn't have to learn code.”
“HTML isn't code, it's a markup language.”
<!DOCTYPE html> <html> <head> <title>My Web Page</title> The stuff you don't see. </head> <body> The stuff you see. </body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html>
Learn more: w3schools > Doctype Declaration
<head> <title>SampleHTMLProject01</title> <meta name="author" content="The Chopping Block, Inc." /> <meta name="description" content="" /> <meta name="keywords" content="" /> <link rel="stylesheet" href="styles.css" media="screen"/> <style type="text/css" media="screen"> CSS styles for just this page. </style> <script type="text/javascript" charset="utf-8"> JavaScript code for just this page. </script> </head>
<div id="header"> <h1>Site Title</h1> <h2>Site Tagline</h2> </div> <ul class="navbar"> <li><a href="index.html">Home</a></li> <li><a href="portfolio.html">Portfolio</a></li> <li><a href="http://wordpress.com/myblog">Blog</a></li> <li><a href="contact.html">Contact</a></li> </ul> <p>Lorem ipsum dolor sit amet, consectetur...</p>
Learn more: w3schools > Primary HTML Tags
selector { property: value; }
body { background: #eeeeee; font-family: “Trebuchet MS”, Verdana, Arial, serif; }
h1, h2, h3 { color: #f60; }
Learn more: cssbasics.com
<body>, <h1>, <h2>, <h3>, <ul>, <img>, <a>, etc...
body { background-color: #ccc; }
<h2 class="subtitle">Custom Graphics</h2>
.subtitle { background-color: #ccc; }
<h2 id="subtitle">Custom Graphics</h2>
#subtitle { background-color: #ccc; }
<head> <title>SampleHTMLProject01</title> <link rel="stylesheet" href="styles.css" media="screen"/> </head>
Learn the box model: w3schools > CSS Box Model
Background images: w3schools > CSS Background
Styling Text: w3schools > CSS Text
“No really, get to the
cool stuff?”
Image 1 Image 2 Image 3 Image 4
<video src="movie.webm" poster="movie.jpg" controls> This is fallback content to display if the browser does not support the video element. </video>
<video poster="movie.jpg" controls> <source src='movie.webm' type='video/webm; codecs="vp8.0, vorbis"'/> <source src='movie.ogv' type='video/ogg; codecs="theora, vorbis"'/> <source src='movie.mp4' type='video/mp4; codecs="avc1.4D401E, mp4a.40.2"'/> <p>This is fallback content</p> </video>
// make for ( var i=0; i<n; i++ ) { c.fillStyle = "hsla("+ 10*i +", 100%, 50%, 1)"; c.fillRect( (barWidth + spacing)* i , 0,barWidth,barHeight); };
<a href="myimage.jpg" rel="shadowbox">My Image</a>
“This is what the web was supposed to be.”