Skip to main content

Beginning Web Programming with HTML, XHTML, and CSS

Beginning Web Programming with HTML, XHTML, and CSS

Jon Duckett

ISBN: 978-0-764-57078-0

Aug 2004

840 pages

Select type: Paperback

Product not available for purchase

Description

What is this book about?

Beginning Web Programming with HTML, XHTML, and CSS teaches you how to write Web pages using HTML, XHTML, and CSS. It follows standards-based principles, but also teaches readers ways around problems they are likely to face using (X)HTML.

While XHTML is the "current" standard, the book still covers HTML because many people do not yet understand that XHTML is the official successor to HTML, and many readers will still stick with HTML for backward compatibility and simpler/informal Web pages that don't require XHTML compliance.

The book teaches basic principles of usability and accessibility along the way, to get users into the mode of developing Web pages that will be available to as many viewers as possible from the start. The book also covers the most commonly used programming/scripting language — JavaScript — and provides readers with a roadmap of other Web technologies to learn after mastering this book to add more functionality to their sites.

Related Resources

Instructor

Request an Evaluation Copy for this title

Introduction.

Chapter 1: Untangling the Web.

Chapter 2: The Structure of a Page.

Chapter 3: Links and Navigation.

Chapter 4: Colors, Images, and Objects.

Chapter 5: Tables.

Chapter 6: Forms.

Chapter 7: Frames.

Chapter 8: Deprecated and Browser-Specific Markup

Chapter 9: Cascading Style Sheets.

Chapter 10: More Cascading Style Sheets.

Chapter 11: Page Layout.

Chapter 12: Design Issues.

Chapter 13: Modularized XHTML and Serving Multiple Devices.

Chapter 14: Learning JavaScript.

Chapter 15: Creating a JavaScript Library.

Summary.

Appendix A: Answers to Exercises.

Appendix B: XHTML Element Reference.

Appendix C: CSS Properties.

Appendix D: Color Names and Values.

Appendix E: Character Encodings.

Appendix F: Special Characters.

Appendix G: Language Codes.

Appendix H: MIME Media Types. Index.

Code in .zip format
Download all code examples from the book in .zip format.
The download file is in a compressed format. You will need a program like WinZIP to decompress the files to your hard drive.
Download
Figure 1-1 Replacement on page 4
Download
Figure 2-21 Replacement
Download
Figure 6-8 Replacement on page 173
Download
Figure 7-2 Replacement on page 207
Download
Figure 9-28 Replacement on page 311
Download
Replacement figure for figure 10-14 on page 337
Download
Revised Appendix C
Download
Appendix D - "Color Names and Values"
Download
Revised Index
Download
ChapterPageDetailsDatePrint Run
2Typo in last line
Change 256 to 255
1/6/05

14Replacement figure for figure 1-1 on page 4
Can be found on the download page.
3/15/05

8Error in 2nd paragraph after figure
2nd paragraph after figure

(eg01_eg02.htm)
should read
(ch01_eg02.htm)
10/24/05

18Error in Code Block
Step 5, code block:
delete for code line <head>
8/25/05

18Delete first line of code
Step 4, delete first line of code (1st and 2nd lines are inadvertant duplicates).
10/24/05

20Error in url
In the first code block under How it works heading, 3rd line should read: http://www.w3.org/TR/xhtml1/DTD/xhtml-transitional.dtd
1/6/05

34Error in Text
3rd paragraph from bottom, reads

... allowing you to indent you code...

should read

... allowing you to indent your code...
10/24/05

46Code change
shaded code block:
<br /> should be <hr />
3/4/05

531st paragraph after figure 2-16
2nd sentence should begin: The <address> element
1/6/05

55Table at bottom of page
3rd row (not counting heading row), first entry should be lower case a.
1/6/05

573rd paragraph, 3rd line
The content of the <dd> element is the term you will be defining. The <dt> element contains the definition of the previous <dd> element.
change to:
The content of the <dt> element is the term you will be defining. The <dd> element contains the definition of the previous <dt> element.
9/27/04

58Code block at top, next to last line of code
<li>Item Four</li>
Change to:
<li>Item Five</li>
9/27/04

58Figure 2-21 Replacement
Download the replacement figure on the download page.
9/27/04

75Last Paragraph, 2nd Line
Last paragraph, 2nd line:
258 should be 255
192.0.110.257 should be 192.0.110.255
2/26/05

113Last Paragraph Above Figure 4-8
Last paragraph above Figure 4-8, paragraph should read:

Figure 4-8 shows an image at its actual size (top: 130 pixels by 130 pixels), the image magnified (middle: the width attribute is given a value of 160 pixels), and the image distorted (bottom: the width attribute is given a value of 80 pixels and the height attribute a value of 150 pixels).
3/15/05

117End of First Paragraph
End of first paragraph:

you can here why this is the case.

should be:

you can see here why this is the case.
2/26/05

121Last heading and paragraph
Last heading and paragraph after it should be as follows:
The type Attribute
You do not need to specify a type attribute if you are just passing a string to an object as a parameter. However, if you are passing a URL or object, then you should use the type attribute. Its purpose is to tell the object the MIME type of the parameter it is being passed.
1/6/05

141First heading
Delete (deprecated) from the end of the heading
1/6/05

143Heading
Add (deprecated) to the end of the heading so it reads: The width Attribute (deprecated)
1/6/05

164Error in Code
first shaded code line:
entype

should be:
enctype
7/26/06

171Paragraph before heading "Using Images for Button" - First Sentence
Paragraph before heading ( Using Images for Button ) first sentence (sent begins with If you do not use... ) should read:

If you do not use the value attribute on the submit button you may find that a browser displays something inappropriate to the use of the form – for example IE displays the text Send Query, which is not ideal for a login button form.
3/15/05

6173Replacement figure for figure 6-8 on page 173
Can be found on the download page.
3/15/05

196Code at bottom of page
Change next to last line to:
<form action= http://www.example.com/login.asp method= get >
1/6/05

7207Replacement figure for figure 7-2 on page 207
Can be found on the download page.
3/15/05

246Word Change on Last Line
Location: Last line

on then next line. should be on the next line.
2/26/05

266Change in Wording
First line after heading Introducing CSS
CSS works by allowing your associate
should be:
CSS works by allowing you to associate
2/26/05

9270Error in Sample Code
sample code between paragraphs 2 and 3, 2nd line:
font-family:courier, courier-new, serif;

should be:
font-family:courier, courier new , serif;
03/27/08

289Wrong example given
First paragraph:

For Example (ch09_eg15.css which is used with ch09_eg15.html)
It should say:
For Example (ch09_eg14.css which is used with ch09_eg14.html)
8/25/05

289Error in Code
First highlighted code line:

span.wider {letter-spacing:50px;}
should be:
span.wider {letter-spacing:10px;}
8/25/05

296Delete Final Sentence in 2nd Paragraph
Delete Final sentence in 2nd paragraph:

Also a rule was added so that the content of the whole document would have a white background - this property was attached to the <body> element.
3/15/05

9297Error in Code
code line below heading The ID Selector
p.#abstract

Should be:
p#abstract
03/17/08

3043rd Paragraph, 2nd Line
location: 3rd paragraph, 2nd line:

.. it looks as thought it is on its own line..
should be
.. it looks as though it is on its own line..
2/26/05

307Typo in First Bulleted List
Location: top of page, first bullet list:

border-bottom-color
border-right-color
border-top-color
border-left-color

should read :

border-bottom-style
border-right-style
border-top-style
border-left-style
3/15/05

307Typo in Third Bulleted List
Location: Third bullet list:

border-bottom-color
border-right-color
border-top-color
border-left-color

should read:

border-bottom-width
border-right-width
border-top-width
border-left-width
3/15/05

9311Replacement figure for figure 9-28 on page 311
Can be found on the download page.
3/15/05

3372nd Paragraph, 2nd Line
2nd text paragraph, 2nd line:

change:
dotted border takes precedence over the solid border
to
solid border takes precedence over the dotted border
2/26/05

337Replacement figure for figure 10-14
See the download page for the replacement figure.
2/26/05

504First Line of Code Block
Location: first code block, first line:

\*
should be:

/*
3/15/05

15584Error in Code
3rd shaded code block:

onsubmit= changeImages(image1, image1on)

Should be

onmouseover = changeImages('image1', 'image1on')
5/7/09

632Error in URL
Answer 2, 3nd shaded line of code block:

http://www.w3.org/TR/xhtml-transitional.dtd
should be:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
3/7/06

636Code Block
Code block, first 3 lines should be:

<?xml version= 1.0 encoding= UTF-8 ?>
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd >
2/26/05

Appendix CRevised Appendix C
Download the revised Appendix C on the download page.
10/25/04

IndexRevised Index
Download the revised Index on the download page.
10/25/04