The document discusses the 3 layers of a web page: content (HTML), presentation (CSS), and behavior (JavaScript). It states that the content layer defines the structure and semantics, the presentation layer specifies the visual design, and the behavior layer adds interactivity. It provides examples of using HTML tags like <h1>, <p>, and <ul> to build the content layer and separates the different layers to build a webpage like building a house with different materials.
1 of 41
Download to read offline
More Related Content
3 Layers of the Web - Part 1
1. 3 Layers of a Web Page
Intro
&
Semantic HTML (Layer 1: Content)
26. Pig #3
The third pig thought about
how a home should be built and
used bricks and mortar to build
his home.
27. Pig #3
The wolf couldn’t blow the
house down.
(but if he did, the pig would rebuild it one brick higher.)
28. Materials used
to build
webpage: HTM
L Ed
> li>
li < itors
<
HTML tags
l>
like <p>, <div>, and <ul>
u
<
29. 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...
30. Using Tags Correctly
DO NOT use <br>
DO NOT use <hr>
DO NOT use <font>
DO NOT use <i>
DO NOT use <b>
etc...