27
Building and Marketing Websites Foundations

Intro 1 sept_14_2010

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Intro 1 sept_14_2010

Building and Marketing Websites

Foundations

Page 2: Intro 1 sept_14_2010

What is a “Web Browser”?

Page 3: Intro 1 sept_14_2010

Web Browser

• Program to access the Web• Popular examples:

Page 4: Intro 1 sept_14_2010

Other Web Browsers

Page 5: Intro 1 sept_14_2010

Other Web Browsers

Page 6: Intro 1 sept_14_2010

Other Web Browsers

Page 7: Intro 1 sept_14_2010

How do Web Browsers work?

Page 8: Intro 1 sept_14_2010

How do Web Browsers work?

Web Server

Request

Reply

Page 9: Intro 1 sept_14_2010

What is a Web Server?

Page 10: Intro 1 sept_14_2010

Web Server

• A computer that delivers Web pages• Always connected to the Internet and waiting

Page 11: Intro 1 sept_14_2010

Data Center

Page 12: Intro 1 sept_14_2010

Data Center

Page 13: Intro 1 sept_14_2010

Data Center

Page 14: Intro 1 sept_14_2010

How do Web Browsers work?

Web Server

Request

Reply

HTML

Page 15: Intro 1 sept_14_2010

What is HTML?

Page 16: Intro 1 sept_14_2010

HTML

• Language of Web Browsers• Tells Web Browser how to display a page• “Plain text”

Page 17: Intro 1 sept_14_2010

HTML Example<html>

<head><title>Simple Website</title>

</head><body>

<h1>Welcome</h1><p>This is a demonstration.</p>

</body></html>

Page 18: Intro 1 sept_14_2010

Web Server

Request

Reply

<html><head>

<title>Simple Website</title> </head><body>

<h1>Welcome</h1><p>This is a demonstration.</p>

</body></html> HTML

Page 19: Intro 1 sept_14_2010

How does the Server know which HTML to give me?

Page 20: Intro 1 sept_14_2010

How does the Server know which HTML to give me?

Answer #1: By the URL

Page 21: Intro 1 sept_14_2010

URL

• Fancy word for “web address”• Every website has a URL

http://www.facebook.com/profile.php?id=631766246

Domain NameAllows Browser to find Server

Server sees this, and returns appropriate HTML

Page 22: Intro 1 sept_14_2010

How does the Server know which HTML to give me?

Answer #2: Your past activity• Web Server “remembers”

Page 23: Intro 1 sept_14_2010

Web Server

Request

Reply

HTML

Web Browser

URL

URL

Page 24: Intro 1 sept_14_2010

HTML Example<html>

<head><title>Simple Website</title>

</head><body>

<h1>Welcome</h1><p>This is a demonstration.</p>

</body></html>

Page 25: Intro 1 sept_14_2010

HTML Tags <…>

• Surround text• Tell Web Browser about structure and

meaning of your text

Page 26: Intro 1 sept_14_2010

Header/Subheader Tags

• <h1> … </h1>• <h2> … </h2>

Page 27: Intro 1 sept_14_2010

Paragraph Tag

• <p> … </p>