Programming Languages Chapter 13 The Focus This Writing Programs That Create Html Pages Section

subject Type Homework Help
subject Pages 1
subject Words 304
subject Authors Barbara Ericson, Mark J. Guzdial

Unlock document.

This document is partially blurred.
Unlock all pages and 1 million more documents.
Get Access
page-pf1
Chapter 13
The focus in this chapter is on writing programs that create HTML pages. In section 13.1 we
talk about HTML and some of the common HTML tags. Be sure to have students view the
source on some different HTML pages to see the tags from actual pages.
In section 13.2 we create Java classes that write simple Web pages. As we have before in the
book we start out with methods that a beginner might write and then break them into smaller,
reusable methods. We show how you can create a Web page with thumbnails of pictures with
In section 13.3 we introduce databases, maps, and generics. Students can use a HashMap to
create a PhoneBook class. Be sure to point out that cell phones use maps. Ask students how to
add the ability to look-up a name when given a phone number? See if they can add this to their
PhoneBook class. You can even have the students create a new class Contact where each
Contact object can have a name, home phone, cell phone, work phone, and a picture.
In section 13.4 we cover the basics of working with a relational database. The goal of this
chapter is for students to get some sense of how databases work and how Web pages can be

Trusted by Thousands of
Students

Here are what students say about us.

Copyright ©2022 All rights reserved. | CoursePaper is not sponsored or endorsed by any college or university.