Skip to Main Content
Creating a Website: The Missing Manual, 3rd Edition
book

Creating a Website: The Missing Manual, 3rd Edition

by Matthew MacDonald
May 2011
Beginner content levelBeginner
584 pages
17h 42m
English
O'Reilly Media, Inc.
Content preview from Creating a Website: The Missing Manual, 3rd Edition

Chapter 2. Creating Your First Page

Web pages are the basic unit of a website, and every website is a collection of one or more pages. The ideal web page contains enough information to fill the width of a browser window, but not so much that readers need to scroll from morning until lunchtime to get to the page’s end. In other words, the ideal page strikes a balance: It avoids the lonely feeling caused by too much white space, as well as the stress induced by an avalanche of information.

The best way to get a handle on what a web page should hold is to look at your favorite websites. A news site like www.nytimes.com displays every news article on a separate page (and subdivides longer stories into several pages). At an e-commerce shop like www.amazon.com, every product has its own page. Similarly, a personal website like www.MyUndyingLoveForPigTrotters.com could be divided into separate web pages with titles like “About Me,” “Vacation Photos,” and “Top-Secret Recipes for Pig Parts.”

For now, don’t worry too much about how to divide your website into pages; you’ll revisit that task in Chapter 8 when you start linking pages together. Instead, your first goal is to understand how a basic web page works and how to create one of your own. That’s what you’ll do in this chapter. On the way, you’ll learn the essential details of the most important standard in website design: HTML.

Introducing HTML: The Language of the Web

Web pages are written in HTML (HyperText Markup Language). It doesn’t ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Creating a Website: The Missing Manual, 4th Edition

Creating a Website: The Missing Manual, 4th Edition

Matthew MacDonald
Learn to Build a Website

Learn to Build a Website

Cassidy Williams, Camryn Williams

Publisher Resources

ISBN: 9781449306823Supplemental ContentErrata Page