Sams Teach Yourself HTML and CSS in 24 Hours [NOOK Book]

Overview

Learn from the newest, updated edition of the highly acclaimed introduction to HTML, Sams Teach Yourself HTML and CSS In 24 Hours. The seventh edition includes updates to introduce Cascading Style Sheets (CSS) in concert with HTML to produce quality web pages. You'll be able to study revisions that refine examples, as well as provide an enhanced integration with your web pages. You'll also gain a comprehensive understanding with new examples that match the current state of HTML....

See more details below
Sams Teach Yourself HTML and CSS in 24 Hours

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$13.49
BN.com price
(Save 43%)$23.99 List Price

Overview

Learn from the newest, updated edition of the highly acclaimed introduction to HTML, Sams Teach Yourself HTML and CSS In 24 Hours. The seventh edition includes updates to introduce Cascading Style Sheets (CSS) in concert with HTML to produce quality web pages. You'll be able to study revisions that refine examples, as well as provide an enhanced integration with your web pages. You'll also gain a comprehensive understanding with new examples that match the current state of HTML.

This carefully organized, well-written tutorial teaches beginning web page development skills, covering only those HTML and CSS tags that are likely to be used on creating a beginning web page. The 24 separate, one hour-long tutorials follow the process by which you should be creating your web page, building knowledge not only of how to create a web page, but building a general knowledge of how to use HTML and CSS in other projects as well.

Chapters include:


  • Understanding HTML and XHTML

  • Creating Your Own Web Page Graphics

  • Using Tables to Organize and Lay Out Your Pages

  • Using Style Sheets for Page Layout

  • Dynamic Web Pages

Read More Show Less

Product Details

  • ISBN-13: 9780768689907
  • Publisher: Pearson Education
  • Publication date: 12/28/2005
  • Series: Sams Teach Yourself Series
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 7
  • Pages: 578
  • Sales rank: 1,055,151
  • File size: 14 MB
  • Note: This product may take a few minutes to download.

Meet the Author


Dick Oliver has brought his unique and ful writing style to a several web and graphics books from Sams Publishing, including Web Page Wizardry and Tricks of the Graphics Gurus. He is the president of Cedar Software and publishes the online newsletter, Nonlinear Nonsense.

Michael Morrison is a writer, software developer, toy inventor, and author of a variety of Sams Publishing books, including the previous edition of this book, Sams Teach Yourself HTML and XHTML in 24 Hours and the second and third editions of Sams Teach Yourself XML in 24 Hours.

Read More Show Less

Read an Excerpt

IntroductionIntroductionPut Your HTML Page Online Today

In 2005, it is estimated that approximately 900 million people will have accessed the Internet, including 188 million in the U.S. alone. Throw in 58 million Japanese users, 45 million German users, 35 million British users, 18 million Russian users, and 17 million Canadians, and you can see the meaning of the word "world" in "World Wide Web." Along with all of these people who use the Internet, there are also quite a few people cranking out new content for the Web. Although accurate measurements of the total number of web pages are difficult to come by, the popular search engine Google reports having indexed more than 4 billion web pages as of late 2005.

In the next 24 hours, tens of thousands of new web pages will be posted in publicly accessible areas of the Internet. At least as many pages will be placed on private intranets, where they will be viewed by businesspeople connected to local networks. Every one of those pages—like the 4 billion pages already online—will use Hypertext Markup Language, or HTML.

If you read on, your web pages will be among those that appear on the Internet in the next 24 hours. This will also be the day that you acquire one of the most valuable skills in the world today: mastery of HTML.

Can you really learn to create top-quality web pages yourself, without any specialized software, in less time than it takes to schedule and wait for an appointment with a highly paid HTML wizard? Can this thin, easy-to-read book really enable you to teach yourself state-of-the-art web page publishing?

Yes. In fact, within two hours of starting this book,someone with no previous HTML experience at all can have a web page ready to place on the Internet's World Wide Web.

How can you learn the language of the Web so fast? By example. This book breaks HTML down into simple steps that anyone can learn quickly, and shows you exactly how to tackle each step. Every HTML example is pictured directly above the web page it will produce. You see it done, you read a brief, plain-English explanation of how it works, and you immediately do the same thing with your own page. Ten minutes later, you're on to the next step.

The next day, you're marveling at your own impressive pages on the Internet.Beyond HTML

This book isn't just about HTML because HTML isn't the only thing you need to know to create web pages today. My goal is to give you all the skills you need in order to create a stunning, state-of-the-art web site in just 24 short, easy lessons. I've received literally thousands of email messages from readers telling me that the earlier editions of this book achieved that goal better than any other book available.

Go ahead and scan the bookstore shelves. You'll discover that the book you're holding now is the only one on the market that covers all the following key skills and technologies in plain English that even beginners will understand:

  • XHTML (Extended Hypertext Markup Language) and

    Note - Do you have existing web pages that you need to bring up-to-date so that they're compatible with the new standards? If so, Appendix D, "Migrating from HTML to XHTML," gives you complete, easy-to-follow instructions for converting HTML pages into XHTML.

  • At the same time, all the examples you'll learn here have been tested for compatibility with the latest version of every major web browser. That includes Microsoft Internet Explorer, Mozilla Firefox, Opera, and Safari. You'll learn from the start to be compatible with the past, yet ready for the future.

  • There is extensive coverage of Cascading Style Sheets (CSS), which allow you to carefully control the layout, fonts, colors, and formatting of every aspect of your web pages, including both text and images. When it comes to creating eye-popping web pages, CSS goes far beyond what traditional HTML pages could do by themselves. For example, did you know that CSS allows you to specifically tailor the information on a page just for printing, in addition to normal web viewing?

  • Hours 7 through 10 teach you to design and create your own web page graphics (including animations) using industry-standard software you can download and try free. Creating graphics is the single most important part of producing a great-looking site—and one that most HTML books leave out.

  • Along with HTML and CSS, you'll learn how to use JavaScript, Dynamic HTML (DHTML), and embedded multimedia in Hours 17 through 19. Your web pages will be interactive and enchanting, not static and unresponsive.

  • Have you ever wished you could create a really slick item listing on eBay using HTML? Hour 20 shows you how to use your newfound HTML and CSS knowledge to create visually stunning eBay auction listings that will help you get maximum dollars for your auction sales.

  • You've probably heard about the blogging craze that has hit the Internet by storm. Hour 21 teaches you how to create your own blog and connect it to your personal web site. You'll be a bona fide blogger in no time!

  • The technical stuff is not enough, so I also include the advice you need when setting up a web site to achieve your real-world goals. Key details—designing an effective page layout, posting your page to the Internet with FTP software, organizing and managing multiple pages, and getting your pages to appear high on the query lists at all the major Internet search sites—are all covered in enough depth to get you beyond the snags that often trip people up.

  • You may be aware that graphical web site editors such as Microsoft FrontPage and Macromedia DreamWeaver make web design accessible to people who don't know anything about HTML—but these tools also make it more necessary than ever to understand HTML yourself so you can create pages that do exactly what you want and are easy to read and maintain. Throughout the book, I include notes telling you when the what-you-see-is-what-you-get editors are helpful and when you're better off coding the HTML yourself.

Many of these essentials are what made the first six editions of this book nonstop bestsellers. For this edition, I've continued to incorporate the email feedback of thousands of readers to make every lesson easy, fast, and foolproof. I've also revised and updated the hands-on examples for you to experience online and modify to suit your own purposes—nearly 300 sample pages in all. The color quick-reference sheets and updated reference appendixes are sure to keep this volume at your side long after you've become an experienced webmaster.How to Use This Book

There are several ways to go through this book, and the best way for you depends on your situation. Here are five recommended options. Pick the one that matches your needs:

  1. "I need to get some text on the Internet today. Then I can worry about making it look pretty later."

    Read Hour 1, "Understanding HTML and XHTML."

    Read Hour 2, "Create a Web Page Right Now."

    Read Hour 4, "Publishing Your HTML Pages."

    Put your first page on the Internet!

    (Total work time: 2–4 hours)

    Read the rest of the book, and update your pages as you learn more HTML.

    • "I need a basic web page with text and graphics on the Internet as soon as possible. Then I can work on improving it and adding more pages."

    Read Hour 1, "Understanding HTML and XHTML."

    Read Hour 2, "Create a Web Page Right Now."

    Read Hour 7, "Creating Your Own Web Page Graphics."

    Read Hour 8, "Putting Graphics on a Web Page."

    Read Hour 4, "Publishing Your HTML Pages."

    Put your first page on the Internet!

    (Total work time: 4–8 hours)

    Read the rest of the book, and update your pages as you learn more HTML.

    • "I need a professional-looking business web site with an order form right away. Then I can continue to improve and develop my site over time."

    Read all four hours in Part I, "Your First Web Page."

    Read Hour 17, "Web Page Scripting for Nonprogrammers."

    Read Hour 18, "Gathering Information with HTML Forms."

    Read Hour 7, "Creating Your Own Web Page Graphics."

    Read Hour 8, "Putting Graphics on a Web Page."

    Read Hour 9, "Custom Backgrounds and Colors."

    Put your pages and order form on the Internet!

    (Total work time: 8–12 hours)

    Read the rest of the book, and update your pages as you learn more HTML.

    • "I need to develop a creative and attractive 'identity' web site on a tight schedule. Then I need to develop many pages for our corporate intranet as well."

    Read all four hours in Part I, "Your First Web Page."

    Read all six hours in Part II, "Building Practical Web Pages with HTML."

    Read all seven hours in Part III, "Creative Web Page Design."

    Put your pages on the Internet and your intranet!

    (Total work time: 12–18 hours)

    Read the rest of the book, and update your pages as you learn more HTML.

    • "I need to build a cutting-edge interactive web site or HTML-based multimedia presentation—fast!"

    Read this whole book.

    Put your pages on the Internet and/or CD-ROM!

    (Total work time: 18–24 hours)

    Review and use the techniques you've learned to continue improving and developing your site.

It may take a day or two for an Internet service provider to set up a host computer for your pages, as discussed in Hour 4. If you want to get your pages online immediately, read Hour 4 now so that you can have a place on the Internet all ready for your first page.

No matter which of these approaches you take, you'll benefit from the unique presentation elements that make this book the fastest possible way to learn HTML.Visual Examples

Every example in this book is illustrated in two parts. The text you type in to make an HTML page is shown first, with all HTML and CSS code highlighted. The resulting web page is shown as it will appear to people who view it with the world's most popular web browsers: Microsoft Internet Explorer, Mozilla Firefox, or Opera. You'll often be able to adapt the example to your own pages without reading any of the accompanying text at all.

All the examples in this book work with Mozilla Firefox and Microsoft Internet Explorer, as well as Opera and Safari. I often alternate between browsers in the figures throughout the book just to clarify that well-designed web pages should have a consistent look across all browsers. In the event that a page uses a special feature that isn't supported by a major browser, I make sure to point out the browser limitation.Special Highlighted Elements

As you go through each hour, sections marked "Try It Yourself" guide you in applying what you just learned to your own web pages at once.

Whenever a new term is used, it is clearly highlighted. No flipping back and forth to the Glossary!

Tip - Tips and tricks to save you precious time are set aside in "Did You Know?" boxes so that you can spot them quickly.

Note - Crucial information you should be sure not to miss is also highlighted, in "By the Way" boxes.

Note - Coffee Break sections give you a chance to take a quick break and have some fun exploring online examples.

Caution - When there's something you need to watch out for, you'll be warned about it in "Watch Out!" boxes.

Q&A, Quiz, and Exercises

Every hour ends with a short question-and-answer session that addresses the kind of "dumb questions" everyone wishes they dared to ask. A brief but complete quiz lets you test yourself to be sure you understand everything presented in the hour. Finally, one or two optional exercises give you a chance to practice your new skills before you move on.The Sams Publishing Website

Every sample page illustrated in this book, plus more web pages designed to reinforce and expand your knowledge of HTML, can be found at the Sams Publishing website (http://www.samspublishing.com). I built files at the website especially to provide readers of this book with oodles more examples and reusable HTML pages than I could ever picture in a compact book.

You'll also get to have some fun with whimsical "edutainment" pages and break-time surprises, plus an extensive hotlist of links to a wide variety of Internet resources to help you produce your own web pages even faster. See you there!

© Copyright Pearson Education. All rights reserved.

Read More Show Less

Table of Contents

Introduction

  • Put Your HTML Page Online Today
  • Beyond HTML
  • How to Use This Book
  • Visual Examples
  • Special Highlighted Elements
  • Q&A, Quiz, and Exercises
  • The Sams Publishing Website

Part I: Your First Web Page

Hour 1: Understanding HTML and XHTML

  • What Is a Web Page?
  • How Web Pages Work
  • The Pieces and Parts of a Web Page
  • The Many Faces of HTML
  • The Scoop on HTML, XML, and XHTML

Hour 2: Create a Web Page Right Now

  • Getting Started with a Simple Web Page
  • HTML Tags Every Web Page Must Have
  • Organizing a Page with Paragraphs and Line Breaks
  • Calling Out Text with Headings
  • Peeking at Other People's Pages
  • Validating Your Pages

Hour 3: Linking to Other Web Pages

  • Linking to Another Web Page
  • Linking Between Your Own Pages
  • Addressing Web Pages
  • Opening a Link in a New Browser Window
  • Linking to Google Maps
  • Adding Links to a Practical Example

Hour 4: Publishing Your HTML Pages

  • Setting Up Web Space on the Internet
  • Transferring Pages to a Web Server
  • Making a File Available for Downloading
  • Other HTML Publishing Options
  • Testing Your Web Pages

Part II: Building Practical Web Pages with HTML

Hour 5: Basic Text Alignment and Formatting

  • The Old Way Versus the New Way
  • Aligning Text on a Page
  • The Three Types of HTML Lists
  • Placing Lists Within Lists
  • Boldface, Italics, and Special Text Formatting
  • Tweaking the Font
  • Working with Special Characters

Hour 6: Creating Text Links

  • Linking Within a Page Using Anchors
  • Linking to a Specific Part of Another Page
  • Linking Your Email Address into a Page
  • Linking to Wikipedia

Hour 7: Creating Your Own Web Page Graphics

  • Choosing Graphics Software
  • The Least You Need to Know About Graphics
  • Preparing Photographic Images
  • Creating Banners and Buttons
  • Reducing the Number of Colors in an Image
  • Interlaced GIFs and Progressive JPEGs
  • Creating Animated Web Graphics
  • Assembling Images into an Animation
  • Generating Transitions and Text Effects

Hour 8: Putting Graphics on a Web Page

  • Placing an Image on a Web Page
  • Describing an Image with Text
  • Turning Images into Links
  • Aligning Images
  • Specifying Image Width and Height

Hour 9: Custom Backgrounds and Colors

  • Exploring Background and Text Colors
  • Specifying Custom Colors
  • Using Background Image Tiles
  • Working with Transparent Images
  • Creating Your Own Tiled Backgrounds

Hour 10: Graphical Links and Imagemaps

  • Why Imagemaps Aren't Always Necessary
  • Mapping Regions Within an Image
  • Creating Client-Side Imagemaps

Part III: Creative Web Page Design

Hour 11: Using Tables to Organize and Lay Out Your Pages

  • Creating a Simple Table
  • Controlling the Size of Tables
  • Alignment and Spanning Within Tables
  • Table Backgrounds and Spacing
  • Creative Page Layout with Tables

Hour 12: Formatting Web Pages with CSS Style Sheets

  • Understanding CSS
  • A Basic Style Sheet
  • A CSS Style Primer
  • Using Style Classes
  • Internal Style Sheets and Inline Styles
  • A Quick Style Sheet Recap

Hour 13: Digging Deeper into Style Sheet Formatting

  • Advanced Text Formatting with CSS
  • Changing the Appearance of Links
  • Commenting CSS Code
  • CSS Tips and Tricks
  • Revisiting the Hockey Player Example

Hour 14: Using Style Sheets for Page Layout

  • The Whole Scoop on Positioning
  • Controlling the Way Things Stack Up
  • Working with Margins
  • A Little Padding for Safety
  • Keeping Everything Aligned
  • Managing the Flow of Text
  • Taking Advantage of a Style Sheet Template

Hour 15: Creating Print-Friendly Web Pages

  • What Makes a Page Print-Friendly?
  • Applying a Media-Specific Style Sheet
  • Designing a Style Sheet for Print Pages
  • Viewing a Web Page in Print

Hour 16: Multipage Layout with Frames

  • What Are Frames?
  • Building a Frameset
  • Linking Between Frames and Windows
  • Nesting Frames Within Frames
  • Controlling Frame Margins, Borders, and Scrolling

Part IV: Dynamic Web Pages

Hour 17: Web Page Scripting for Nonprogrammers

  • The Least You Need to Know About Scripting
  • Jazzing Things Up with Interactive Highlighting
  • Preloading Images for Speed
  • Creating an Animated Banner Ad
  • Displaying a Random Quote
  • Creating a Virtual Fish Tank
  • Cashing In with Google Ads on Your Site
  • The Wide World of JavaScript

Hour 18: Gathering Information with HTML Forms

  • How HTML Forms Work
  • Creating a Form
  • Accepting Text Input
  • Identifying Each Piece of Form Data
  • Including Hidden Data in Forms
  • Exploring Form Input Controls
  • Submitting Form Data
  • Using a PayPal Buy Now Button

Hour 19: Embedding Multimedia in Web Pages

  • Placing Multimedia Content on a Web Page
  • Linking to Multimedia Files
  • Embedding Video with Windows Media Player
  • Embedding Audio with RealPlayer
  • Automatically Embedding the Appropriate Player

Hour 20: Jazz Up Your eBay Auctions with HTML and CSS

  • Why Use HTML and CSS on eBay?
  • Understanding How HTML Fits into eBay
  • Creating an eBay Item Listing in HTML
  • Providing a Link to Your About Me Page
  • Altering the Background of an Item Page
  • Creating a Slide Show Item Listing

Hour 21: Create Your Own Blog

  • What's a Blog?
  • Creating a Blog on Blogger.com
  • Creating Your First Blog Entry
  • Using CSS to Dress Up Your Blog
  • Tying Your Blog to Your Web Site
  • Updating Your Blog

Part V: Building a Web Site

Hour 22: Organizing and Managing a Web Site

  • When One Page Is Enough
  • Organizing a Simple Site
  • Organizing a Larger Site
  • Writing Maintainable HTML Code

Hour 23: Helping People Find Your Web Pages

  • Publicizing Your Web Site
  • Listing Your Pages with the Major Search Sites
  • Providing Hints for Search Engines
  • Auto Loading Another Web Page
  • Documenting the Full Address of a Page

Hour 24: Beyond Traditional Web Sites

  • HTML Beyond the Web
  • From Calculators to Wireless Communicators
  • HTML as the New User Interface
  • The Digital Media Revolution Will Not Be Televised
  • Preparing Yourself for Tomorrow
  • The Future of HTML Applications

Part VI: Appendixes

Appendix A: Readers' Most Frequently Asked Questions

  • The 24 Top Questions from Readers of Sams Teach Yourself HTML and CSS in 24 Hours

Appendix B: HTML and CSS Resources on the Internet

  • General HTML, XHTML, and CSS Information
  • Web Page Design
  • Software
  • Graphics
  • Multimedia
  • Advanced Developer Resources
  • HTML Validators
  • Directories with HTML Information
  • Web Site Services
  • Free Web Site Hosting

Appendix C: Complete XHTML 1.1 and CSS 2 Quick Reference

  • XHTML Structure
  • XHTML Text Phrases and Paragraphs
  • XHTML Text Formatting Elements
  • XHTML Lists
  • XHTML Links
  • XHTML Tables
  • XHTML Frames
  • XHTML Embedded Content
  • XHTML Style
  • XHTML Forms
  • XHTML Scripts
  • XHTML Common Attributes and Events
  • CSS Dimension Style Properties
  • CSS Text and Font Style Properties
  • CSS Background Style Properties
  • CSS Border Style Properties
  • CSS Margin Style Properties
  • CSS Padding Style Properties
  • CSS Layout and Display Style Properties
  • CSS List and Marker Style Properties
  • CSS Table Style Properties

Appendix D: Migrating from HTML to XHTML

  • Differences Between XHTML 1 and HTML 4
  • XHTML and Document Validity
  • Declaring XHTML Namespaces
  • Converting HTML Documents to XHTML

Index

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
  • Anonymous

    Posted December 13, 2009

    No text was provided for this review.


If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)