Sams teach yourself HTML and XHTML in 24 hours 6th Edition Dick Oliver pdf download
Sams teach yourself HTML and XHTML in 24 hours 6th Edition Dick Oliver pdf download
https://ebookname.com/product/sams-teach-yourself-html-and-xhtml-
in-24-hours-6th-edition-dick-oliver/
https://ebookname.com/product/sams-teach-yourself-xml-
in-24-hours-2nd-edition-sams-teach-yourself-in-24-hours-michael-
morrison/
https://ebookname.com/product/sams-teach-yourself-sap-
in-24-hours-4th-edition-george-anderson/
https://ebookname.com/product/sams-teach-yourself-cgi-
in-24-hours-2nd-edition-rafe-colburn/
https://ebookname.com/product/the-developing-child-in-the-21st-
century-a-global-perspective-on-child-development-1st-edition-
sandra-smidt/
The Kimball Group Reader Relentlessly Practical Tools
for Data Warehousing and Business Intelligence 1st
Edition Ralph Kimball
https://ebookname.com/product/the-kimball-group-reader-
relentlessly-practical-tools-for-data-warehousing-and-business-
intelligence-1st-edition-ralph-kimball/
https://ebookname.com/product/american-corrections-9th-edition-
todd-r-todd-r-clear-clear/
https://ebookname.com/product/topology-for-computing-first-
edition-thus-afra-j-zomorodian/
https://ebookname.com/product/opening-for-white-according-to-
anand-1-e4-volume-11-repertoire-books-1-st-edition-alexander-
khalifman/
https://ebookname.com/product/streptococcus-pneumoniae-molecular-
mechanisms-of-host-pathogen-interactions-1st-edition-jeremy-
brown-ma-mb-bs-mrcp-md/
Malaria Control During Mass Population Movements and
Natural Disasters 1st Edition Peter B. Boland Holly A.
Williams Peter B. Bloland
https://ebookname.com/product/malaria-control-during-mass-
population-movements-and-natural-disasters-1st-edition-peter-b-
boland-holly-a-williams-peter-b-bloland/
Teach Yourself
Dick Oliver
Michael Morrison
in 24
Hours
SIXTH EDITION
Bulk Sales
Sams offers excellent discounts on this book when ordered in quantity for bulk
purchases or special sales. For more information, please contact:
International Sales
+1-317-428-3341
international@pearsontechgroup.com
Contents at a Glance
Introduction 1
Workshop ............................................................................................................103
Quiz ..............................................................................................................103
Answers ........................................................................................................104
Exercises ........................................................................................................104
Q&A ....................................................................................................................192
Workshop ............................................................................................................192
Quiz ..............................................................................................................192
Answers ........................................................................................................193
Exercises ........................................................................................................193
Workshop ............................................................................................................241
Quiz ..............................................................................................................241
Answers ........................................................................................................241
Exercises ........................................................................................................241
Workshop ............................................................................................................292
Quiz ..............................................................................................................292
Answers ........................................................................................................292
Exercises ........................................................................................................293
<address>...</address> ........................................................................411
<blockquote>...</blockquote> ..........................................................411
<br /> ........................................................................................................412
<cite>...</cite> ....................................................................................412
<code>...</code> ....................................................................................412
<del>...</del> ........................................................................................412
<dfn>...</dfn> ........................................................................................413
<h1>...</h1>—<h6>...</h6> ................................................................413
<ins>...</ins> ........................................................................................413
<kbd>...</kbd> ........................................................................................414
<p>...</p> ................................................................................................414
<pre>...</pre> ........................................................................................414
<q>...</q> ................................................................................................415
<samp>...</samp> ....................................................................................415
<strong>...</strong> ............................................................................415
<sub>...</sub> ........................................................................................415
<sup>...</sup> ........................................................................................416
<var>...</var> ........................................................................................416
Text Formatting Elements ..................................................................................416
<b>...</b> ..............................................................................................416
<basefont /> ............................................................................................416
<big>...</big> ......................................................................................417
<center>...</center> ..........................................................................417
<font>...</font> ................................................................................417
<i>...</i> ..............................................................................................418
<s>...</s> ..............................................................................................418
<small>...</small> ............................................................................418
<strike>...</strike> ..........................................................................418
<tt>...</tt> ..........................................................................................419
<u>...</u> ..............................................................................................419
Lists ....................................................................................................................419
<dd>...</dd> ..........................................................................................419
<dir>...</dir> ......................................................................................419
<dl>...</dl> ..........................................................................................420
<dt>...</dt> ..........................................................................................420
<li>...</li> ..........................................................................................420
<menu>...</menu> ....................................................................................421
<ol>...</ol> ............................................................................................421
<ul>...</ul> ..........................................................................................422
Links ..................................................................................................................422
<a>...</a> ..............................................................................................422
<base /> ..................................................................................................423
<link /> ..................................................................................................423
Contents xv
Tables ..................................................................................................................424
<caption>...</caption> ......................................................................424
<col /> ....................................................................................................424
<colgroup>...</colgroup> ................................................................425
<table>...</table> ............................................................................425
<tbody>...</tbody> ............................................................................426
<td>...</td> ..........................................................................................427
<tfoot>...</tfoot> ............................................................................428
<th>...</th> ..........................................................................................428
<thead>...</thead> ............................................................................429
<tr>...</tr> ..........................................................................................430
Frames ................................................................................................................430
<frame /> ................................................................................................430
<frameset>...</frameset> ................................................................431
<iframe>...</iframe> ........................................................................431
<noframes>...</noframes> ................................................................432
Embedded Content ..............................................................................................433
<applet>...</applet> ........................................................................433
<area /> ..................................................................................................434
<img /> ....................................................................................................434
<map>...</map> ......................................................................................435
<object>...</object> ........................................................................435
<param /> ................................................................................................436
Style ....................................................................................................................437
<style>...</style> ............................................................................437
Forms ..................................................................................................................437
<button>...</button> ........................................................................437
<fieldset>...</fieldset> ................................................................438
<form>...</form> ..................................................................................438
<input /> ................................................................................................439
<isindex /> ............................................................................................440
<label>...</label> ..............................................................................440
<legend>...</legend> ..........................................................................441
<optgroup>...</optgroup> ..................................................................441
<option>...</option> ........................................................................441
<select>...</select> ........................................................................442
<textarea>...</textarea> ................................................................442
Scripts ................................................................................................................443
<script>...</script> ..........................................................................443
<noscript>...</noscript> ................................................................444
Common Attributes and Events ..........................................................................444
APPENDIX D Migrating from HTML to XHTML 447
Differences Between XHTML 1 and HTML 4 ..................................................447
XHTML and Document Validity ........................................................................448
Declaring XHTML Namespaces ........................................................................449
Converting HTML Documents to XHTML ......................................................450
Index 451
About the Authors
DICK OLIVER (dicko@netletter.com) is the tall, dark, handsome author of lots of great
books and software, including Web Page Wizardry, Netscape Unleashed, Create Your
Own Web Page Graphics, and Tricks of the Graphics Gurus. He is also the president of
Cedar Software and the warped mind behind the Nonlinear Nonsense Netletter at
http://netletter.com (and many other Web sites). When he isn’t banging on a keyboard,
he’s usually snowboarding, sledding, skiing, or warming up by the woodstove in his cozy
Northern Vermont home (where they celebrate a day of summer each year, too). He likes
writing HTML, eating killer-spicy Indian food, and waltzing wildly around the office
with his daughters--not necessarily in that order. He also thinks it’s pretty cool that
authors get to write their own “About the Authors” sections.
MICHAEL MORRISON is a writer, developer, toy inventor, and author of a variety of nerdy
books and interactive Web-based courses. In addition to his primary profession as a
writer and geek for hire, Michael is the creative lead at Stalefish Labs (http://www.
stalefishlabs.com), an entertainment company he co-founded with his wife, Masheed.
The first commercial debut for Stalefish Labs is a “lounge game” titled Tall Tales: The
Game of Legends, Humdingers, and Creative One-Upmanship. Michael encourages you
to visit the Tall Tales game Web site at http://www.talltalesgame.com/ and buy dozens of
games for your friends and family. When not glued to his computer, playing hockey,
skateboarding, or watching movies with his wife, Michael enjoys hanging out by his koi
pond. You can visit Michael on the Web at http://www.michaelmorrison.com/.
Dedication
This book is dedicated to my mother, Darlene Hewins, who had to teach herself HTML before the book
was written, and told me in no uncertain terms that I’d better do a lot better job than those other books.
—Dick Oliver
To my wife, Masheed, who is always on board for my far-out schemes and pet projects, and highly
supportive of my night job too.
—Michael Morrison
Acknowledgments
This book would certainly not exist today were it not for the author’s loving family, who
brought enough fresh carrot juice, tender popcorn, and buttery kisses to sustain him
through the long hours of its creation.
Special thanks must also go to the folks at the Buffalo Mountain Food Cooperative in
Hardwick, Vermont, for providing the carrots, popcorn, and butter.
—Dick Oliver
I’d like to thank Dick for allowing me to be a part of this project, and for all of my
buddies at Sams who are always such a pleasure to work with.
—Michael Morrison
We Want to Hear from You!
As the reader of this book, you are our most important critic and commentator. We value
your opinion and want to know what we’re doing right, what we could do better, what
areas you’d like to see us publish in, and any other words of wisdom you’re willing to
pass our way.
You can email or write me directly to let me know what you did or didn’t like about this
book—as well as what we can do to make our books stronger.
Please note that I cannot help you with technical problems related to the topic of this
book, and that due to the high volume of mail I receive, I might not be able to reply to
every message.
When you write, please be sure to include this book’s title and author as well as your
name and phone or email address. I will carefully review your comments and share them
with the author and editors who worked on the book.
Email: webdev@samspublishing.com
Mail: Mark Taber
Associate Publisher
Sams Publishing
800 East 96th Street
Indianapolis, IN 46240 USA
Reader Services
For more information about this book or others from Sams Publishing, visit our Web site
at www.samspublishing.com. Type the ISBN (excluding hyphens) or the title of the book in
the Search box to find the book you’re looking for.
Put Your HTML Page Online Today
In the next 24 hours, more than 100,000 new Web pages will be posted in publicly acces-
sible areas of the Internet. At least as many pages will be placed on private intranets
where they will be viewed by businesspeople connected to local networks. Every one of
those pages—like over 100 million pages already online—will use Hypertext Markup
Language, or HTML.
If you read on, your Web pages will be among those that appear on the Internet in the
next 24 hours. This will also be the day that you acquire one of the most valuable skills
in the world today: mastery of HTML.
Can you really learn to create top-quality Web pages yourself, without any specialized
software, in less time than it takes to schedule and wait for an appointment with a highly
paid HTML wizard? Can this thin, easy-to-read book really enable you to teach yourself
state-of-the-art Web page publishing?
Yes. In fact, within two hours of starting this book, someone with no previous HTML
experience at all can have a Web page ready to place on the Internet’s World Wide Web.
How can you learn the language of the Web so fast? By example. This book breaks
HTML down into simple steps that anyone can learn quickly, and shows you exactly how
to tackle each step. Every HTML example is pictured directly above the Web page it will
produce. You see it done, you read a brief, plain-English explanation of how it works,
and you immediately do the same thing with your own page. Ten minutes later, you’re on
to the next step.
The next day, you’re marveling at your own impressive pages on the Internet.
Beyond HTML
This book isn’t just about HTML because HTML isn’t the only thing you need to know
to create Web pages today. My goal is to give you all the skills you need to create a stun-
ning, state-of-the-art Web site in just 24 short, easy lessons. I’ve received literally thou-
sands of email messages from readers telling me that the earlier editions of this book
achieved that goal better than any other book available.
Go ahead and scan the bookstore shelves. You’ll discover that the book you’re holding
now is the only one on the market that covers all the following key skills and technolo-
gies in plain English that even beginners will understand.
2 Sams Teach Yourself HTML and XHTML in 24 Hours
Do you have existing Web pages that you need to bring up to date so
they’re compatible with the new standards? If so, Hour 24, “Planning for the
Future of HTML,” and Appendix D, “Migrating from HTML to XHTML,” give
you complete, easy-to-follow instructions for converting HTML pages into
XHTML.
• At the same time, all the examples you learn here have been tested for compatibil-
ity with the latest version of every major Web browser. That includes Microsoft
Internet Explorer, Netscape Navigator, and Opera. You’ll learn from the start to be
compatible with the past, yet ready for the future.
• Hours 8 through 11 teach you to design and create your own Web page graphics
(including animations) using industry-standard software you can download and try
for free. Creating graphics is the single most important part of producing a great-
looking site—and one that most HTML books leave out.
• Along with HTML, you’ll learn how to use Cascading Style Sheets (CSS),
JavaScript, and Dynamic HTML (DHTML) in Hours 12 through 20. Your Web
pages will be interactive and enchanting, not static and unresponsive.
• The technical stuff is not enough, so I also include the advice you need when set-
ting up a Web site to achieve your real-world goals. Key details—designing an
effective page layout, posting your page to the Internet with FTP software, organiz-
ing and managing multiple pages, and getting your pages to appear high on the
query lists at all the major Internet search sites—are all covered in enough depth to
get you beyond the snags that often trip people up.
• You may be aware that graphical Web site editors such as Microsoft FrontPage and
Macromedia DreamWeaver make Web design accessible to people that don’t know
anything about HTML—but these tools also make it more necessary than ever to
understand HTML yourself so you can create pages that do exactly what you want
and are easy to read and maintain. Throughout the book, I include notes telling you
when the What-You-See-Is-What-You-Get editors are helpful and when you’re bet-
ter off coding the HTML yourself.
Introduction 3
All these essentials (which some authors treat like extras, or don’t discuss at all) are what
made the first five editions of this book non-stop bestsellers. For this edition, I’ve contin-
ued to incorporate the email feedback of thousands of readers to make every lesson easy,
fast, and foolproof. I’ve also revised and updated the hands-on examples for you to expe-
rience online and modify to suit your own purposes—nearly 300 example pages in all.
The color quick-reference sheets and updated reference appendixes are sure to keep this
volume at your side long after you’ve become an experienced Webmaster.
3. “I need a professional-looking business Web site with an order form right away.
Then I can continue to improve and develop my site over time.”
• Read all four hours in Part I, “Your First Web Page.”
• Read Hour 17, “Web Page Scripting for Non-Programmers.”
• Read Hour 19, “Creating HTML Forms.”
• Read Hour 8, “Creating Your Own Web Page Graphics.”
• Read Hour 9, “Putting Graphics on a Web Page.”
• Read Hour 10, “Custom Backgrounds and Colors.”
• Put your pages and order form on the Internet!
(Total work time: 8–12 hours)
• Read the rest of the book, and update your pages as you learn more HTML.
4. “I need to develop a creative and attractive ‘identity’ Web site on a tight schedule.
Then I need to develop many pages for our corporate intranet as well.”
• Read all four hours in Part I, “Your First Web Page.”
• Read all four hours in Part II, “Web Page Text.”
• Read all four hours in Part III, “Web Page Graphics.”
• Read all four hours in Part IV, “Web Page Design.”
• Put your pages on the Internet and your intranet!
(Total work time: 10–16 hours)
• Read the rest of the book and update your pages as you learn more HTML.
5. “I need to build a cutting-edge interactive Web site or HTML-based multimedia
presentation—fast!”
• Read this whole book.
• Put your pages on the Internet and/or CD-ROM!
(Total work time: 16–24 hours)
• Review and use the techniques you’ve learned to continue improving and
developing your site.
It may take a day or two for an Internet service provider to set up a host computer for
your pages, as discussed in Hour 4. If you want to get your pages online immediately,
read Hour 4 now so you can have a place on the Internet all ready for your first page.
No matter which of these approaches you take, you’ll benefit from the unique presenta-
tion elements that make this book the fastest possible way to learn HTML.
Exploring the Variety of Random
Documents with Different Content
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
back
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com