3 layers of the web - part 1

41
3 Layers of a Web Page Intro & Semantic HTML (Layer 1: Content)

Upload: jeremy-white

Post on 25-Jun-2015

3.681 views

Category:

Technology


1 download

DESCRIPTION

How to separate the layers of the web and create content layer.

TRANSCRIPT

Page 1: 3 Layers of the Web - Part 1

3 Layers of a Web PageIntro

&Semantic HTML (Layer 1: Content)

Page 2: 3 Layers of the Web - Part 1

3 Layers Intro

Page 3: 3 Layers of the Web - Part 1

3 Layers Intro

CONTENT

Page 4: 3 Layers of the Web - Part 1

3 Layers Intro

CONTENT (HTML)

Page 5: 3 Layers of the Web - Part 1

3 Layers Intro

CONTENT (HTML)

PRESENTATION

Page 6: 3 Layers of the Web - Part 1

3 Layers Intro

CONTENT (HTML)

PRESENTATION (CSS)

Page 7: 3 Layers of the Web - Part 1

3 Layers Intro

CONTENT (HTML)

PRESENTATION (CSS)

BEHAVIOR

Page 8: 3 Layers of the Web - Part 1

3 Layers Intro

CONTENT (HTML)

PRESENTATION (CSS)

BEHAVIOR (Javascript and server-side scripting)

Page 9: 3 Layers of the Web - Part 1

3 Layers Intro

CONTENT (HTML)

PRESENTATION (CSS)

BEHAVIOR (Javascript and server-side scripting)

Separation of Parts

Page 10: 3 Layers of the Web - Part 1

Separation of Parts

Page 11: 3 Layers of the Web - Part 1

Separation of Parts

Page 12: 3 Layers of the Web - Part 1

Separation of Parts

Page 13: 3 Layers of the Web - Part 1

Separation of Parts

Page 14: 3 Layers of the Web - Part 1

Building a House

Page 15: 3 Layers of the Web - Part 1

Building a House

Page 16: 3 Layers of the Web - Part 1

Building a House

<ul id=”navigation”> <li id=”home> </li> <li id=”course”> </li> <li id=”reports”> </li></ul>

<div id=”content></div>

Page 17: 3 Layers of the Web - Part 1

Building a House

Page 18: 3 Layers of the Web - Part 1

Building a House

Page 19: 3 Layers of the Web - Part 1

Building a House

Page 20: 3 Layers of the Web - Part 1

Building a House

Page 21: 3 Layers of the Web - Part 1

3 Little Pigs

Page 22: 3 Layers of the Web - Part 1

Pig #1The first pig used hay to build

his home.

Page 23: 3 Layers of the Web - Part 1

Pig #1It was blown away by the wolf.

Page 24: 3 Layers of the Web - Part 1

Pig #2The second pig used sticks to

build his home.

Page 25: 3 Layers of the Web - Part 1

Pig #2It was blown away by the wolf.

Page 26: 3 Layers of the Web - Part 1

Pig #3The third pig thought about

how a home should be built and used bricks and mortar to build

his home.

Page 27: 3 Layers of the Web - Part 1

Pig #3The wolf couldn’t blow the

house down.

(but if he did, the pig would rebuild it one brick higher.)

Page 28: 3 Layers of the Web - Part 1

Materials used to build

webpage:HTML tags

like <p>, <div>, and <ul>

<ul>

<li><li>HTML Editors

Page 29: 3 Layers of the Web - Part 1

Using Tags Correctly

<h1> For headers, especially if it’s a logo.

<h2> For topic headings

<p> for paragraphs

<caption> for captions

<ul> for lists

etc...

Page 30: 3 Layers of the Web - Part 1

Using Tags Correctly

DO NOT use <br>

DO NOT use <hr>

DO NOT use <font>

DO NOT use <i>

DO NOT use <b>

etc...

Page 31: 3 Layers of the Web - Part 1

Using Tags Correctly

Tables are used for tabular data only!Graphs, calendars, the periodic table of elements

Tables are NOT used for layout!Makes it hard for screen readers!Makes it hard to read & edit the code!Use CSS for layout!

Page 32: 3 Layers of the Web - Part 1

Using Tags Correctly

Skills

CEMDLSolutions

Super fast!Amazing turn-around times.

Internet savvy!Smart people work here!

Amazing Graphics!Stunning illustrations.

HOME ABOUT CONTACT US WWR stuff

Page 33: 3 Layers of the Web - Part 1

Using Tags Correctly

Skills

CEMDLSolutionsHOME ABOUT CONTACT US WWR stuff

<h1> </h1>

<h2> </h2>Super fast!Amazing turn-around times.

Internet savvy!Smart people work here!

Amazing Graphics!Stunning illustrations.

Page 34: 3 Layers of the Web - Part 1

Using Tags Correctly

Skills

CEMDLSolutionsHOME ABOUT CONTACT US

<ul>

</ul>

<li><a></a></li>

<li><a></a></li>

<li><a></a></li>

<li><a></a></li>

Super fast!Amazing turn-around times.

Internet savvy!Smart people work here!

Amazing Graphics!Stunning illustrations.

<li></li>

<li>

</li><li>

</li>

<h3> </h3>

<h3> </h3><p> </p>

<p> </p>

<p> </p><h3> </h3>

<ul>

</ul>WWR stuff

Page 35: 3 Layers of the Web - Part 1

Using Tags Correctly

Skills

CEMDLSolutions

Super fast!Amazing turn-around times.

Internet savvy!Smart people work here!

Amazing Graphics!Stunning illustrations.

HOME ABOUT CONTACT US WWR stuff

<acronym title=”Wire Welded Reinforcement”>WWR stuff</acronym>

Page 36: 3 Layers of the Web - Part 1

What’s the big deal?

Page 37: 3 Layers of the Web - Part 1

What’s the big deal?

.css.js

Page 39: 3 Layers of the Web - Part 1

What’s the big deal?

Page 40: 3 Layers of the Web - Part 1

What’s the big deal?

Page 41: 3 Layers of the Web - Part 1

FIN

Layer 2: Advanced CSS coming soon!