SlideShare une entreprise Scribd logo
1  sur  92
Télécharger pour lire hors ligne
Introductions / HTML pt1
22-3375 Web Design I // Columbia College Chicago
shawncalvert.com/webdesign-1
!

TO DO

download assignments folder,

type out answers to ex1/questions.txt
Q.
Name
Major
HTML/CSS experience
What are some things you
hope to accomplish this
semester (outside this
class)?
Why you should want
to succeed in this class:
“Graphic Design” is not media-specific
Build on your existing skills
Difficulty of learning these skills outside of a
structured environment
More jobs, better pay
It really is fun and empowering to code!
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
Internet
A global network 

of interconnected computers.
WWW
!

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.
URL / DNS / IP / HTTP
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), and

returns the requested html pages, images, etc, 

back to the browser
!
Server-side / Client-side
php
asp
.net

!
SERVER

!

page.html

!
BROWSER
style.css

java
script.js
etc

Client-side coding is what we will be doing in 

this class, using HTML, CSS and Javascript. This 

just means that our code will be downloaded from
the server and then compiled entirely in 

the browser.
You do not need any special software to create html,
css or javascript files, just a plain text editor. I
recommend using bbedit in class. Check out the
resources page on the class site for other options.
The file extension defines the type of language of
the file (file.html, file.css, file.js).
Your html/css/js files do not need to be on a server
to be opened in a browser.
!
Rich Text to Plain Text
Just as with InDesign, when you receive text from
someone that has already been formatted (e.g. from
Word), you should always paste that text into TextEdit, and
convert to plain text. 

Rich Text to Plain Text
In TextEdit, go to ‘Format’ to ‘Make Plain Text.’

Rich Text to Plain Text
Copy and paste the plain text into your HTML and start
typing in tags to recreate the document structure. 

Let’s get started!
HTML
Hyper Text

+

Markup Language
Hyper Text 

Markup Language

A markup language is a 

set of markup tags.
The purpose of the tags 

are to describe page content.

Markup Language
Without any markup to give your content structure, the
browser renders unformatted and unstyled text, also
known as “plain text”.

Markup Language
HTML tags give structure and meaning to your content.
“Semantic markup” refers to the use of meaningful tags to
describe content (e.g. using header tags for header content). 

Markup Language
Once your content is marked up, the browser applies built-in
default styles to the tags. While you can override these styles
with css, your marked up, non-css styled document should be
readable and have a clear hierarchy. 

HTML Elements
Anatomy of an Element 


<tag>Content</tag>
An HTML element includes both

the HTML tag and everything between 

the tag (the content).

Anatomy of an Element 


<tag>Content</tag>


The element tag gives the 

content structure and meaning.

Anatomy of an Element 


<tag>Content</tag>

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

tag is the end tag. 

Anatomy of an Element 


<h1>Main Headline</h1>

HTML has a defined set of tag 

names (also called keywords) that 

the browser understands.

Anatomy of an Element 


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

Most elements can have attributes,

which provides additional informatin

about the element. 

Anatomy of an Element 


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

Attributes always follow the same

format: name=”value”. You can use 

either single or double quotes. 

Tags: Basic Structure
doctype
html
head
body



EXCEPTION


<!DOCTYPE html>


The doctype is not actually a tag, 

but a declaration, telling the browser

what kind of html you are using. The 

doctype above declares HTML 5.

<html></html>


The <html> element defines

the whole HTML document.

<head></head>


The <head> element contains special
elements that instruct the browser
where to find stylesheets, provide meta
info, and more.
<html lang=”en”></html>


The <html> element should have a “lang”
attribute to tell the browser what language
your page is written in.

<body></body>


The <body> element contains 

the document content (what is shown 

inside the browser window).

Nesting
The use of our first 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.


Document Hierarchy: Parents, children and siblings
Just as in a genealogy tree, the family hierarchy is described in
terms of relationships. All elements in the document have a
parent (up to ‘document’, which is at the top), and may have
children (nested inside) or siblings (placed alongside). 


<parent x>
<child and sibling y> </child and sibling y>
<child and sibling z> </child and sibling z>
</parent x> 

Tags: Head Tags
title
base
meta
link
script
style



<title></title>





The title element:

• defines a title in the browser toolbar, 

• provides a title for the page when it is 

added to favorites
• displays a title for the page in search

engine results.
EXAMPLE


<title>My Portfolio</title>

<meta>


The <meta> tag provides metadata
about the HTML document. Metadata
will not be displayed on the page, but
will be machine readable.
EXAMPLE


<meta charset="utf-8">


The <meta> is a single tag —

it does not require a closing tag.
<link>


The <link> tag defines the 

relationship between a document 

and an external resource. It is a 

single tag.
EXAMPLE


<link rel="stylesheet" type="text/css" href="stylesheet.css">


In the example above, the <link> tag

has three attributes: rel (relationship), 

type, and href (hypertext reference).

Tags: Headings
<h1></h1> 

through

<h6></h6>


The header elements are block-level

tags that give you the ability to assign

semantic weight (importance) to your
headlines.
EXAMPLE

Tags: Images
<img>


The <img> element is a single, inline 

tag that works anywhere in the body 

to insert a jpg, png, svg or gif file.
NOTE


The <img> tag is empty;

it requires a src (source) attribute to 

“pull in” the image into the page. It does
not require an “alt” tag, but if the image
is essential to the content (e.g. not a
background or decorative element), it
should have one.
EXAMPLE


<img src="images/logo.gif" alt=”Acme Corp”>


All <img> tags should also contain an

alt attribute. This is “alternate” text

that will appear if for some reason the image
link is broken or the file is unavailable.
Tags: Paragraphs
<p></p>


The <p> element is a block-level tag 

that contains default space-before and
space-after properties (making indention

unnecessary.)
EXAMPLE

Tags: Lists
<ul>
<ol>
<dl>



NOTE


List tags are always used in nested pairs.
!

The wrapping tags define the list type,
and indicate where the list series begins
and ends.
<ul>
<li></li>
</ul>

The <ul> (unordered list) element is a 

block-level tag that wraps a series of <li>

(list item) elements. The default property

for the list items is a bullet.
EXAMPLE

<ol>
<li></li>
</ol>

The <ol> (ordered list) element is a 

block-level tag that wraps a series of <li>

(list item) elements. The default property

for the list items is decimal (1, 2, 3).
EXAMPLE

Tags: Anchors (linking)
<a></a>


The <a> element is an inline 

tag that works anywhere in the 

body to create a hyperlink.
EXAMPLE


<a href="aboutme.html">About Me</a>

<a href="http://www.colum.edu">My school</a>


<a> tags are always used in pairs,
wrapping the content you want to activate
as a link. If you use an absolute URL, it
must start with “http://”.
Relative vs Absolute links
Whenever you link to a file with an ‘href‘ (hypertext reference )
or ‘src’ (source) attribute, you are providing the browser and
address to the resource. That address can be relative or
absolute.

root directory (www.mysite.com)
index.html
images
logo.png
report.pdf
stylesheet.css

!
Relative vs Absolute links
A relative link is relative to the resource’s location in its
directory. It is like saying “the restaurant is 2 blocks away.”

In the example below, if ‘logo.png‘ were linked from the
homepage (index.html), the tag would be:
<img src=”images/logo.png”>

root directory (www.mysite.com)
index.html
images
logo.png
report.pdf
stylesheet.css
Relative vs Absolute links
An absolute link is the full address to the resource’s location in
the entire web. It is like saying “the restaurant is at 222 West
Grand, Chicago IL 60625.”
<img src=”http://www.mysite.com/images/logo.png”>


root directory (www.mysite.com)
index.html
images
logo.png
report.pdf
stylesheet.css
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.

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.

FTP
File Transfer Protocol


Local

(your computer)


Host

(www)

FTP Software
All premium code editors have ftp built in, which allows you to
sync your project files to the server easily.
You will often need to post or download files from the server
manually. For this you can use dedicated ftp software:




Fetch, Transmit and FileZilla & Fireftp (both free) are all good
choices for Mac.

WALKTHROUGH: Set up a project in bbedit

Wordpress
CMS







A Content Management System (CMS) 

is a computer program that allows publishing, editing and
modifying content on a web site as well as maintenance from a
central page.

Dynamic CMS







index.php


database

WALKTHROUGH: Set up a theme in Wordpress

WALKTHROUGH: Create a post in Wordpress


Contenu connexe

Tendances (20)

Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
 
Images on the Web
Images on the WebImages on the Web
Images on the Web
 
HTML Email
HTML EmailHTML Email
HTML Email
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML Basics
 
Advanced Cascading Style Sheets
Advanced Cascading Style SheetsAdvanced Cascading Style Sheets
Advanced Cascading Style Sheets
 
Presentation on html, css
Presentation on html, cssPresentation on html, css
Presentation on html, css
 
Span and Div tags in HTML
Span and Div tags in HTMLSpan and Div tags in HTML
Span and Div tags in HTML
 
Intro to HTML and CSS - Class 2 Slides
Intro to HTML and CSS - Class 2 SlidesIntro to HTML and CSS - Class 2 Slides
Intro to HTML and CSS - Class 2 Slides
 
Div tag presentation
Div tag presentationDiv tag presentation
Div tag presentation
 
PHP HTML CSS Notes
PHP HTML CSS  NotesPHP HTML CSS  Notes
PHP HTML CSS Notes
 
HTML Lecture Part 1 of 2
HTML Lecture Part 1 of 2HTML Lecture Part 1 of 2
HTML Lecture Part 1 of 2
 
Css.html
Css.htmlCss.html
Css.html
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
 
HTML & CSS Masterclass
HTML & CSS MasterclassHTML & CSS Masterclass
HTML & CSS Masterclass
 
HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!
 
HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
 
Css notes
Css notesCss notes
Css notes
 
HTML/CSS Lecture 1
HTML/CSS Lecture 1HTML/CSS Lecture 1
HTML/CSS Lecture 1
 
Html training slide
Html training slideHtml training slide
Html training slide
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 

En vedette

10 Usability & UX Guidelines
10 Usability & UX Guidelines10 Usability & UX Guidelines
10 Usability & UX GuidelinesShawn Calvert
 
Introduction to Responsive Web Design
Introduction to Responsive Web DesignIntroduction to Responsive Web Design
Introduction to Responsive Web DesignShawn Calvert
 
Basics of Web Navigation
Basics of Web NavigationBasics of Web Navigation
Basics of Web NavigationShawn Calvert
 
Intro to Javascript and jQuery
Intro to Javascript and jQueryIntro to Javascript and jQuery
Intro to Javascript and jQueryShawn Calvert
 
Creating Images for the Web
Creating Images for the WebCreating Images for the Web
Creating Images for the WebShawn Calvert
 
Usability and User Experience
Usability and User ExperienceUsability and User Experience
Usability and User ExperienceShawn Calvert
 
HTML Foundations, pt 3: Forms
HTML Foundations, pt 3: FormsHTML Foundations, pt 3: Forms
HTML Foundations, pt 3: FormsShawn Calvert
 
User Centered Design
User Centered DesignUser Centered Design
User Centered DesignShawn Calvert
 

En vedette (10)

Web Design Process
Web Design ProcessWeb Design Process
Web Design Process
 
10 Usability & UX Guidelines
10 Usability & UX Guidelines10 Usability & UX Guidelines
10 Usability & UX Guidelines
 
Introduction to Responsive Web Design
Introduction to Responsive Web DesignIntroduction to Responsive Web Design
Introduction to Responsive Web Design
 
Basics of Web Navigation
Basics of Web NavigationBasics of Web Navigation
Basics of Web Navigation
 
Intro to Javascript and jQuery
Intro to Javascript and jQueryIntro to Javascript and jQuery
Intro to Javascript and jQuery
 
Creating Images for the Web
Creating Images for the WebCreating Images for the Web
Creating Images for the Web
 
Usability and User Experience
Usability and User ExperienceUsability and User Experience
Usability and User Experience
 
Intro to jQuery
Intro to jQueryIntro to jQuery
Intro to jQuery
 
HTML Foundations, pt 3: Forms
HTML Foundations, pt 3: FormsHTML Foundations, pt 3: Forms
HTML Foundations, pt 3: Forms
 
User Centered Design
User Centered DesignUser Centered Design
User Centered Design
 

Similaire à Week 2-intro-html

Similaire à Week 2-intro-html (20)

HTML Foundations, part 1
HTML Foundations, part 1HTML Foundations, part 1
HTML Foundations, part 1
 
Web Design 1: Introductions
Web Design 1: IntroductionsWeb Design 1: Introductions
Web Design 1: Introductions
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
Html basics
Html basicsHtml basics
Html basics
 
Html
HtmlHtml
Html
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
 
Learn HTML and CSS_ Learn to build a website with HTML and CSS
Learn HTML and CSS_ Learn to build a website with HTML and CSS Learn HTML and CSS_ Learn to build a website with HTML and CSS
Learn HTML and CSS_ Learn to build a website with HTML and CSS
 
Merging Result-merged.pdf
Merging Result-merged.pdfMerging Result-merged.pdf
Merging Result-merged.pdf
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Tm 1st quarter - 1st meeting
Tm   1st quarter - 1st meetingTm   1st quarter - 1st meeting
Tm 1st quarter - 1st meeting
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
About html
About htmlAbout html
About html
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Empowerment Technologies Lecture 10 (Philippines SHS)
Empowerment Technologies Lecture 10 (Philippines SHS)Empowerment Technologies Lecture 10 (Philippines SHS)
Empowerment Technologies Lecture 10 (Philippines SHS)
 
Appdev appdev appdev app devAPPDEV 1.2.pptx
Appdev appdev appdev app devAPPDEV 1.2.pptxAppdev appdev appdev app devAPPDEV 1.2.pptx
Appdev appdev appdev app devAPPDEV 1.2.pptx
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 

Plus de Shawn Calvert

Web Design I Syllabus 22 3375-03
Web Design I Syllabus 22 3375-03Web Design I Syllabus 22 3375-03
Web Design I Syllabus 22 3375-03Shawn Calvert
 
22-3530, Photo Communications Syllabus
22-3530, Photo Communications Syllabus22-3530, Photo Communications Syllabus
22-3530, Photo Communications SyllabusShawn Calvert
 
An Overview of Stock Photography
An Overview of Stock PhotographyAn Overview of Stock Photography
An Overview of Stock PhotographyShawn Calvert
 
Typography I syllabus
Typography I syllabusTypography I syllabus
Typography I syllabusShawn Calvert
 

Plus de Shawn Calvert (9)

Web Design I Syllabus 22 3375-03
Web Design I Syllabus 22 3375-03Web Design I Syllabus 22 3375-03
Web Design I Syllabus 22 3375-03
 
22-3530, Photo Communications Syllabus
22-3530, Photo Communications Syllabus22-3530, Photo Communications Syllabus
22-3530, Photo Communications Syllabus
 
An Overview of Stock Photography
An Overview of Stock PhotographyAn Overview of Stock Photography
An Overview of Stock Photography
 
Color Photography
Color PhotographyColor Photography
Color Photography
 
PSA posters
PSA postersPSA posters
PSA posters
 
Composition & Light
Composition & LightComposition & Light
Composition & Light
 
of Pixels and Bits
of Pixels and Bitsof Pixels and Bits
of Pixels and Bits
 
Camera basics
Camera basics Camera basics
Camera basics
 
Typography I syllabus
Typography I syllabusTypography I syllabus
Typography I syllabus
 

Dernier

Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdshivubhavv
 
VVIP Pune Call Girls Dange Chowk (8250192130) Pune Escorts Nearby with Comple...
VVIP Pune Call Girls Dange Chowk (8250192130) Pune Escorts Nearby with Comple...VVIP Pune Call Girls Dange Chowk (8250192130) Pune Escorts Nearby with Comple...
VVIP Pune Call Girls Dange Chowk (8250192130) Pune Escorts Nearby with Comple...Call Girls in Nagpur High Profile
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja Nehwal
 
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Servicearoranaina404
 
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Delhi Call girls
 
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Call Girls in Nagpur High Profile
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdftbatkhuu1
 
The Art of Batik, template ppt aesthetic
The Art of Batik, template ppt aestheticThe Art of Batik, template ppt aesthetic
The Art of Batik, template ppt aestheticTiaFebriani
 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...babafaisel
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxTusharBahuguna2
 
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵anilsa9823
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️soniya singh
 
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...SUHANI PANDEY
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfParomita Roy
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptxVanshNarang19
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceanilsa9823
 

Dernier (20)

Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcd
 
VVIP Pune Call Girls Dange Chowk (8250192130) Pune Escorts Nearby with Comple...
VVIP Pune Call Girls Dange Chowk (8250192130) Pune Escorts Nearby with Comple...VVIP Pune Call Girls Dange Chowk (8250192130) Pune Escorts Nearby with Comple...
VVIP Pune Call Girls Dange Chowk (8250192130) Pune Escorts Nearby with Comple...
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
 
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow 💓 Lucknow < Renuka Sharma > 7877925207 Escorts Service
 
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
 
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Paharganj 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdf
 
B. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdfB. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdf
 
The Art of Batik, template ppt aesthetic
The Art of Batik, template ppt aestheticThe Art of Batik, template ppt aesthetic
The Art of Batik, template ppt aesthetic
 
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
 
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
 
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Kalyani Nagar ( Pune ) Call ON 8005736733 Starting From ...
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptx
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
 

Week 2-intro-html

  • 1. Introductions / HTML pt1 22-3375 Web Design I // Columbia College Chicago
  • 2. shawncalvert.com/webdesign-1 ! TO DO
 download assignments folder,
 type out answers to ex1/questions.txt
  • 3. Q. Name Major HTML/CSS experience What are some things you hope to accomplish this semester (outside this class)?
  • 4. Why you should want to succeed in this class: “Graphic Design” is not media-specific Build on your existing skills Difficulty of learning these skills outside of a structured environment More jobs, better pay It really is fun and empowering to code!
  • 5. 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
  • 7. A global network 
 of interconnected computers.
  • 8. WWW
  • 9. ! 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.
  • 10.
  • 11. URL / DNS / IP / HTTP
  • 12. 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), and
 returns the requested html pages, images, etc, 
 back to the browser !
  • 14. php asp .net ! SERVER ! page.html ! BROWSER style.css java script.js etc Client-side coding is what we will be doing in 
 this class, using HTML, CSS and Javascript. This 
 just means that our code will be downloaded from the server and then compiled entirely in 
 the browser.
  • 15. You do not need any special software to create html, css or javascript files, just a plain text editor. I recommend using bbedit in class. Check out the resources page on the class site for other options. The file extension defines the type of language of the file (file.html, file.css, file.js). Your html/css/js files do not need to be on a server to be opened in a browser. !
  • 16.
  • 17. Rich Text to Plain Text Just as with InDesign, when you receive text from someone that has already been formatted (e.g. from Word), you should always paste that text into TextEdit, and convert to plain text. 

  • 18. Rich Text to Plain Text In TextEdit, go to ‘Format’ to ‘Make Plain Text.’

  • 19. Rich Text to Plain Text Copy and paste the plain text into your HTML and start typing in tags to recreate the document structure. 

  • 21. HTML
  • 24. Markup Language
 A markup language is a 
 set of markup tags. The purpose of the tags 
 are to describe page content.

  • 25. Markup Language Without any markup to give your content structure, the browser renders unformatted and unstyled text, also known as “plain text”.

  • 26. Markup Language HTML tags give structure and meaning to your content. “Semantic markup” refers to the use of meaningful tags to describe content (e.g. using header tags for header content). 

  • 27. Markup Language Once your content is marked up, the browser applies built-in default styles to the tags. While you can override these styles with css, your marked up, non-css styled document should be readable and have a clear hierarchy. 

  • 29. Anatomy of an Element 
 <tag>Content</tag> An HTML element includes both
 the HTML tag and everything between 
 the tag (the content).

  • 30. Anatomy of an Element 
 <tag>Content</tag>
 The element tag gives the 
 content structure and meaning.

  • 31. Anatomy of an Element 
 <tag>Content</tag>
 Tags normally come in pairs. The first tag is the start tag, and the second
 tag is the end tag. 

  • 32. Anatomy of an Element 
 <h1>Main Headline</h1>
 HTML has a defined set of tag 
 names (also called keywords) that 
 the browser understands.

  • 33. Anatomy of an Element 
 <html lang=”en”></html>
 Most elements can have attributes,
 which provides additional informatin
 about the element. 

  • 34. Anatomy of an Element 
 <div class=”left-nav”></div>
 Attributes always follow the same
 format: name=”value”. You can use 
 either single or double quotes. 

  • 37. EXCEPTION
 <!DOCTYPE html>
 The doctype is not actually a tag, 
 but a declaration, telling the browser
 what kind of html you are using. The 
 doctype above declares HTML 5.

  • 38. <html></html>
 The <html> element defines
 the whole HTML document.

  • 39. <head></head>
 The <head> element contains special elements that instruct the browser where to find stylesheets, provide meta info, and more.
  • 40. <html lang=”en”></html>
 The <html> element should have a “lang” attribute to tell the browser what language your page is written in.

  • 41. <body></body>
 The <body> element contains 
 the document content (what is shown 
 inside the browser window).

  • 42. Nesting The use of our first 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. 

  • 43. Document Hierarchy: Parents, children and siblings Just as in a genealogy tree, the family hierarchy is described in terms of relationships. All elements in the document have a parent (up to ‘document’, which is at the top), and may have children (nested inside) or siblings (placed alongside). 
 <parent x> <child and sibling y> </child and sibling y> <child and sibling z> </child and sibling z> </parent x> 

  • 44.
  • 47. <title></title>
 
 The title element:
 • defines a title in the browser toolbar, 
 • provides a title for the page when it is 
 added to favorites • displays a title for the page in search
 engine results.
  • 49. <meta>
 The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine readable.
  • 50. EXAMPLE
 <meta charset="utf-8">
 The <meta> is a single tag —
 it does not require a closing tag.
  • 51. <link>
 The <link> tag defines the 
 relationship between a document 
 and an external resource. It is a 
 single tag.
  • 52. EXAMPLE
 <link rel="stylesheet" type="text/css" href="stylesheet.css">
 In the example above, the <link> tag
 has three attributes: rel (relationship), 
 type, and href (hypertext reference).

  • 53.
  • 55. <h1></h1> 
 through <h6></h6> 
 The header elements are block-level
 tags that give you the ability to assign
 semantic weight (importance) to your headlines.
  • 57.
  • 59. <img>
 The <img> element is a single, inline 
 tag that works anywhere in the body 
 to insert a jpg, png, svg or gif file.
  • 60. NOTE
 The <img> tag is empty;
 it requires a src (source) attribute to 
 “pull in” the image into the page. It does not require an “alt” tag, but if the image is essential to the content (e.g. not a background or decorative element), it should have one.
  • 61. EXAMPLE
 <img src="images/logo.gif" alt=”Acme Corp”>
 All <img> tags should also contain an
 alt attribute. This is “alternate” text
 that will appear if for some reason the image link is broken or the file is unavailable.
  • 63. <p></p>
 The <p> element is a block-level tag 
 that contains default space-before and space-after properties (making indention
 unnecessary.)
  • 67. NOTE
 List tags are always used in nested pairs. ! The wrapping tags define the list type, and indicate where the list series begins and ends.
  • 68. <ul> <li></li> </ul>
 The <ul> (unordered list) element is a 
 block-level tag that wraps a series of <li>
 (list item) elements. The default property
 for the list items is a bullet.
  • 70. <ol> <li></li> </ol>
 The <ol> (ordered list) element is a 
 block-level tag that wraps a series of <li>
 (list item) elements. The default property
 for the list items is decimal (1, 2, 3).
  • 73. <a></a>
 The <a> element is an inline 
 tag that works anywhere in the 
 body to create a hyperlink.
  • 74. EXAMPLE
 <a href="aboutme.html">About Me</a>
 <a href="http://www.colum.edu">My school</a>
 <a> tags are always used in pairs, wrapping the content you want to activate as a link. If you use an absolute URL, it must start with “http://”.
  • 75. Relative vs Absolute links Whenever you link to a file with an ‘href‘ (hypertext reference ) or ‘src’ (source) attribute, you are providing the browser and address to the resource. That address can be relative or absolute.
 root directory (www.mysite.com) index.html images logo.png report.pdf stylesheet.css !
  • 76. Relative vs Absolute links A relative link is relative to the resource’s location in its directory. It is like saying “the restaurant is 2 blocks away.”
 In the example below, if ‘logo.png‘ were linked from the homepage (index.html), the tag would be: <img src=”images/logo.png”>
 root directory (www.mysite.com) index.html images logo.png report.pdf stylesheet.css
  • 77. Relative vs Absolute links An absolute link is the full address to the resource’s location in the entire web. It is like saying “the restaurant is at 222 West Grand, Chicago IL 60625.” <img src=”http://www.mysite.com/images/logo.png”>
 root directory (www.mysite.com) index.html images logo.png report.pdf stylesheet.css
  • 78.
  • 79. 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.

  • 80. 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.

  • 81. FTP
  • 82. File Transfer Protocol
 Local
 (your computer)
 Host
 (www)

  • 83. FTP Software All premium code editors have ftp built in, which allows you to sync your project files to the server easily. You will often need to post or download files from the server manually. For this you can use dedicated ftp software: 
 Fetch, Transmit and FileZilla & Fireftp (both free) are all good choices for Mac.

  • 84.
  • 85.
  • 86. WALKTHROUGH: Set up a project in bbedit

  • 88. CMS 
 
 A Content Management System (CMS) 
 is a computer program that allows publishing, editing and modifying content on a web site as well as maintenance from a central page.

  • 90.
  • 91. WALKTHROUGH: Set up a theme in Wordpress

  • 92. WALKTHROUGH: Create a post in Wordpress