Top Banner
22-3375 Web Design I // Columbia College Chicago Introductions
39

Web Design 1: Introductions

Jan 28, 2015

Download

Education

Shawn Calvert

http://shawncalvert.com/webdesign-1
Web Design 1
Columbia College Chicago
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Web Design 1: Introductions

22-3375 Web Design I // Columbia College Chicago

Introductions

Page 2: Web Design 1: Introductions

shawncalvert.com/webdesign-1

Page 3: Web Design 1: Introductions

Q.

Name

Major

HTML/CSS experience

What are some things you hope to accomplish this semester (outside this class)?

Page 4: Web Design 1: Introductions

Why you should want to succeed in this class:

“Graphic Design” is not media-speci!c

Build on your existing skills

Dif!culty of learning these skills outside of a structured environment

More jobs, better pay

It really is fun and empowering to code!

Page 5: Web Design 1: Introductions

How you will succeed this class:

Take it week-by-week

Be an active learner: don’t just copy and paste, ask lots of questions, make sure you understand the

underlying concepts, and be open to changing your assumptions about web design and coding

If you miss classes, be serious about contacting me (or classmates) and catching up on your work

Allow yourself time to get frustrated and start over on your assignments

Page 6: Web Design 1: Introductions
Page 7: Web Design 1: Introductions

Internet

Page 8: Web Design 1: Introductions

A global network of interconnected computers.

Page 9: Web Design 1: Introductions

WWW

Page 10: Web Design 1: Introductions

The web is just one service of the internet.

It is system of interlinked hypertext documents accessed via the Internet. With a web browser, one can view web pages that may contain text,

images, videos, and other multimedia, and navigate between them via hyperlinks.

Page 11: Web Design 1: Introductions
Page 12: Web Design 1: Introductions

URL / DNS / IP / HTTP

Page 13: Web Design 1: Introductions

User types a URL (Uniform Resource Locator)into a browser, e.g., www.amazon.com

The URL is sent to a DNS (Domain Name Service), which translates the URL into an IP address, e.g.,

18.12.23.1

The correct server is found through the IP address, which is sent an HTTP request (get), andreturns the requested html pages, images, etc,

back to the browser

Page 14: Web Design 1: Introductions

Static Pages / Dynamic Pages

Page 15: Web Design 1: Introductions

A static website is a group of self-contained, individual pages (or page), sent to the browser from

the server one-page-at-a-time.

SERVER

page.html page.html page.html

Page 16: Web Design 1: Introductions

Three layers of web design:Structure, Style, Behavior

Page 17: Web Design 1: Introductions

Three layers of web design

Page 18: Web Design 1: Introductions

Three layers of web design

Page 19: Web Design 1: Introductions

Three layers of web design

Page 20: Web Design 1: Introductions

Let’s get started!

Page 21: Web Design 1: Introductions

HTML Elements

Page 22: Web Design 1: Introductions

Anatomy of an Element

An HTML element includes boththe HTML tag and everything between

the tag (the content).

<tag>Content</tag>

Page 23: Web Design 1: Introductions

Anatomy of an Element

The element tag gives the content structure and meaning.

<tag>Content</tag>

Page 24: Web Design 1: Introductions

Anatomy of an Element

Tags normally come in pairs. The!rst tag is the start tag, and the second

tag is the end tag.

<tag>Content</tag>

Page 25: Web Design 1: Introductions

Anatomy of an Element

HTML has a de!ned set of tag names (also called keywords) that

the browser understands.

<h1>Main Headline</h1>

Page 26: Web Design 1: Introductions

Anatomy of an Element

Most elements can have attributes,which provides additional informatin

about the element.

<html lang=”en”></html>

Page 27: Web Design 1: Introductions

Anatomy of an Element

Attributes always follow the sameformat: name=”value”. You can use

either single or double quotes.

<div class=”left-nav”></div>

Page 28: Web Design 1: Introductions

Basic HTML Structure

Page 29: Web Design 1: Introductions

doctype

html

head

body

Page 30: Web Design 1: Introductions

<!DOCTYPE html>

EXCEPTION

The doctype is not actually a tag, but a declaration, telling the browserwhat kind of html you are using. The

doctype above declares HTML 5.

Page 31: Web Design 1: Introductions

<html></html>STRUCTURE

The <html> element de!nesthe whole HTML document.

Page 32: Web Design 1: Introductions

<head></head>

The <head> element contains special elements that instruct the browser

where to !nd stylesheets, provide meta info, and more.

Page 33: Web Design 1: Introductions

<body></body>

The <body> element contains the document content (what is shown

inside the browser window).

Page 34: Web Design 1: Introductions

Nesting

The use of our !rst three tags (html, head and body), introduces and important concept: Nesting, which is when tags “wrap” other tags. When you create markup, you should indicate nesting by indenting the nested tags with 2 spaces (preferred) or a tab.

<html>

<head> </head>

<body>

<h1><h1>

<p></p>

</body>

</html>

Page 35: Web Design 1: Introductions
Page 36: Web Design 1: Introductions
Page 37: Web Design 1: Introductions
Page 38: Web Design 1: Introductions

Where did those text styles come from?

All browsers have what is called a“client stylesheet” that applies formatting

to your html elements, such as text size, font,color, margins, line-height, and much more.

Your custom css overrides some of these default styles.

Page 39: Web Design 1: Introductions

But it is ugly!

Before we begin learning how to add visual design to our pages, it is crucial

that we understand how to create a foundation of solid structural design.