[go: up one dir, main page]

0% found this document useful (1 vote)
190 views6 pages

Ss

hey

Uploaded by

Anonymous eIYUdj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
190 views6 pages

Ss

hey

Uploaded by

Anonymous eIYUdj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Get More and Do More at Dummies.

com®
Start with FREE Cheat Sheets
Cheat Sheets include
• Checklists
• Charts
• Common Instructions
• And Other Good Stuff!

To access the Cheat Sheet created specifically for this book, go to


www.dummies.com/cheatsheet/html5css3aio

Get Smart at Dummies.com


Dummies.com makes your life easier with 1,000s
of answers on everything from removing wallpaper
to using the latest version of Windows.

Check out our


• Videos
• Illustrated Articles
• Step-by-Step Instructions

Plus, each month you can win valuable prizes by entering


our Dummies.com sweepstakes. *

Want a weekly dose of Dummies? Sign up for Newsletters on


• Digital Photography
• Microsoft Windows & Office
• Personal Finance & Investing
• Health & Wellness
• Computing, iPods & Cell Phones
• eBay
• Internet
• Food, Home & Garden

Find out “HOW” at Dummies.com


*Sweepstakes not currently available in all countries; visit Dummies.com for official rules.
HTML5 and
CSS3
ALL-IN- ONE

3rd Edition

by Andy Harris
HTML5 and CSS3 All-in-One For Dummies®, 3rd Edition
Published by:
John Wiley & Sons, Inc.,
111 River Street,
Hoboken, NJ 07030-5774,
www.wiley.com
Copyright © 2014 by John Wiley & Sons, Inc., Hoboken, New Jersey
Media and software compilation copyright © 2014 by John Wiley & Sons, Inc. All rights reserved.
Published simultaneously in Canada
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form
or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as
permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior writ-
ten permission of the Publisher. Requests to the Publisher for permission should be addressed to the
Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011,
fax (201) 748-6008, or online at http://www.wiley.com/go/permissions.
Trademarks: Wiley, For Dummies, the Dummies Man logo, Dummies.com, Making Everything Easier, and
related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and may not be
used without written permission. All other trademarks are the property of their respective owners. John
Wiley & Sons, Inc. is not associated with any product or vendor mentioned in this book.

LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO


REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS
OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING
Department within the U.S. at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002. For tech-
WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY
nical support, please visit www.wiley.com/techsupport.
MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND
Wiley publishes
STRATEGIES in a varietyHEREIN
CONTAINED of print MAY
and electronic formats and
NOT BE SUITABLE FORbyEVERY
print-on-demand.
SITUATION. Some
THIS material
WORK IS
SOLD WITH
included withTHE UNDERSTANDING
standard print versionsTHAT THE
of this PUBLISHER
book may not ISbeNOT ENGAGED
included IN RENDERING
in e-books LEGAL,
or in print-on-demand.
IfACCOUNTING,
this book refersORtoOTHER PROFESSIONAL
media such as a CD or DVDSERVICES.
that isIF PROFESSIONAL
not included in theASSISTANCE
version you IS REQUIRED,
purchased, you
THEdownload
may SERVICESthisOFmaterial
A COMPETENT PROFESSIONAL PERSON SHOULD
at http://booksupport.wiley.com. For BE SOUGHT.
more NEITHER
information aboutTHE
Wiley
PUBLISHER
products, NOR www.wiley.com.
visit THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT
THAT AN
Library ORGANIZATION
of Congress Control OR WEBSITE
Number: IS REFERRED TO IN THIS WORK AS A CITATION AND/OR
2013952425
A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE
ISBN 978-1-118-28938-9
PUBLISHER ENDORSES (pbk);
THE ISBN 978-1-118-42139-0
INFORMATION (ePub); ISBN 978-1-118-41983-0
THE ORGANIZATION OR WEBSITE MAY (ePDF)
PROVIDE OR
RECOMMENDATIONS
Manufactured IT MAY
in the United MAKE.
States FURTHER, READERS SHOULD BE AWARE THAT INTERNET
of America
WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS
10 9 8WAS
WORK 7 6WRITTEN
5 4 3 AND 2 1 WHEN IT IS READ.

For general information on our other products and services, please contact our Customer Care
Contents at a Glance
Introduction ................................................................ 1
Part I: Creating the HTML Foundation ........................... 7
Chapter 1: Sound HTML Foundations ............................................................................. 9
Chapter 2: It’s All About Validation............................................................................... 19
Chapter 3: Choosing Your Tools.................................................................................... 33
Chapter 4: Managing Information with Lists and Tables............................................ 51
Chapter 5: Making Connections with Links .................................................................. 67
Chapter 6: Adding Images, Sound, and Video .............................................................. 77
Chapter 7: Creating Forms............................................................................................ 105

Part II: Styling with CSS .......................................... 129


Chapter 1: Coloring Your World .................................................................................. 131
Chapter 2: Styling Text.................................................................................................. 149
Chapter 3: Selectors: Coding with Class and Style .................................................... 175
Chapter 4: Borders and Backgrounds ......................................................................... 197
Chapter 5: Levels of CSS................................................................................................ 225
Chapter 6: CSS Special Effects...................................................................................... 245

Part III: Building Layouts with CSS .......................... 263


Chapter 1: Fun with the Fabulous Float ...................................................................... 265
Chapter 2: Building Floating Page Layouts................................................................. 285
Chapter 3: Styling Lists and Menus ............................................................................. 309
Chapter 4: Using Alternative Positioning.................................................................... 327

Part IV: Client-Side Programming with JavaScript...... 353


Chapter 1: Getting Started with JavaScript ................................................................ 355
Chapter 2: Talking to the Page ..................................................................................... 375
Chapter 3: Decisions and Debugging........................................................................... 399
Chapter 4: Functions, Arrays, and Objects................................................................. 429
Chapter 5: Getting Valid Input...................................................................................... 459
Chapter 6: Drawing on the Canvas .............................................................................. 483
Chapter 7: Animation with the Canvas ....................................................................... 511
Thank you for using PDFelement 6 Professional.

You can only convert up to 5 pages in the trial version.

To get the full version, please purchase the program here:

http://cbs.wondershare.com/go.php?pid=2990&m=db

You might also like