Flylib.com

Books Software

 
 
 

Special Highlighted Elements


Special Highlighted Elements

As you go through each hour , sections marked "Try It Yourself" guide you in applying what you just learned to your own web pages at once.

Whenever a new term is used, it is clearly highlighted. No flipping back and forth to the Glossary!

Did you Know?

Tips and tricks to save you precious time are set aside in "Did You Know?" boxes so that you can spot them quickly.


By the Way

Crucial information you should be sure not to miss is also highlighted, in "By the Way" boxes.


Coffee Break

Coffee Break sections give you a chance to take a quick break and have some fun exploring online examples.


Watch Out!

When there's something you need to watch out for, you'll be warned about it in "Watch Out!" boxes.




Q&A, Quiz, and Exercises

Every hour ends with a short question-and-answer session that addresses the kind of "dumb questions" everyone wishes they dared to ask. A brief but complete quiz lets you test yourself to be sure you understand everything presented in the hour . Finally, one or two optional exercises give you a chance to practice your new skills before you move on.



The Sams Publishing Website

Every sample page illustrated in this book, plus more web pages designed to reinforce and expand your knowledge of HTML, can be found at the Sams Publishing website (www.samspublishing.com). I built files at the website especially to provide readers of this book with oodles more examples and reusable HTML pages than I could ever picture in a compact book.

You'll also get to have some fun with whimsical "edutainment" pages and break-time surprises , plus an extensive hotlist of links to a wide variety of Internet resources to help you produce your own web pages even faster. See you there!



Part I: Your First Web Page

 

HOUR 1 Understanding HTML and XHTML

 

HOUR 2 Create a Web Page Right Now

 

HOUR 3 Linking to Other Web Pages

 

HOUR 4 Publishing Your HTML Pages



Hour 1. Understanding HTML and XHTML

Before you begin creating your own web pages with HTML, you need a little background knowledge about what web pages are, how to view and edit them, and what you can expect to achieve with them. It might also help to have a basic understanding of how HTML differs from XHTML, and why there are two different languages designed to do the same thingcreate web pages. This hour provides a quick summary of HTML and XHTML basics, and gives some practical tips to make the most of your time as a web page author and publisher. It's not all theory, however; you do get to see a real web page and the HTML code behind it.

Try It Yourself

Here's a review of what you need to do before you're ready to use the rest of this book:

1.

Get a computer. I used a computer with Windows XP to test the sample web pages and capture the figures in this book, but you can use any Windows, Macintosh, or UNIX machine to create and view your web pages. The speed of the computer itself doesn't matter much for accessing web pages; the speed of the computer's modem or network interface card (NIC), however, should be at least 56Kbps, and faster is better. If you have access to broadband Internet access via a cable modem, DSL modem, or wireless access point, that's even better!

2.

Get a connection to the Internet. You can either dial up an Internet service provider (ISP) by using the modem in your computer or connect through the local network of your school or business. Most ISPs now offer dial-up Internet service for under $20 per month. If you don't mind spending a little more, a cable or DSL Internet service can dramatically improve the browsing experience, thanks to the speed and "always on" connection. The ISP, school, or business that provides your Internet connection can help you with the details of setting it up properly. Many public spaces such as airports, bookstores, and libraries also now offer free wireless Internet service that you can use if you have a laptop computer with Wi-Fi network support.

By the Way

Not sure how to find an ISP? The best way is to comparison-shop online (using a friend's computer that's already connected to the Internet). You'll find a comprehensive list of national and regional ISPs at http://thelist.internet.com/.


3.

Get web browser software. This is the software your computer needs in order to retrieve and display HTML web pages. The most popular browser programs are currently Microsoft Internet Explorer, Netscape, Mozilla Firefox, Opera, and Safari (Macintosh only). It's not a bad idea to install several of these browsers so that you can experiment and make sure that your web pages look consistent across them all; you don't want to assume anything about the browsers other people are using. Web browsers are available at software retailers, or you can download them free over the Internet at www.microsoft.com/, browser.netscape.com/, www.getfirefox.com/, www.opera.com/, and www.apple.com/safari/.

By the Way

Although all web browsers process and handle information in the same general way, there are some specific differences among them that result in things not always looking the same in different browsers. Be sure to check your web pages in multiple browsers to make sure that they look reasonably consistent.


4.

Explore! Use a web browser to look around the Internet for web pages that are similar in content or appearance to those you'd like to create. Note what frustrates you about some pages, what attracts you and keeps you reading others, and what makes you come back to some pages over and over again. If there is a particular topic that interests you, consider searching for it using a popular search engine such as Google (www.google.com/).

By the Way

If you plan to put your HTML pages on the Internet (as opposed to publishing them on CD-ROM or a local intranet), you'll need to transfer them to a computer that is connected to the Internet 24 hours a day. The same company or school that provides you with Internet access may also let you put web pages on their computer; if not, you may need to pay another company to host your pages.

You can start learning HTML with this book right away and wait to find an Internet host for your pages when they're done. However, if you want to have a place on the Internet ready for your very first page as soon as it is finished, you may want to read Hour 4, "Publishing Your HTML Pages," before you continue.