HTML Manual of Style... The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or
Trang 1ptg
Trang 2HTML
Manual of Style
Trang 3This page intentionally left blank
Trang 4HTML
Manual of Style
A Clear, Concise Reference for Hypertext
Markup Language (Including HTML5)
Fourth Edition
Larry Aronson
Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Cape Town • Sydney • Tokyo • Singapore • Mexico City
Trang 5Many of the designations used by manufacturers and sellers to distinguish their
products are claimed as trademarks Where those designations appear in this book,
and the publisher was aware of a trademark claim, the designations have been printed
with initial capital letters or in all capitals
The author and publisher have taken care in the preparation of this book, but make
no expressed or implied warranty of any kind and assume no responsibility for errors
or omissions No liability is assumed for incidental or consequential damages in
connection with or arising out of the use of the information or programs contained
herein
The publisher offers excellent discounts on this book when ordered in quantity for
bulk purchases or special sales, which may include electronic versions and/or custom
covers and content particular to your business, training goals, marketing focus, and
branding interests For more information, please contact:
U.S Corporate and Government Sales
800-382-3419
corpsales@pearsontechgroup.com
For sales outside the United States, please contact:
International Sales
international@pearson.com
Visit us on the Web: informit.com/aw
Library of Congress Cataloging-in-Publication Data:
Aronson, Larry
HTML manual of style : a clear, concise reference for hypertext markup language
(including HTML5) / Larry Aronson
p cm
ISBN 978-0-321-71208-0 (pbk : alk paper)
1 Hypertext systems 2 HTML (Document markup language) I Title
QA76.76.H94A7624 2010
006.7’4 dc22
2010031013
Copyright © 2011 Pearson Education, Inc
All rights reserved Printed in the United States of America This publication is
pro-tected by copyright, and permission must be obtained from the publisher prior to any
prohibited reproduction, storage in a retrieval system, or transmission in any form
or by any means, electronic, mechanical, photocopying, recording, or likewise For
information regarding permissions, write to:
Pearson Education, Inc
Rights and Contracts Department
501 Boylston Street, Suite 900
Boston, MA 02116
Fax 617-671-3447
ISBN-13: 978-0-321-71208-0
ISBN-10: 0-321-71208-0
Text printed in the United States on recycled paper at RR Donnelley in
Crawfordsville, IN
Editor-in-Chief
Mark Taub
Acquisitions Editor
Trina MacDonald
Development Editor
Songlin Qiu
Managing Editor
Kristy Hart
Project Editor
Anne Goebel
Copy Editor
Gayle Johnson
Indexer
Erika Millen
Proofreader
Apostrophe Editing Services
Technical Reviewers
Elliotte Rusty Harold Benjamin Schupak
Publishing Coordinator
Olivia Basegio
Interior Designer
Bumpy Design
Cover Designer
Anne Jones
Trang 6This book is dedicated to my wife, Heidi Cohen,
a much better writer than I am, who provided encouragement
and inspiration throughout the project
It was also written in fond memory of people who were
major forces in my life, especially my parents,
Manny and Dorothy Aronson, and my
friends Andy Cohen, Bobo Lewis, Milan Stitt, and
Lynne Thigpen.
Trang 7Contents at a Glance
3 Elements of Style 114
5 Building Websites 208
A HTML5 Quick Reference 267
Trang 8Table of Contents
About the Author xiii
Chapter 1 HTML and the Web 2
HTML: The Language of the Web 3
Hypertext Content and Online Media 11
Uniform Resource Locators (URLs) 11
Do We All Have to Learn HTML5 Now? 21
Chapter 2 The HTML Language 24
Trang 9Paragraphs, Block Quotes, and Address Blocks 61
Division and Section Elements 73
Uniform Resource Locators 86
Chapter 3 Elements of Style 114
Pseudo-Classes and Pseudo-Elements 124
Trang 10Letter and Word Spacing 148
Chapter 4 Using HTML 180
Chapter 5 Building Websites 208
Content or Service Site? 211
Static or Dynamic Content? 212