Table Of ContentHTML & XHTML
DeMYSTiFieD®
This page intentionally left blank
About the Author
Lee Cottrell started programming in 1982. Since this time, he has worked in many
different programming languages. Lee has a Master of Science degree in informa-
tion science from the University of Pittsburgh. Currently, Lee is the Program
Manager for Computer Programming and Computer Networking programs at
Bradford School in Pittsburgh. His teaching duties include networking, hardware,
programming, database design, and web development. Lee also develops and
writes curriculum for Bradford Schools nationwide. During his free time, Lee
coaches baseball, softball, and soccer for his community athletic organization.
About the Technical Editor
Les Graves has been a technology instructor at a variety of schools for 10 years
teaching programming, including HTML, and networking. He also has 17 years of
corporate business and programming experience. He received his Bachelors
of Science in Computer Science from the University of Pittsburgh and his
Masters in Information Systems from the University of Phoenix. He resides in
Pittsburgh, PA.
Les has had the privilege of working side by side as a technology instructor at
Bradford School with the author, Lee Cottrell, and can attest to what an awesome
instructor Lee is with great depth of experience and passion for his students’
success.
HTML & XHTML
DeMYSTiFieD®
Lee M. cottrell
New York Chicago San Francisco Lisbon London Madrid Mexico City
Milan New Delhi San Juan Seoul Singapore Sydney Toronto
Copyright © 2011 by The McGraw-Hill Companies. All rights reserved. Except as permitted under the United States Copyright Act of
1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system,
without the prior written permission of the publisher.
ISBN: 978-0-07-174805-6
MHID: 0-07-174805-9
The material in this eBook also appears in the print version of this title: ISBN: 978-0-07-174804-9,
MHID: 0-07-174804-0.
All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked
name, we use names in an editorial fashion only, and to the benefi t of the trademark owner, with no intention of infringement of the trade-
mark. Where such designations appear in this book, they have been printed with initial caps.
McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training
programs. To contact a representative please e-mail us at [email protected].
Trademarks: McGraw-Hill, the McGraw-Hill Publishing logo, DeMYSTiFieD®, and related trade dress are trademarks or registered
trademarks of The McGraw-Hill Companies and/or its affi liates in the United States and other countries and may not be used without written
permission. All other trademarks are the property of their respective owners. The McGraw-Hill Companies is not associated with any
product or vendor mentioned in this book.
Information has been obtained by McGraw-Hill from sources believed to be reliable. However, because of the possibility of human or
mechanical error by our sources, McGraw-Hill, or others, McGraw-Hill does not guarantee the accuracy, adequacy, or completeness of any
information and is not responsible for any errors or omissions or the results obtained from the use of such information.
TERMS OF USE
This is a copyrighted work and The McGraw-Hill Companies, Inc. (“McGrawHill”) and its licensors reserve all rights in and to the work.
Use of this work is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy
of the work, you may not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit, dis-
tribute, disseminate, sell, publish or sublicense the work or any part of it without McGraw-Hill’s prior consent. You may use the work for
your own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may be terminated
if you fail to comply with these terms.
THE WORK IS PROVIDED “AS IS.” McGRAW-HILL AND ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS
TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING THE WORK, IN-
CLUDING ANY INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND
EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRAN-
TIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill and its licensors do not warrant or guar-
antee that the functions contained in the work will meet your requirements or that its operation will be uninterrupted or error free. Neither
McGraw-Hill nor its licensors shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or
for any damages resulting therefrom. McGraw-Hill has no responsibility for the content of any information accessed through the work. Un-
der no circumstances shall McGraw-Hill and/or its licensors be liable for any indirect, incidental, special, punitive, consequential or similar
damages that result from the use of or inability to use the work, even if any of them has been advised of the possibility of such damages.
This limitation of liability shall apply to any claim or cause whatsoever whether such claim or cause arises in contract, tort or otherwise.
The DeMYSTiFieD series helps students master complex and difficult subjects.
Each book is filled with chapter quizzes, final exams, and user friendly content.
Whether you want to master Spanish or get an A in Chemistry, DeMYSTiFieD will
untangle confusing subjects, and make the hard stuff understandable.
PRE-ALGEBRA DeMYSTiFied, 2e ALGEBRA DeMYSTiFied, 2e
Allan G. Bluman Rhonda Huettenmueller
ISBN-13: 978-0-07-174252-8 • $20.00 ISBN-13: 978-0-07-174361-7 • $20.00
CALCULUS DeMYSTiFied, 2e PHYSICS DeMYSTiFied, 2e
Steven G. Krantz Stan Gibilisco
ISBN-13: 978-0-07-174363-1 • $20.00 ISBN-13: 978-0-07-174450-8 • $20.00
DeMYSTiFieD® Series
Advanced Statistics Demystified Math Proofs Demystified
Algebra Demystified, 2e Math Word Problems Demystified
Alternative Energy Demystified Mathematica Demystified
ASP.NET 2.0 Demystified Matlab Demystified
Astronomy Demystified Microbiology Demystified
Biology Demystified Microeconomics Demystified
Biophysics Demystified Nanotechnology Demystified
Biotechnology Demystified OOP Demystified
Business Calculus Demystified Operating Systems Demystified
Business Math Demystified Organic Chemistry Demystified
Business Statistics Demystified Pharmacology Demystified
Calculus Demystified, 2e Physics Demystified, 2e
Chemistry Demystified Physiology Demystified
College Algebra Demystified Pre-Algebra Demystified, 2e
Data Structures Demystified Precalculus Demystified
Databases Demystified, 2e Probability Demystified
Differential Equations Demystified Project Management Demystified
Digital Electronics Demystified Quality Management Demystified
Earth Science Demystified Quantum Mechanics Demystified
Electricity Demystified Relativity Demystified
Electronics Demystified Robotics Demystified
Environmental Science Demystified Signals and Systems Demystified
Everyday Math Demystified SQL Demystified
Forensics Demystified Statistical Process Control Demystified
Genetics Demystified Statistics Demystified
Geometry Demystified Technical Analysis Demystified
HTML & XHTML Demystified Technical Math Demystified
Java Demystified Trigonometry Demystified
JavaScript Demystified UML Demystified
Lean Six Sigma Demystified Visual Basic 2005 Demystified
Linear Algebra Demystified Visual C# 2005 Demystified
Logic Demystified Web Design Demystified
Macroeconomics Demystified XML Demystified
The Demystified Series publishes more than 125 titles in all areas of academic study. For a complete list of
titles, please visit www.mhprofessional.com.
DeMystified_Series_List_2.indd ii 10/15/10 4:38 PM
This page intentionally left blank