(Ebook PDF) New Perspectives On HTML 5 and CSS: Comprehensive 8th Edition All Chapter Instant Download
(Ebook PDF) New Perspectives On HTML 5 and CSS: Comprehensive 8th Edition All Chapter Instant Download
com
https://ebooksecure.com/product/ebook-pdf-new-
perspectives-on-html-5-and-css-comprehensive-8th-
edition/
https://ebooksecure.com/download/new-perspectives-on-html-5-and-
css-comprehensive-ebook-pdf/
https://ebooksecure.com/download/new-perspectives-on-html-5-and-
css-ebook-pdf/
(eBook PDF) Responsive Web Design with HTML 5 & CSS 9th
Edition
http://ebooksecure.com/product/ebook-pdf-responsive-web-design-
with-html-5-css-9th-edition/
http://ebooksecure.com/product/ebook-pdf-new-perspectives-on-
microsoft-access-2013-comprehensive/
New Perspectives On The Internet: Comprehensive, Loose-
leaf Version 10th Edition Jessica Evans - eBook PDF
https://ebooksecure.com/download/new-perspectives-on-the-
internet-comprehensive-loose-leaf-version-ebook-pdf/
http://ebooksecure.com/product/original-pdf-new-perspectives-on-
html5-css3-and-javascript-6th-edition/
http://ebooksecure.com/product/ebook-pdf-perspectives-on-
personality-8th-edition/
http://ebooksecure.com/product/ebook-pdf-new-perspectives-
microsoft-office-365-powerpoint-2016-comprehensive/
http://ebooksecure.com/product/ebook-pdf-new-perspectives-
microsoft-office-365-word-2016-comprehensive/
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
vi New Perspectives Series
Kate Mason, Learning Designer; Tom Benedetto, Product Assistant; Erin Griffin, Art Director;
Fola Orekoya, Manufacturing Planner; Lumina Datamatics Ltd., Compositor, as well as John
Freitas and Danielle Shaw, Technical Editors.
This book is dedicated to my wife Joan who is my inspiration and role model for her good
humor, dedication, and tireless support.
– Patrick Carey
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
HTML 5 and CSS, 8th Edition, Comprehensive vii
BRIEF CONTENTS
HTML Level I Tutorials
Tutorial 1 Getting Started with HTML 5. . . . . . . . . . . . . . . . . . . . . . . . . HTML 1
Creating a Website for a Food Vendor
Tutorial 2 Getting Started with CSS. . . . . . . . . . . . . . . . . . . . . . . . . . . HTML 85
Designing a Website for a Fitness Club
Level II Tutorials
Tutorial 3 Designing a Page Layout . . . . . . . . . . . . . . . . . . . . . . . . . HTML 175
Creating a Website for a Chocolatier
Tutorial 4 Graphic Design with CSS . . . . . . . . . . . . . . . . . . . . . . . . . HTML 273
Creating a Graphic Design for a Genealogy Website
Tutorial 5 Designing for the Mobile Web. . . . . . . . . . . . . . . . . . . . . . HTML 361
Creating a Mobile Website for a Daycare Center
Glossary REF 1
Index REF 11
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
viii New Perspectives Series
TABLE OF CONTENTS
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii SESSION 1.2���������������������������������������������������������HTML 22
Tools for Working with HTML . . . . . . . . . . . . . . . . . HTML 6 Line Breaks and Other Empty Elements . . . . . . . HTML 38
Content Management Systems and Working with Block Quotes and Other Elements . . . HTML 39
Frameworks . . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML 7
Session 1.2 Quick Check . . . . . . . . . . . . . . . . . . . . . HTML 45
Testing your Code . . . . . . . . . . . . . . . . . . . . . . . . HTML 7
SESSION 1.3���������������������������������������������������������HTML 46
Exploring an HTML Document . . . . . . . . . . . . . . . . . HTML 8
Working with Lists . . . . . . . . . . . . . . . . . . . . . . . . . HTML 48
The Document Type Declaration . . . . . . . . . . . . . HTML 8
Ordered Lists . . . . . . . . . . . . . . . . . . . . . . . . . . HTML 48
Introducing Element Tags . . . . . . . . . . . . . . . . . . HTML 9
Unordered Lists . . . . . . . . . . . . . . . . . . . . . . . . . HTML 49
The Element Hierarchy . . . . . . . . . . . . . . . . . . . HTML 10
Description Lists . . . . . . . . . . . . . . . . . . . . . . . . HTML 51
Introducing Element Attributes . . . . . . . . . . . . . HTML 11
Navigation Lists . . . . . . . . . . . . . . . . . . . . . . . . HTML 55
Handling White Space . . . . . . . . . . . . . . . . . . . . HTML 12
Working with Hypertext Links . . . . . . . . . . . . . . . . HTML 57
Viewing an HTML File in a Browser . . . . . . . . . HTML 12
Turning an Inline Image into a Link . . . . . . . . . . HTML 59
Creating an HTML File . . . . . . . . . . . . . . . . . . . HTML 13
Specifying the Folder Path . . . . . . . . . . . . . . . . . . . HTML 60
Creating the Document Head . . . . . . . . . . . . . . . . . HTML 15
Absolute Paths . . . . . . . . . . . . . . . . . . . . . . . . . HTML 61
Setting the Page Title . . . . . . . . . . . . . . . . . . . . HTML 16
Relative Paths . . . . . . . . . . . . . . . . . . . . . . . . . . HTML 61
Adding Metadata to the Document . . . . . . . . . . HTML 16
Setting the Base Path . . . . . . . . . . . . . . . . . . . . HTML 62
Adding Comments to Your Document . . . . . . . . . . . HTML 18
Linking to a Location within a Document . . . . . . . . HTML 63
Session 1.1 Quick Check . . . . . . . . . . . . . . . . . . . . . HTML 21
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
HTML 5 and CSS, 8th Edition, Comprehensive ix
Marking Locations with the id Attribute . . . . . . . HTML 63 RGB Color Values . . . . . . . . . . . . . . . . . . . . . . . HTML 99
Anchors and the name Attribute . . . . . . . . . . . . HTML 63 Defining Semi-Opaque Colors . . . . . . . . . . . . . HTML 102
Linking to the Internet and Other Resources . . . . . . HTML 64 Setting Text and Background Colors . . . . . . . . HTML 102
Linking to an Email Address . . . . . . . . . . . . . . . HTML 65 Session 2.1 Quick Check . . . . . . . . . . . . . . . . . . . . HTML 107
Creating a Style Sheet . . . . . . . . . . . . . . . . . . . . . . HTML 96 Session 2.2 Quick Check . . . . . . . . . . . . . . . . . . . . HTML 133
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
x New Perspectives Series
Using Images for List Markers . . . . . . . . . . . . . . HTML 141 Working with Container Collapse . . . . . . . . . . . HTML 201
Setting the List Marker Position . . . . . . . . . . . HTML 142 Session 3.1 Quick Check . . . . . . . . . . . . . . . . . . . . HTML 204
SESSION 3.1 �������������������������������������������������������HTML 176 Managing Space within a Grid . . . . . . . . . . . . . . . HTML 234
Introducing the display Style . . . . . . . . . . . . . . . . HTML 178 Alignment for a Single Grid Cell . . . . . . . . . . . HTML 235
Creating a Reset Style Sheet . . . . . . . . . . . . . . . . HTML 178 Aligning the Grid . . . . . . . . . . . . . . . . . . . . . . . HTML 235
Exploring Page Layout Designs . . . . . . . . . . . . . . HTML 182 Session 3.2 Quick Check . . . . . . . . . . . . . . . . . . . . HTML 237
Fixed, Fluid, and Elastic Layouts . . . . . . . . . . . HTML 182 SESSION 3.3 ������������������������������������������������������HTML 238
Working with Width and Height . . . . . . . . . . . . . . HTML 184 Positioning Objects . . . . . . . . . . . . . . . . . . . . . . . . HTML 240
Setting Maximum and Minimum Dimensions . . HTML 184 The CSS Positioning Styles . . . . . . . . . . . . . . . HTML 240
Centering a Block Element . . . . . . . . . . . . . . . HTML 187 Relative Positioning . . . . . . . . . . . . . . . . . . . . . HTML 240
Vertical Centering . . . . . . . . . . . . . . . . . . . . . . HTML 188 Absolute Positioning . . . . . . . . . . . . . . . . . . . . HTML 241
Floating Page Content . . . . . . . . . . . . . . . . . . . . . HTML 189 Fixed and Inherited Positioning . . . . . . . . . . . . HTML 244
Clearing a Float . . . . . . . . . . . . . . . . . . . . . . . . HTML 193 Using the Positioning Styles . . . . . . . . . . . . . . . HTML 244
Refining a Floated Layout . . . . . . . . . . . . . . . . HTML 197
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
HTML 5 and CSS, 8th Edition, Comprehensive xi
Handling Overflow . . . . . . . . . . . . . . . . . . . . . . . . HTML 254 Gradients and Color Stops . . . . . . . . . . . . . . . . HTML 315
Session 3.3 Quick Check . . . . . . . . . . . . . . . . . . . HTML 260 Creating Semi-Transparent Objects . . . . . . . . . . . . HTML 322
Review Assignments . . . . . . . . . . . . . . . . . . . . . . . HTML 267 Session 4.2 Quick Check . . . . . . . . . . . . . . . . . . . . HTML 324
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xii New Perspectives Series
Aligning Items along the Cross Axis . . . . . . . . . HTML 410 SESSION 6.2 �����������������������������������������������������HTML 476
Creating a Navicon Menu . . . . . . . . . . . . . . . . . . . HTML 412 Creating Row Groups . . . . . . . . . . . . . . . . . . . . . . HTML 478
Session 5.2 Quick Check . . . . . . . . . . . . . . . . . . . . . HTML 417 Creating Column Groups . . . . . . . . . . . . . . . . . . . . HTML 482
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
HTML 5 and CSS, 8th Edition, Comprehensive xiii
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xiv New Perspectives Series
Exploring Digital Video . . . . . . . . . . . . . . . . . . . . HTML 620 Working with the script Element . . . . . . . . . . . . . HTML 686
Video Formats and Codecs . . . . . . . . . . . . . . . HTML 620 Loading the script Element . . . . . . . . . . . . . . . HTML 686
Using the HTML 5 video Element . . . . . . . . . . . . . HTML 621 Inserting the script Element . . . . . . . . . . . . . . HTML 687
Adding a Text Track to Video . . . . . . . . . . . . . . . . HTML 624 Creating a JavaScript Program . . . . . . . . . . . . . . . HTML 689
Making Tracks with WebVTT . . . . . . . . . . . . . HTML 625 Adding Comments to your JavaScript Code . . . HTML 689
Placing the Cue Text . . . . . . . . . . . . . . . . . . . . HTML 628 Writing a JavaScript Command . . . . . . . . . . . . HTML 690
Applying Styles to Track Cues . . . . . . . . . . . . . HTML 630 Understanding JavaScript Syntax . . . . . . . . . . HTML 691
Using Third-Party Video Players . . . . . . . . . . . . . HTML 634 Debugging Your Code . . . . . . . . . . . . . . . . . . . . . . HTML 692
Exploring the Flash Player . . . . . . . . . . . . . . . HTML 635 Opening a Debugger . . . . . . . . . . . . . . . . . . . . HTML 692
Embedding Videos from YouTube . . . . . . . . . . . HTML 636 Inserting a Breakpoint . . . . . . . . . . . . . . . . . . . HTML 694
HTML 5 Video Players . . . . . . . . . . . . . . . . . . HTML 637 Applying Strict Usage of JavaScript . . . . . . . . . HTML 695
Session 8.2 Quick Check . . . . . . . . . . . . . . . . . . . . HTML 639 Session 9.1 Quick Check . . . . . . . . . . . . . . . . . . . . HTML 697
Creating Transitions with CSS . . . . . . . . . . . . . . . HTML 642 Introducing Objects . . . . . . . . . . . . . . . . . . . . . . . HTML 700
Setting the Transition Timing . . . . . . . . . . . . . . HTML 644 Referencing Object Collections . . . . . . . . . . . . HTML 701
Delaying a Transition . . . . . . . . . . . . . . . . . . . . HTML 647 Referencing an Object by ID and Name . . . . . . HTML 703
Creating a Hover Transition . . . . . . . . . . . . . . . HTML 647 Changing Properties and Applying Methods . . . . . HTML 704
Animating Objects with CSS . . . . . . . . . . . . . . . . . HTML 652 Object Properties . . . . . . . . . . . . . . . . . . . . . . HTML 704
Session 8.3 Quick Check . . . . . . . . . . . . . . . . . . . . HTML 666 Declaring a Variable . . . . . . . . . . . . . . . . . . . . HTML 709
Review Assignments . . . . . . . . . . . . . . . . . . . . . . . HTML 673 Variables and Data Types . . . . . . . . . . . . . . . . HTML 710
Tutorial 9 Getting Started with JavaScript Working with Date Objects . . . . . . . . . . . . . . . . . . HTML 711
Creating a Countdown Clock . . . . . . . . . . . . . . . HTML 681
Creating a Date Object . . . . . . . . . . . . . . . . . . HTML 712
SESSION 9.1 �������������������������������������������������������HTML 682 Applying Date Methods . . . . . . . . . . . . . . . . . . HTML 713
Introducing JavaScript . . . . . . . . . . . . . . . . . . . . . HTML 684 Setting Date and Time Values . . . . . . . . . . . . . HTML 716
Server-Side and Client-Side Programming . . . . HTML 684 Session 9.2 Quick Check . . . . . . . . . . . . . . . . . . . . HTML 717
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
HTML 5 and CSS, 8th Edition, Comprehensive xv
Working with Operators and Operands . . . . . . . . . HTML 720 Sorting an Array . . . . . . . . . . . . . . . . . . . . . . . HTML 764
Using Assignment Operators . . . . . . . . . . . . . . HTML 720 Extracting and Inserting Array Items . . . . . . . . HTML 765
Calculating the Days Left in the Year . . . . . . . . HTML 721 Using Arrays as Data Stacks . . . . . . . . . . . . . . HTML 766
Working with the Math Object . . . . . . . . . . . . . . . HTML 723 Session 10.1 Quick Check . . . . . . . . . . . . . . . . . . . HTML 769
Session 9.3 Quick Check . . . . . . . . . . . . . . . . . . . . HTML 739 SESSION 10.3 . . . . . . . . . . . . . . . . . . . . . . . . . HTML 786
Review Assignments . . . . . . . . . . . . . . . . . . . . . . . HTML 744 Introducing Conditional Statements . . . . . . . . . . . HTML 788
Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML 746 Exploring the if Statement . . . . . . . . . . . . . . . HTML 789
Tutorial 10 Exploring Arrays, Loops, and Conditional Nesting if Statements . . . . . . . . . . . . . . . . . . . HTML 791
Statements Exploring the if else Statement . . . . . . . . . . . . HTML 793
Creating a Monthly Calendar . . . . . . . . . . . . . . HTML 751
Using Multiple else if Statements . . . . . . . . . . HTML 794
SESSION 10.1 . . . . . . . . . . . . . . . . . . . . . . . . . HTML 752
Completing the Calendar App . . . . . . . . . . . . . . . . HTML 796
Introducing the Monthly Calendar . . . . . . . . . . . . HTML 754
Setting the First Day of the Month . . . . . . . . . HTML 797
Reviewing the Calendar Structure . . . . . . . . . . HTML 755
Placing the First Day of the Month . . . . . . . . . HTML 798
Adding the calendar() Function . . . . . . . . . . . . HTML 756
Writing the Calendar Days . . . . . . . . . . . . . . . . HTML 799
Introducing Arrays . . . . . . . . . . . . . . . . . . . . . . . . HTML 757
Highlighting the Current Date . . . . . . . . . . . . . HTML 801
Creating and Populating an Array . . . . . . . . . . HTML 758
Displaying Daily Events . . . . . . . . . . . . . . . . . . HTML 803
Working with Array Length . . . . . . . . . . . . . . . HTML 761
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xvi New Perspectives Series
Managing Program Loops and Conditional Appendix C Cascading Styles and Selectors . . HTML C1
Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML 806
Appendix D Making the Web
Exploring the break Command . . . . . . . . . . . . . HTML 806
More Accessible. . . . . . . . . . . . . . . . . . . . . . . . HTML D1
Exploring the continue Command . . . . . . . . . . HTML 806
Appendix E Designing for the Web. . . . . . . . . . HTML E1
Exploring Statement Labels . . . . . . . . . . . . . . HTML 807
Appendix F Page Validation with XHTML. . . . HTML F1
Session 10.3 Quick Check . . . . . . . . . . . . . . . . . . . HTML 809
GLOSSARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .REF 1
Review Assignments . . . . . . . . . . . . . . . . . . . . . . . HTML 815
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
TUTORIAL
1
O B J E C T I VES Getting Started
Session 1.1
• Explore the history of the web
• Create the structure of an
with HTML 5
HTML document Creating a Website for a Food Vendor
• Insert HTML elements and
attributes
• Insert metadata into a document
• Define a page title Case | Curbside Thai
Session 1.2 Sajja Adulet is the owner and master chef of Curbside Thai,
• Mark page structures with a restaurant owner and now food truck vendor in Charlotte,
sectioning elements North Carolina that specializes in Thai dishes. Sajja has hired
• Organize page content with you to develop the company’s website. The website will display
grouping elements information about Curbside Thai, including the truck’s daily
• Mark content with text-level locations, menu, catering opportunities, and contact information.
elements Sajja wants the pages to convey the message that customers will get
• Insert inline images the same great food and service whether they order in the restaurant
• Insert symbols based on
or from the food truck. Some of the materials for these pages have
character codes
already been completed by a former employee and Sajja needs you
Session 1.3 to finish the job by converting that work into a collection of web
• Mark content using lists page documents. To complete this task, you’ll learn how to write
• Create a navigation list and edit HTML 5 code and how to get your HTML files ready for
• Link to files within a website display on the World Wide Web.
with hypertext links
• Link to email addresses and
telephone numbers
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
HTML 2 HTML 5 and CSS | Tutorial 1 Getting Started with HTML 5
© Kzenon/Shutterstock.com;
A closing tag marks the © martiapunts/Shutterstock.com;
end of the element © Brian A Jackson/Shutterstock.com;
content; this tag marks the © sayhmog/Shutterstock.com;
end of the page footer. © rangizzz/Shutterstock.com
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Tutorial 1 Getting Started with HTML 5 | HTML 5 and CSS HTML 3
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Another random document with
no related content on Scribd:
venial. Nevertheless, as some of them lived on in a lesser degree in his
son, we must remember his arrogance, his melodramatic airs, his over-
weening self-will, and his strange inconsistencies. In no one else would
these vices and defects have been tolerated; that they were
overlooked in him is the highest tribute that can be paid to the
splendour of his services and the sterling worth of his nature.
If we look further back into the antecedents of the Pitt family, we
find it domiciled at or near Blandford in Dorset, where it had produced
one poet of quite average abilities, Christopher Pitt (1699–1748),
whose translation of Virgil had many admirers. The love of adventure
and romance, so often found in West Country families, had already
been seen in Thomas Pitt (1653–1726), who worked his way to the
front in India despite the regulations of the Company, became
Governor of Madras, and made his fortune by very questionable
37
transactions. His great stroke of good fortune was the purchase of
the famous diamond, which he thereafter sold to the Regent of France
for nearly six times the price of purchase. He married a lady who
traced her descent to a natural son of James V of Scotland; and to this
union of a daring adventurer with the scion of a chivalrous race we
may perhaps refer the will-power and the mental endowments which
shone so brightly in their grandson, the first Earl of Chatham.
On his mother’s side the younger Pitt could claim a distinguished
descent. Her maiden name was Hester Grenville, and she was the
daughter of Richard Grenville and Hester, Countess Temple. The
appended table will show the relation of the Pitt and Grenville families:
RICHARD GRENVILLE m. HESTER (Countess Temple).
|
+-----------------------+------+-----------------------+
| | |
RICHARD GRENVILLE GEORGE GRENVILLE HESTER GRENVILLE (created
(Earl Temple), (1712–70) (m. Baroness Chatham in 1761) m.
(1711–79). Elizabeth Wyndham). William Pitt (created Earl of
| Chatham in 1766).
+-----------------+----------+ |
| | |
GEORGE GRENVILLE WILLIAM WYNDHAM GRENVILLE |
(2nd Earl Temple, (Lord Grenville), |
and Marquis of Foreign Minister |
Buckingham), d. 1813. in 1791–1801, |
and 1806–7. |
|
+--------------------+---------------+-----------+------+-------+
| | | | |
HESTER JOHN (2nd Earl HARRIET WILLIAM PITT JAMES CHARLES
(1755–80) m. Lord of Chatham) (1758–86) (the younger) (1761–79).
Mahon (3rd Earl (1756–1835). m. Mr. E. (1759–1806).
Stanhope). Eliot.
|
+----+
|
LADY HESTER STANHOPE, etc.
I do not [hear] from you, my dear son, but I hear often of you
in a way that makes up to me in the best manner possible for your
silence. I cannot, however, help wishing that my pleasure was
increased by receiving now and then a few words from you, and
immediately comes almost a reflection that obliges me to unwish it
again, that I may not take up any part of the small leisure you
have to enjoy a little relaxation from your various calls.
The old lady long retained her vigour; for in the autumn of 1795
she describes herself as “stout enough both in body and mind to wish
40
the wind to shift to the east so that the fleet might not be detained.”
Indeed, in the even strength of her body, as in the constancy of her
mind, she far excelled her husband. We find Wilberforce, in the
summer of 1791, entering the following note in his diary: “Old Lady
Chatham, a noble antiquity—Lady Chatham asked about Fox’s
speaking—is much interested about politics—seventy-five years old,
41
and a very active mind.”
Emery Walker Ph. sc.
* * * * *
Enough has been said to indicate some of the influences of
heredity which helped to shape the career of Pitt. It is a topic on which
only sciolists would venture to dogmatize. Even in his early youth
William began to outshine his elder brother. In their boyhood, mostly
spent at Hayes, the difference of temperament between John and
William made itself felt to the disadvantage of the former. He was
reserved, not to say heavy and indolent, where William was bright and
attractive. “Eager” is the epithet applied to him by Lady Chatham in
1766. The eldest son, having none of the intellectual gifts and graces
of Chatham, could not satisfy the imperious cravings of the father, with
the result that William received an undue share of admiration. He was
“the wonderful boy.” John was designed for the army, with results no
less unfortunate for England than a similar choice proved ultimately to
be for France in the case of Joseph Bonaparte. Well would it have
been for the United Kingdom had John Pitt allowed the glorious name
of Chatham to sink to comfortable mediocrity on the paternal estates
of Hayes or Burton Pynsent, and never to be associated with the Isle
of Walcheren. His colleagues in the Cabinet learnt to respect his
judgement as that of a safe man; but, as the sequel will show, he was
utterly lacking in energy and the power of inspiring others.
William, having alertness of mind and brightness of speech, was
designed for Parliament. Or rather, this was his choice at the age of
seven. In May 1766, on hearing that his father was raised to the
Peerage, he told his tutor, the Rev. Edward Wilson, in all seriousness,
that he was glad he was not the eldest son, but that he could serve his
44
country in the House of Commons like his papa. The words have
often been misquoted, even by Earl Stanhope, the boy being reported
as saying, “I want to speak in the House of Commons like papa.” The
words, when correctly cited, are remarkable, not for childish conceit,
but for a grave and premature sense of responsibility. They show the
strength of that patriotic instinct which inspired every action of his
career, spurring him on to his early studies, and to the complex and
crushing duties of his youth and manhood. They sound the keynote of
his character and enable us to form some notion of the strength of
that life-long desire to serve his native land. This, his first recorded
utterance, links itself in noble unison with that last tragic gasp of 23rd
January 1806—“My country. How I leave my country!”
* * * * *
The health of the little William was so precarious that he and his
brothers and sisters spent much time at the seaside resorts,
Weymouth and Lyme Regis, which were not far from Burton Pynsent,
an estate bequeathed by an admirer to the Earl of Chatham. Yet
notwithstanding all the care bestowed on him, the boy had but a frail
hold on life. Illness beset him during fully the half of his youth. At the
age of fourteen he was still short and thin and weighed only six stone,
45
two pounds. Observers, however, agree that his spirits always rose
superior to weakness; and to this characteristic, as also to his
indomitable will, we may attribute his struggling on through an
exhausting career to the age of forty-seven. The life of Pitt is a signal
proof of the victory which mind can, for a time, win over matter.
Very naturally, his parents decided to have him trained at home
rather than at a public school. Chatham, while at Eton, formed the
most unfavourable impression of the public school system and
summed it up in his remark to Shelburne that he had “scarce observed
a boy who was not cowed for life at Eton; that a public school might
suit a boy of a turbulent, forward disposition, but would not do where
46
there was any gentleness.”
The tutor chosen for this purpose was the Rev. Edward Wilson, of
Pembroke Hall (now College), Cambridge, who had charge of him from
his sixth to his fourteenth year. The mutual affection of tutor and pupil
is seen in a letter which the tutor wrote at Weymouth in September
1766, describing William as often standing by him while he read, and
making remarks that frequently lit up the subject and impressed it on
47
the memory. His ardour, he adds, could not be checked. Wilson’s
training seems to have been highly efficient, as will appear when we
come to consider the phenomenal attainments of his pupil at the time
of his admission to the University of Cambridge.
It is perhaps significant that that later prodigy of learning and
oratorical power, Macaulay, was also not brought into contact with our
public school system. Both of these remarkable men may have owed
some of their originality to the thoroughness of the private tuition
which they received before entering the university. Had they passed
through the mill of a public school they would certainly have been less
angular, and would have gained in knowledge of men. Pitt especially
might have cast off that reserve and stiffness which often cost him so
dear. But both of them would assuredly have lost in individuality what
they might have gained in bonhomie. Still more certain is it that those
hotbeds of slang would have unfitted them for the free expression of
their thoughts in dignified and classical English. The ease with which,
from the time of his first entrance into Parliament, Pitt wielded the
manifold resources of his mother tongue may be ascribed partly to
hereditary genius but also to daily converse with one of the greatest of
orators. It was Chatham’s habit to read with his favourite son passages
from the Bible or from some other great classic. We also know from
one of the Earl’s private memoranda that he made it a special study to
48
clothe his thoughts in well-chosen words. Indeed, he never talked
but always conversed. We may be sure, then, that even the lighter
efforts of the statesman must have been to the boy at once an
inspiration to great deeds, a melodious delight, and a lesson in
rhetoric. What youth possessed of genius would not have had his
faculties braced by learning English from such a tongue, by viewing
mankind through such a lens?
This education at home probably explains one of Pitt’s marked
characteristics, namely, his intense hopefulness. Brought up on the
best authors, imbued with the highest principles, and lacking all
knowledge of the seamy side of life, he cherished an invincible belief in
the triumph of those aims which he felt to be good and true. This is an
invaluable faculty; but it needs to be checked by acquaintance with the
conduct of the average man; and that experience Pitt scarcely ever
gained except by hearsay. Sir George Trevelyan has remarked that the
comparative seclusion of Macaulay in youth led to his habitual over-
estimate of the knowledge usually possessed by men. Certainly it led
to the creation of that singular figment, “Macaulay’s school-boy.” A
similar remark probably holds true of the quality of Pitt’s nature noted
above. Partly, no doubt, his hopefulness was the heritage bequeathed
by Chatham; but it was strengthened by Pitt’s bookish outlook on life.
The surroundings of his childhood and early youth must also have
favoured the growth of that patrician virtue, confidence. Up to the year
1774 he lived on his father’s estates at Hayes and Burton Pynsent,
amidst some of the choicest scenery in the south of England. The land
overflowed with prosperity, which was rightly ascribed in large
measure to the genius of Chatham. Until the shadow of the American
War of Independence fell on the youth, in his seventeenth year, he
was the favourite son of a father whom all men revered; and his lot
was cast in a land which seemed to be especially favoured. Thus pride
of family and pride of race must have helped to stiffen the mental fibre
of a youth on whom nature and art alike showered the gifts and
graces of a chivalrous order. In a coarse nature the result would have
been snobbishness. In William Pitt the outcome was devotion to the
ideals of his father and buoyant confidence as to their ultimate
triumph.
In some respects there is truth in the statement of Windham that
Pitt never was young. Certainly for so delicate a plant the forcing
process was perilously early and prolonged. In the Pitt Papers (No. XI)
I have found a curious proof of the hold which the boy had over Latin
at a very early age. It is a letter written to his father, the general
correctness of which contrasts strangely with its large round letters
enclosed within lines. It is not dated, but probably belongs to 1766,
that is, to the seventh year of his age.
Mi Charissime Pater,
Gaudeo audire te rursum bene valere. Vidimus primates
Mohecaunnuck et Wappinger, Tribuum Indicorum a septentrioli
America, qui veniunt in Angliam supplicare regem ob quosdam
agros. Gulielmus Johnson, eques auratus, desiderabat auxilium
eorum in bello, et illi omnes abierunt ut pugnarent contra Gallos;
sed, cum domum rediebant, sentiebant Batavos arripuisse omnes
suos agros. Vulgus apud Portland illos parum commode tractabat.
Sum, mi charissime Pater,
tibi devinctissimus,
Gulielmus Pitt.
I have also found a curious proof of the stilted style in which the
boy wrote to his father, while on the very same day he wrote to his
brother almost in the terms which a boy of eleven would use. To the
Earl of Chatham he thus begins a letter of 31st July 1770:
From the weather we have had here I flatter myself that the
sun shone on your expedition, and that the views were enough
enlivened thereby to prevent the drowsy Morpheus from taking
the opportunity of the heat to diffuse his poppies upon the eyes of
49
the travellers.
* * * * *
Here on the other hand is the boy’s letter to his brother:
But they show neatness of thought and phrase. In a word, they are
good Johnsonese.
The same quality of sonorous ponderosity is observable in Pitt’s
letters of 3rd June 1771 to his uncle the statesman, Earl Temple,
thanking him for a present, in which the names of Lyttelton and Coke
are invoked. In the following sentences the trend of the boy’s thoughts
is very marked: “I revere this gift the more, as I have heard Lyttelton
and Coke were props of the Constitution, which is a synonimous [sic]
term for just Liberty.” The “marvellous boy” ends by quoting part of a
line of Virgil, which still more powerfully inspired him:
The next year saw the production of a play, which he and his
brothers and sisters acted at Burton Pynsent on 30th May 1772. Here
again the motive is solely political: a King, Laurentius, on his way
homeward, after a successful war, suffers shipwreck, and is mourned
as dead. The news leads an ambitious counsellor, Gordinus, to plot the
overthrow of the regency of the Queen; but his advances are repelled
by a faithful minister, Pompilius—the character played by William Pitt—
in the following lines:
Pompilius warns the Queen of the plot of Gordinus, and persuades her
to entrust her son Florus to his care in a sylvan retreat. Thither also
Laurentius comes in disguise; for, after landing as a forlorn survivor, he
hears of dangerous novelties that had poisoned men’s minds and
seduced the army from allegiance to the Queen. Pompilius, while
visiting the royal heir, sees and recognizes Laurentius, brings him to
Florus, and prepares to overthrow the traitors. In due course the
King’s adherents defeat the forces of Gordinus, who is slain by
Laurentius himself, while Pompilius, his standard bearer, kills another
arch-conspirator. The King grants a general pardon in these lines:
I could not have acted with more prudence than I have done
in the affair of Pembroke Hall. Mr. Pitt is not the child his years
bespeak him to be. He has now all the understanding of a man,
and is, and will be, my steady friend thro’ life.... He will go to
Pembroke, not a weak boy to be made a property of, but to be
admir’d as a prodigy; not to hear lectures but to spread light. His
parts are most astonishing and universal. He will be fully qualified
for a wrangler before he goes, and be an accomplished classick,
55
mathematician, historian and poet.
61
Prim preacher, prince of priests and prince’s priest,
Pembroke’s pale pride, in Pitt’s praecordia placed,
Thy merits all shall future ages scan,
And prince be lost in parson Pretyman.
* * * * *
The chief feature of interest in these early letters is the frequent
references to the politics of the time, which show that he kept the
service of his country steadily in view. Thus, on 23rd March 1775
during vacation time at Hayes, he writes to his brother, begging him, if
he leaves his pillow before noon, to find out the fate of Mr. Burke’s
motion on behalf of conciliation with America. He signs the letters on
behalf of “the Society at Hayes,” possibly a reference to a family
65
debating club. It is noteworthy that the struggle of the American
colonists with George III was the first political event to arouse his
interest, which must have been heightened by the fervid speeches of
Chatham on the subject. A little later a side eddy must have set in, for
his elder brother, Lord Pitt, on receiving his commission in 1774, joined
his regiment, which was quartered successively at Quebec and
Montreal. On 31st May 1775 William writes from Cambridge that the
papers are full of the bad news from Boston, doubtless the fight at
Lexington. Ten days later he requests Lady Chatham to send, along
with the “Ethics,” Davenant on “Peace, War, and Alliance,” as it is not
in any library in Cambridge. Clearly, then, the youth was alive to the
legal and international questions then at stake.
Probably these wider interests carried him more into society. His
friendship with Lord Granby, then an undergraduate, is more than
once referred to; and thus was formed that connection which
furthered Pitt’s career, and led to the sending of Lord Granby (after
succeeding to the Dukedom of Rutland) to the Viceregal Lodge at
Dublin. The Duke, it may be mentioned, bequeathed to Pitt the sum of
66
£3,000. Friendships formed at the University counted for much in
times when court and governmental influence made or marred a man’s
career. We may therefore note that as Pitt’s health improved during
the last years at Cambridge, he also became friendly with the
following: Lord Westmorland, Lord Euston, Lowther (Lord Lonsdale),
Pratt (Lord Camden), Pepper Arden, Eliot, Bankes, Long, and St. John.
The name of him who was perhaps Pitt’s dearest friend is here
conspicuous by its absence. Wilberforce saw little of Pitt at Cambridge,
partly, perhaps, because he did not enter at St. John’s College until
1776 and then became associated with a dissolute set; but he made
Pitt’s acquaintance towards the end of their time there, and the youths
were mutually attracted by their brilliant conversational gifts and
intellectual powers, which were to be sharpened by delightful
intercourse at London and Wimbledon. In a passage penned in 1821,
Wilberforce contrasts the comparative ill fortune of Pitt with the good
fortune of his rival, Charles James Fox, who at Oxford made the
acquaintance of a number of brilliant young men, Sheridan, Windham,
Erskine, Hare, General Fitzpatrick, and Lord John Townshend. Nearly
all of these, it is true, won distinction in public life; but it is scarcely
fair to say that Pitt’s Cambridge friends (to whose number Wilberforce
adds Lords Abercorn and Spencer) were deficient in parts. Their gifts,
if less brilliant, were more solid than those of Fox and Sheridan. Lords
Camden and Westmorland were to prove themselves able
administrators, and the future Duke of Rutland, though showy and
dissolute, displayed much ability as Lord Lieutenant of Ireland. Bankes
“the precise” (as the Rolliad terms him) was a hard-hitter in debate;
while the gentler qualities of Eliot endeared him both to Pitt and to his
sister Harriet, whom he married in 1785.
Viewing the question more widely, we may surmise that Pitt’s
career at Cambridge would have been more fruitful had he gone up
somewhat later and mixed more with undergraduates, especially with
good talkers. In that case we can imagine that the Grenville stiffness
in him would almost have vanished. A bon vivant like Fox or North he
could never have been; but the austerity of his life at Cambridge, save
in its closing months, did not tend to cure him of the awkward shyness
67
which Wilberforce noted as so prominent a trait in his character; and
thus he went forth into the life of Westminster weighted with that
serious defect, an incapacity for making a wide circle of friends or
winning over enemies. In a sense it may be said that Pitt took political
life too seriously. He prepared for it from boyhood so strenuously as
partly to stunt his social faculties, and thereby handicap himself for
life. For in that age the political arena was the close preserve of the
nobles, gentry, and nabobs, with whom a statesman could scarcely
succeed unless he had the manners of the clubs and the instincts of a
sportsman. A compromise between Lord Chatham and Tony Lumpkin
would have made the ideal leader. As it was, there entered on the
scene a compromise between Chatham and Aristides.
Pitt’s chief relaxation from the “sober studies” at Pembroke Hall
was found in visits to the great debates at Westminster. The first of
these visits belongs to the month of January 1775, when his father
was pleading passionately for conciliation with America. Benjamin
Franklin, the champion of the colonists, was present; and the orator
clearly aimed at persuading our kinsmen beyond the seas that they
had the sympathy of very many British hearts. Those two orations
echoed far and wide amid the dales of New England and the rocks of
the Alleghanies. What, then, must have been the effect of the living
voice and of that superb presence, which trebled the power of every
word, on a sensitive youth whose being ever thrilled responsive to that
of his father? Language failed him to express his feelings. “Nothing
prevented his speech,” so he wrote to his mother, “from being the
most forcible that can be imagined, and [the] Administration fully felt
it. The manner and matter both were striking; far beyond what I can
express. It was everything which was superior; ... his first speech
lasted above an hour and the second half an hour—surely the two
68
finest speeches that ever were made, unless by himself.” He heard
also Chatham’s great effort of 30th May 1777, and describes it as
marked by “a flow of eloquence and beauty of expression, animated
and striking beyond expression.”
For Pitt, indeed, the chief delights of the vacations centred in St.
Stephens. Never has there been a more eager listener to the debates;
and here his method of studying the orators of Greece and Rome
enabled him quickly to marshal the arguments of a speaker, assess
them at their real worth, and fashion a retort. During one of his visits
to the House of Lords he was introduced to Charles James Fox, already
famous as the readiest debater in the Lower House. The Whig leader
afterwards described the rapt attention with which the youth at his
side listened to the speeches of the peers, and frequently turned to
him with the remark: “But surely, Mr. Fox, that might be met thus,” or
“Yes; but he lays himself open to this retort.” Little can Fox have
imagined that these gifts, when whetted by maturity, were frequently
69
to dash the hopes of the Whigs.
The nice balancing of arguments, and the study of words, together
with the art of voice production, may make a clever and persuasive
speaker; but a great orator is he to whom such things are but trifling
adornments, needful, indeed, for a complete equipment, but lost
amidst the grander endowments of Nature, imagination and learning.
Pitt excelled in the greater gifts no less than in the smaller graces. He
had the advantage of a distinguished presence, a kindling eye, a
sonorous voice; and to these excellences were added those of the
mind, which outshone all adventitious aids. And these intellectual
powers, which give weight to attack and cover a retreat, were
cultivated with a wholeheartedness and persistence unparalleled in our
annals. The pompous greetings of the Earl of Chatham to “the civilians
and law of nations tribe” at Pembroke Hall show the thoroughness of
his son’s application to law. It also seems probable that during the
latter part of his stay at Cambridge he widened his outlook on public
affairs by a study of Adam Smith’s great work, “The Wealth of
Nations,” which appeared in 1776. He afterwards avowed himself a
disciple of Adam Smith; and it is questionable whether he would have
had time after leaving Cambridge thoroughly to master that work.
Books which bore upon the rise and fall of States seem to have
engaged his attention, as was also the case with the young Napoleon
—witness his copious notes on changes of dynasty and revolutions. In
truth, those questions were then “in the air.” In 1748 Montesquieu had
published his “Spirit of Laws”; Rousseau had brought out in 1762 his
“Social Contract,” which Quinet has described as the seed of the
French Revolution. Whether Pitt perused these works is doubtful; but it
is clear that in his reading he had an eye for the causes that make or
mar the fortunes of nations. Witness the remark in his letter of 19th
March 1778, that nowhere in history could he find “any instance of a
70
Nation so miserably sacrificed as this has been.” He shared the
general conviction that none but Chatham could steer the ship of State
into safe waters; and deep must have been his concern when the King
refused to hear of Chatham forming a new Ministry for the purpose of
conciliation. No consideration, not even the loss of his Crown (so he
71
wrote to Lord North) would induce him to “stoop to the Opposition.”
Such conduct bordered on the insane now that France had made
common cause with the United States; but there was no means of
forcing the King’s hand. The majority in Parliament supported his
Minister, Lord North; and little could be expected from the Earl of
Chatham in view of his growing infirmities of mind and body. His
haughty and exacting ways no less than his inconsistencies of aim had
scattered his following; and it was but a shadow of a name that
appeared in the House of Lords on 7th April 1778. Encased in flannel,
looking deadly pale, but with something of the old gleam in his eyes,
he entered, staying his tottering frame on his sons, William and James.
He spoke twice, urging the House not to debase the monarchy by
conceding full independence to America, still less by giving way before
France. “Shall this great kingdom now fall prostrate before the House
of Bourbon? If we must fall, let us fall like men.” Much of the speech
was inconsistent with his former opinions; but the peers recked not of