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:
https://github.com/html5rocks/www.html5rocks.com
You can also view the repository on GitHub.
“Today is the day I finally learn HTML & CSS!”
- Your Mind
“What heck is HTML5
& CSS3?”
- Many of us
“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.
“Master the medium, not the tools.”
“Nobody builds this interactive stuff from scratch.”
“Designers shouldn't have to learn code.”
“HTML isn't code, it's a markup language.”
“Learn enough HTML &
CSS to be fearless.”
You can also view the repository on GitHub.
<!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?”