SlideShare a Scribd company logo
<	
  web	
  design	
  101	
  >	
  
<	
  web	
  design	
  101	
  >	
  
have you installed?!
•  a text editor!
•  Cyberduck (or another FTP client)!
•  a web inspector for your browser!
details on web.mit.edu/2.744/www!
what’s in a webpage?!
6 images!
index.html!
6778.js!
date.js!
ga.js!
style3941.css!
what’s in a webpage?!
what’s in a webpage?!
hypertext markup language!
contains text and links to other pages!
cascading style sheets!
defines the look and feel of your site!
javascript!
adds interactivity to your site!
design guidelines!
enhancing usability and readability!
sketch then code!
sketch then code!
some content may be “below the fold”!
sketch then code!
add navigation arrows!
design for

the screen!
1997! today!
responsive design!
design for

the screen!
80%!
20%!
design for

the screen!
http://www.nngroup.com/articles/scrolling-and-attention/!
provide context!
tell the user where he/she is!
don’t reinvent the wheel!
modify existing layouts and templates!
getbootstrap.com!
foundation.zurb.com! verynicesites.com!
organize content
systematically!
12 column grid!
7 web design
…why ?!12!
1!
12!
1!
1!
1!
2!
1!
3!
1!
4!
1!
6!
lcd!(! )!=!
can achieve many different layouts!
HTML basics!
<lunch>	
  
	
  	
  	
  <hamburger>	
  
	
  	
   	
  <bun></bun>	
  
	
  <lettuce></lettuce>	
  
	
  	
  	
   	
  <tomato></tomato>	
  
	
  	
  	
   	
  <cheese></cheese>	
  
	
  	
  	
   	
  <patty></patty>	
  
	
  	
  	
   	
  <bun></bun>	
  
	
  	
  	
  </hamburger>	
  
</lunch>	
  
	
  
	
  	
  
HTML structure!
<!DOCTYPE	
  html>	
  
<html>	
  
	
  	
  	
  <head>	
  
	
  <title>My	
  First	
  Page</title>	
  
	
  	
  	
  </head>	
  
	
  	
  	
  <body>	
  
	
  <p>Hello	
  World!</p>	
  
	
  	
  	
  </body>	
  
</html>	
  
HTML structure!
HTML tags!
<tag	
  attr=“value”>	
  
	
  content…	
  
</tag>	
  
tag structure!
open  tag  
close  tag  
attribute(s)  
HTML tags!
<patty	
  cooked=“med”>	
  
	
  yum.	
  
</patty>	
  
tag structure!
HTML tags!
<p>	
  
<h1>…<h6>	
  
<a>	
  
<ul>,<ol>,<li>	
  
<table>,<tr>,<td>	
  
<img/>,<video>	
  
view all the tags at: http://www.w3schools.com/tags/!
- paragraph!
- headings!
- link / anchor!
- lists!
- tables!
- images, videos!
typography!
HTML tags!
<b>,<strong>	
  
<i>,<em>	
  
<sup>,<sub>	
  
- bold!
- italics!
- super/subscript!
view all the tags at: http://www.w3schools.com/tags/!
text formatting!
HTML tags!
<div>	
  
<section>	
  
<article>	
  
<br/>	
  
<hr/>	
  
- container!
- section!
- article!
- line break!
- horizontal rule!
view all the tags at: http://www.w3schools.com/tags/!
organization!
adding style!
CSS basics!
<p	
  style=“font-­‐size:14px;”>…</p>	
  
inline styling!
pros!
highly specific!
cons!
highly specific!
hard to maintain!
HTML/CSS coupled!
!
CSS basics!
block styling!
pros!
affects all matched elements!
cons!
HTML/CSS coupled!
!
<style>	
  
	
  	
  p	
  {	
  font-­‐size:	
  14px;	
  }	
  
</style>	
  
CSS basics!
separate file!
pros!
write once for whole site

HTML & CSS decoupled!
cons!
harder to control!
p	
  {	
  
	
  	
  font-­‐size:	
  14px;	
  
}	
  
	
  
CSS basics!
rule syntax!
selector	
  {	
  
	
  	
  property:	
  value;	
  
	
  	
  property:	
  value;	
  
	
  	
  …	
  
}	
  
CSS basics!
properties!
Typography!
font-­‐size	
  
font-­‐weight	
  
font-­‐family	
  
line-­‐height	
  
text-­‐align	
  
	
  
http://htmldog.com/reference/cssproperties/!
http://www.w3schools.com/cssref/!
view all!
Colors!
color	
  
background-­‐color	
  
background-­‐image	
  
line-­‐height	
  
text-­‐align	
  
	
  
Positioning!
position	
  
width,height	
  
margin	
  
padding	
  
border	
  
CSS basics!
selectors!
p	
  {	
  
	
  	
  font-­‐size:	
  14px;	
  
}	
  
<p>	
  
.bp	
  {	
  
	
  	
  color:	
  gray;	
  
}	
  
<p	
  class=“bp”>	
  
#headline	
  {	
  
	
  	
  font-­‐size:20px;	
  
}	
  
<p	
  id=“headline”>	
  
HTML element! CSS rule!
CSS basics!
cascading selectors!
.intro	
  h1	
  {	
  
	
  	
  font-­‐size:18px;	
  
}	
  
<div	
  class=“intro”>	
  
	
  	
  	
  <h1>…</h1>	
  
</div>	
  
	
  
HTML element! CSS rule!
style h1 inside every element with class=“intro”	
  
CSS basics!
box model!
http://htmldog.com/reference/cssproperties/!
http://www.w3schools.com/cssref/!
references!
CSS Zen Garden!
csszengarden.com!
CSS Zen Garden!
csszengarden.com!
2.744 Zen Garden!
what’s next?

!
no official class!
2.744 Product Design!
for class Thursday, February 27!
tutorial: building your storyboard site?!

More Related Content

PDF
CSS架構如何加速功能開發
PDF
10 tips to improve the usability of Joomla - Joomla World Conference 2014
PDF
Roll Your Own CSS Framework
PDF
Responsive WordPress workflow
PDF
디자인 패턴과 YUI를 이용해 Rich UI 빠르게 구현하기
PPTX
1111הרצאה וורדפרס מתקדם
PPTX
הרצאה מתוקשבת וורדפרס מתקדם
PPTX
How to develop a CSS Framework
CSS架構如何加速功能開發
10 tips to improve the usability of Joomla - Joomla World Conference 2014
Roll Your Own CSS Framework
Responsive WordPress workflow
디자인 패턴과 YUI를 이용해 Rich UI 빠르게 구현하기
1111הרצאה וורדפרס מתקדם
הרצאה מתוקשבת וורדפרס מתקדם
How to develop a CSS Framework

What's hot (20)

PDF
Hardboiled Front End Development — Found.ation
KEY
Webmonkey
PDF
Developing Your Ultimate Package
PDF
Frontend django, Django Web 前端探索
PDF
Scott Jehl - Delivering Responsibly - beyond tellerrand Düsseldorf 2015
PDF
Highly Maintainable, Efficient, and Optimized CSS
PDF
Speak The Web: The HTML5 Experiments
PDF
jQtouch, Building Awesome Webapps
PDF
Bootstrap 3 + responsive
DOCX
Adding videos
PDF
Rails Girls Weekly - 初探前端網頁技術 JavaScript 3/3
PDF
Responsive Websites
PDF
Front End Tooling and Performance - Codeaholics HK 2015
PDF
Week3 office hours
PDF
Responsive Web Design: Clever Tips and Techniques
PDF
Lightning fast sass
ZIP
Joomla Presentation
PPT
IBM Connection - customize it, #dd13
PDF
Be nice to your designers
PDF
Webinar: 5 Tricks for WordPress web administrators
Hardboiled Front End Development — Found.ation
Webmonkey
Developing Your Ultimate Package
Frontend django, Django Web 前端探索
Scott Jehl - Delivering Responsibly - beyond tellerrand Düsseldorf 2015
Highly Maintainable, Efficient, and Optimized CSS
Speak The Web: The HTML5 Experiments
jQtouch, Building Awesome Webapps
Bootstrap 3 + responsive
Adding videos
Rails Girls Weekly - 初探前端網頁技術 JavaScript 3/3
Responsive Websites
Front End Tooling and Performance - Codeaholics HK 2015
Week3 office hours
Responsive Web Design: Clever Tips and Techniques
Lightning fast sass
Joomla Presentation
IBM Connection - customize it, #dd13
Be nice to your designers
Webinar: 5 Tricks for WordPress web administrators
Ad

Similar to 7 web design (20)

PDF
網頁程式設計
KEY
Slow kinda sucks
PPTX
HTML5 and Joomla! 2.5 Template
KEY
ARTDM 171, Week 5: CSS
PDF
Railsgirls: Where did my HTML and CSS go
PDF
HTML5, the new buzzword
ZIP
Html5 public
PDF
3 coding101 fewd_lesson3_your_first_website 20210105
PDF
Web Development for UX Designers
PPTX
PPTX
Intro to Front-End Web Devlopment
PDF
GDI Seattle Intermediate HTML and CSS Class 1
PPT
Pubcon Las Vegas 2012 CSS and HTML coding
PPTX
HTML5 and CSS3 Techniques You Can Use Today
PDF
Design To Deployment
KEY
Make your website 2 times faster
PDF
No Feature Solutions with SharePoint
PDF
HTML5 - An introduction
KEY
Web Apps
KEY
網頁程式設計
Slow kinda sucks
HTML5 and Joomla! 2.5 Template
ARTDM 171, Week 5: CSS
Railsgirls: Where did my HTML and CSS go
HTML5, the new buzzword
Html5 public
3 coding101 fewd_lesson3_your_first_website 20210105
Web Development for UX Designers
Intro to Front-End Web Devlopment
GDI Seattle Intermediate HTML and CSS Class 1
Pubcon Las Vegas 2012 CSS and HTML coding
HTML5 and CSS3 Techniques You Can Use Today
Design To Deployment
Make your website 2 times faster
No Feature Solutions with SharePoint
HTML5 - An introduction
Web Apps
Ad

Recently uploaded (20)

PPTX
12. Community Pharmacy and How to organize it
PDF
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
PPTX
areprosthodontics and orthodonticsa text.pptx
PDF
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
PPTX
mahatma gandhi bus terminal in india Case Study.pptx
PPTX
Tenders & Contracts Works _ Services Afzal.pptx
PPTX
Special finishes, classification and types, explanation
PPTX
6- Architecture design complete (1).pptx
PDF
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
PPTX
DOC-20250430-WA0014._20250714_235747_0000.pptx
PDF
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
PPT
UNIT I- Yarn, types, explanation, process
DOCX
actividad 20% informatica microsoft project
PDF
Urban Design Final Project-Context
PPT
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
PPTX
joggers park landscape assignment bandra
PDF
The Advantages of Working With a Design-Build Studio
PPTX
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
PPT
Machine printing techniques and plangi dyeing
PPTX
HPE Aruba-master-icon-library_052722.pptx
12. Community Pharmacy and How to organize it
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
areprosthodontics and orthodonticsa text.pptx
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
mahatma gandhi bus terminal in india Case Study.pptx
Tenders & Contracts Works _ Services Afzal.pptx
Special finishes, classification and types, explanation
6- Architecture design complete (1).pptx
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
DOC-20250430-WA0014._20250714_235747_0000.pptx
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
UNIT I- Yarn, types, explanation, process
actividad 20% informatica microsoft project
Urban Design Final Project-Context
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
joggers park landscape assignment bandra
The Advantages of Working With a Design-Build Studio
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
Machine printing techniques and plangi dyeing
HPE Aruba-master-icon-library_052722.pptx

7 web design