HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 1. FIRST WEBPAGE 9


If that is not true, you can look in the appendix of this book for more help.


Appendix 19.1.2 (page 199) discusses web hosting. It tells you how to acquire
it, and how to put your webpage on a web server.


Appendix 19.4 (page 204) shows how to use cPanel, a popular web hosting
control panel.


1.1 Version One


Here is a webpage. Key it in. Keep the essential elements, but feel free to
customize it. Use your own name instead of mine, for instance.


Don's Web Page


This is some normal text.
This is some bold text.
This is some normal text.
This is some italic text.
This is some normal text.


is the h1 tag. It identifies a heading at level 1, which is the most
significant level. Heading levels range from h1 to h6.

marks the end
of that heading.

Notice that there is some content, “Don’s Web Page”, that is surrounded
by the tags

and

. The tags are called markup. The content is
called, well, content.


Next we have more content. Normal text. Bold text. Italic text.


is the bold tag. It specifies that the content should be presented inbold
font.
marks the end of the bold content.


is the italic tag. It specifies that the content should be presented in
italic (slanted) font.
marks the end of the italic content.


Incidentally,is the strikethrough tag. It specifies that the content should
be presentedwithahorizontallinethroughthemiddleofit.
marks
the end of the strikethrough content.


Incidentally,is the underline tag. It specifies that the content should be
presented with a horizontal line right below it.
marks the end of the

Free download pdf