Tải bản đầy đủ (.pdf) (7 trang)

html5 for dummies quick reference 1638

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (693.94 KB, 7 trang )


Area to cut and punch

.9375

Welcome to HTML5 For Dummies Quick Reference. Keep this book within
arm’s reach to find quick answers to your questions.

HTML is the predominant programming language used to create Web pages.
HTML5 is the most recent update to the HTML standard which is maintained
and governed by the World Wide Web Consortium (W3C). HTML5 represents
a major change to HTML — arguably the most substantial change since the
development of XHTML. HTML5 has enhanced rich media, geolocation,
database and mobile capabilities, and is now able to script APIs.

s
p
p
A
e
l
i
Mob

This book covers the fundamentals for developing Web sites using HTML5
by utilizing clear-cut tasks, code examples, step-by-step instructions, and
easy-to-follow advice. This book provides seasoned and new Web programmers
and developers with a fast reference for getting up to speed on HTML5.

This is a For Dummies book, so you have to expect
some snazzy icons, right? I don’t disappoint. Here’s


what you’ll see:
This is where I pass along any small insights I may
have gleaned in our travels.

TEC

Watch out! Anything I mark with this icon is a place
where things have blown up for me or my students. I
point out any potential problems with this icon.
ICAL ST
HN

F
UF

ISBN 978-1-118-01252-9

A lot of details here. I point out something important
that’s easy to forget with this icon.

I can’t really help being geeky once in a while. Every
so often I want to explain something a little deeper.
Read this to impress people at your next computer
science cocktail party or skip it if you really don’t
need the details.

There’s a Dummies App
for This and That
With more than 200 million books in print and over
1,600 unique titles, Dummies is a global leader in

how-to information. Now you can get the same great
Dummies information in an App. With topics such as
Wine, Spanish, Digital Photography, Certification, and
more, you’ll have instant access to the topics you
need to know in a format you can trust.
To get information on all our Dummies apps, visit the following:
www.Dummies.com/go/mobile from your computer.
www.Dummies.com/go/iphone/apps from your phone.


HTML5
FOR

DUMmIES



QUICK REFERENCE

by Andy Harris

01_9781118012529-ffirs.indd i

3/21/11 8:51 AM


HTML5 For Dummies® Quick Reference
Published by
Wiley Publishing, Inc.
111 River Street

Hoboken, NJ 07030-5774
www.wiley.com
Copyright © 2011 by Wiley Publishing, Inc., Indianapolis, Indiana
Published by Wiley Publishing, Inc., Indianapolis, Indiana
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 either the prior written permission of the Publisher, or authorization through
payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978)
750-8400, fax (978) 646-8600. 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, the Wiley Publishing logo, For Dummies, the Dummies Man logo, A Reference for the Rest of Us!, The
Dummies Way, Dummies Daily, The Fun and Easy Way, Dummies.com, Making Everything Easier, and related trade dress
are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates 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.
Wiley Publishing, 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 WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A
PARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS
WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL,
ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES
OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR
SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS
REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES
NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR
WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT
INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK
WAS WRITTEN AND WHEN IT IS READ.
For general information on our other products and services, please contact our Customer Care Department within the U.S.

at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002.
For technical support, please visit www.wiley.com/techsupport.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in
electronic books.
Library of Congress Control Number: 2011924127
ISBN: 978-1-118-01252-9
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1

01_9781118012529-ffirs.indd ii

3/21/11 8:51 AM


About the Author
Andy Harris once owned a TRS-80 Model I. It’s still in the garage. He remembers
fondly typing BASIC code into that machine and wondering how it really worked.
He eventually taught himself enough programming to work as a consultant while
pursuing a career in special education. He now teaches for Indiana University —
Purdue University / Indianapolis as a Senior Lecturer in Computer Science. He
teaches Web programming, game development, and Freshman Computer
Science classes.

01_9781118012529-ffirs.indd iii

3/21/11 8:51 AM


Area to cut and punch


.9375

Welcome to HTML5 For Dummies Quick Reference. Keep this book within
arm’s reach to find quick answers to your questions.

HTML is the predominant programming language used to create Web pages.
HTML5 is the most recent update to the HTML standard which is maintained
and governed by the World Wide Web Consortium (W3C). HTML5 represents
a major change to HTML — arguably the most substantial change since the
development of XHTML. HTML5 has enhanced rich media, geolocation,
database and mobile capabilities, and is now able to script APIs.

s
p
p
A
e
l
i
Mob

This book covers the fundamentals for developing Web sites using HTML5
by utilizing clear-cut tasks, code examples, step-by-step instructions, and
easy-to-follow advice. This book provides seasoned and new Web programmers
and developers with a fast reference for getting up to speed on HTML5.

This is a For Dummies book, so you have to expect
some snazzy icons, right? I don’t disappoint. Here’s
what you’ll see:
This is where I pass along any small insights I may

have gleaned in our travels.

TEC

Watch out! Anything I mark with this icon is a place
where things have blown up for me or my students. I
point out any potential problems with this icon.
ICAL ST
HN

F
UF

ISBN 978-1-118-01252-9

A lot of details here. I point out something important
that’s easy to forget with this icon.

I can’t really help being geeky once in a while. Every
so often I want to explain something a little deeper.
Read this to impress people at your next computer
science cocktail party or skip it if you really don’t
need the details.

There’s a Dummies App
for This and That
With more than 200 million books in print and over
1,600 unique titles, Dummies is a global leader in
how-to information. Now you can get the same great
Dummies information in an App. With topics such as

Wine, Spanish, Digital Photography, Certification, and
more, you’ll have instant access to the topics you
need to know in a format you can trust.
To get information on all our Dummies apps, visit the following:
www.Dummies.com/go/mobile from your computer.
www.Dummies.com/go/iphone/apps from your phone.


Area to cut and punch

.9375”

Programming Languages/HTML

Quick and up-to-date
information about HTML5
and how to use it
HTML is the preferred programming language for creating
Web pages, and HTML5 is full of new features. This handy,
no-nonsense book gives you the straight scoop. You’ll
discover enhanced rich media, geolocation, database and
mobile capabilities, what’s new in CSS and JavaScript, and
how to use the new canvas tag. Find what you need quickly
and make your Web site a winner!

sier!™
a
E
g
in

th
ry
e
v
E
g
Makin
Open the book and find:
• Which browsers support the new tools
• Media elements, including a video tag
• Additional pseudo-classes in CSS
• New form input types
• How to add shadows and
colorful shapes

• A matter of semantics — get up to speed on new semantic
page elements and in-line semantic elements

• Tips on building Web socket
connections

• Informed about forms — examine new and modified form
elements that add new capabilities to HTML

• How a Web worker improves
efficiency

• Celebrate CSS — discover the new tools and functionality
in CSS3, including flexible box layout and improved font
and text support


• Steps for creating animation

5
L
M
T
H

• Brew up something new — explore new JavaScriptđ
features such as drag-and-drop, geolocation,
notifications, and Web sockets
ã Canvas for cool — use the canvas tag and JavaScript
to create cool and colorful graphics

Go to Dummies.com®
for videos, step-by-step examples,
how-to articles, or to shop!
Visit the companion Web site at www.dummies.com/
go/html5fdqr for bonus content.

Learn to:
• Create rich Internet applications
using HTML5
• Build mobile sites with video
• Leverage the HTML5 database
capabilities
• Test, debug, and deploy your sites

$18.99 US / $22.99 CN / £14.99 UK


Andy Harris taught himself programming because
it was fun. Today he teachers computer science,
game development, and Web programming at the
university level and is a technology consultant
for the State of Indiana.

ISBN 978-1-118-01252-9

Andy Harris
Author of HTML, XHTML, and CSS
All-in-One For Dummies



×