HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

Chapter 2


Content vs Markup


CONTENTS


2.1 Content........................ 13
2.1.1 Say Something.................... 14
2.1.2 Look For Its Structure................ 14
2.1.3 Mark The Structure................. 15
2.2 Markup........................ 16
2.2.1 h1: Headings..................... 16
2.2.2 p: Paragraphs..................... 17
2.2.3 br: Break....................... 17
2.2.4 Micro Markups.................... 18
2.2.5 img: Image...................... 20
2.2.6 a: Link........................ 21
2.2.7 Comments....................... 22

Every webpage has two main sections, the head and the body. The body
contains all of our webpage’s content. We will talk about that here. We will
talk about the head in Chapter 3 (page 24).


2.1 Content


What is the purpose of a webpage? To communicate. Communicate what?
Content. If we do not have something to say, why are we making a webpage?


13

Free download pdf