Professional Documents
Culture Documents
In this chapter
This chapter introduces you with some general information about the Internet and World Wide
Web; this will lay a foundation of useful knowledge to help you as you begin to create your own
web pages with HTML and CSS. This chapter wont be a comprehensive overview by any means,
but it will get you up to speed on some of the terminology and concepts youll need to be familiar
with throughout the rest of this book.
Internet Basics
The Internet is a worldwide collection of interconnected computer networks that enables
businesses, organizations, governments, and individuals to communicate in a variety of ways. One
of the most popular ways users communicate on the Internet is by publishing and interacting with
Web pages. You can also use the Internet to send and receive e-mail, chat with other users, and
transfer files between computers.
Web Terminology
Computer Network, often simply referred to as a network, is a collection of computers and
other hardware components interconnected by communication channels that allow sharing
of resources and information.
World Wide Web (WWW) or simply called Web is a collection of resources and
information interconnected via the internet.
Web page is a formatted page within a website that may contain text, graphics, video
and multimedia. This page can be can be viewed and explored on the internet by the use
of a program called web browser.
A home page is the first page presented when a user selects a site or presence on the
World Wide Web. This page usually provides information about the web site, its purpose
and contents.
Some sites use "splash page" to mean the home page itself, especially where it contains
attention-capturing visual or multimedia effects (creating a "splash").
NOTE: The terms Internet and World Wide Web are often used interchangeably; however,
the internet and World Wide Web are not one and the same.
The Internet is a vast hardware and software infrastructure that enables computer
interconnectivity. The Web, on the other hand, is a massive hypermedia database, a myriad
collection of documents and other resources interconnected by hyperlinks. Imagine the World
Wide Web as the platform which allows one to navigate the Internet with the use of a
browser such as Internet Explorer or Mozilla Firefox.
History of Internet
The Internet has its history anchored on the
project started by the United States
Government called DARPA (Defense
Advanced Research Projects Agency) an
agency of the US Department of Defense
for the development of new technology for
military use which was established in 1958.
The original name of this agency was
simply ARPA (Advanced Research Projects
Agency).
Figure 1.1. DARPA Headquarters at 3701 N.
Fairfax Drive in Arlington, Virginia, USA
royalty due and easily adoptable by everyone. W3C has set the standards for HTML,
XHTML, CSS and many other internet applications.
Types of Connections
Users connect to the Internet through a variety of methods. A relatively inexpensive
but slow way to connect is with dialup service, which involves using a modem and a
phone line. Faster ways to connect include DSL (digital subscriber line), cable
modem, satellite, and ISDN (Integrated Services Digital Network). Networks
include special wireless transmitters that allow computers to access the Internet
wirelessly. Companies that help you connect to the Internet are known as Internet
service providers, or ISPs.
Connection Speeds
Connection speeds play an important part in a users Internet experience because
slower connections result in slower file transfers and Web page viewing. Dialup
connections offer the slowest access to the Internet at up to 56 kilobits per second,
or Kbps, followed by ISDN connections at 64 to 128 Kbps. DSL usually offers
connection speeds of up to 3 megabits per second, or Mbps, while cable modems
can achieve speeds of up to 6 Mbps. A Web page that takes about 20 seconds to
download via dialup can take less than a second using a cable modem.
Hypertext
Special instructions in HTML permit lines of text to point (that is, link) to something else in
cyberspace. Such pointers are called hyperlinks. Hyperlinks are the glue that holds the
World Wide Web together. In your Web browser, hyperlinks usually appear in blue and
are underlined. When you click a hyperlink, it takes you somewhere else. Hypertext or
not, a Web page is a text file, which means you can create and edit a Web page in any
application that creates plain text (such as Notepad or Notepad++).
Figure 1.5. To achieve its present good looks, this Web page incorporates multiple parts
and numerous bits of HTML and CSS markup
This page includes an image, a heading that describes the page, several paragraphs of
text about one of your authors, and an address block with links to a rsum and a list of
publications.
However, different components of the page use different formatting:
9 The heading at the top of the page is larger than text in the paragraphs.
9 Blocks of text are separated by more blank space than between contiguous lines
of text within blocks.
9 Some text is in white, some orange, and some light blue.
The browser knows to display these components of the page in specific ways thanks to the
HTML markup, shown in Figure 1.6.
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.
w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
<html xmlns=http://www.w3.org/1999/xhtml>
<head>
<meta http-equiv=Content-Type content=text/html; charset=UTF-8 />
<title>Ed Tittel - Edtittel.com</title>
<style type=text/css>
body {
background-image: url(images/background_page.gif);
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: .9em;
line-height: 1.3;
color: #FFF;
margin: 0px;
padding: 0px; }
#container{
width: 794px;
margin: 0px auto; }
#headerGraphic{
background-image: url(images/header.gif);
;
width: 794px;
height: 160px; }
b {
font-weight: bold;
}
h2 {
font-weight: bold;
font-size: 1.5em;
color:#96CDFF;
border-bottom: 1px solid white; }
h1 {
font-weight: bold;
font-size: 1.2em;
color:#96CDFF; }
ul{
list-style-type: none;
margin: 0px;
padding: 0px; }
a:link {
font-weight : bold;
text-decoration : none;
color: #FF7A00;
background: transparent; }
a:visited {
font-weight : bold;
text-decoration : none;
color: #91a3b4;
background: transparent; }
a:hover {
color: #FA0000;
background: transparent;
text-decoration : underline; }
a:active {
color: #494949;
background: transparent;
font-weight : bold;
text-decoration : underline; }
</style>
</head>
<body>
<div id=container>
<!-- Top graphic of Ed and title -->
<div id=headerGraphic></div>
<!-- Header text -->
<h2>About me</h2>
<!-- Paragraphs -->
<p>Ed Tittel has been working in and around the computer industry since the
early 1980s, at which point he left academia to work as a programmer. After
seven years of writing code and managing development projects, he switched
to the softer side of the industry in pre-sales technical and marketing
roles. In the period from 1981 to 1994 he worked for 6 companies that
included Information Research Associates, Burroughs, Schlumberger, and
Novell.</p>
<p>Ed started writing about computing subjects in 1986 for a Macintosh
oriented monthly magazine. By 1989 he had contributed to such publications
as LAN Times, Network World, Mac World, and LAN Magazine. He worked on his
first book in 1991, and by 1994 had contributed to over a dozen different
titles.</p>
<p>Ed has been freelancing full-time since 1994, with two
brief stints of other employment interspersed therein (1987-8 at Tivoli,
and 2006 at NetQoS, Inc.). He has contributed to over 140 computer
books, including numerous ...For Dummies titles, college textbooks,
certification preparation materials, and more. These days, Ed revises an
occasional book, writes for Toms Hardware, TechTarget, and ITExpertVoice,
and teaches online courses for large corporations such as HP.</p>
<p>To learn more about Eds professional history, please
read his <a href=bio.htm>professional bio</a>.</p>
<!-- Subtitle text -->
<h1>Contact:</h1>
<!-- List -->
<ul>
<li><b>Email:</b> etittel at yahoo dot com</li>
<li><b>Address:</b> 2443 Arbor Drive, Round Rock, TX 78681-2160</li>
<li><b>Phone:</b> 512-252-7497 (No solicitors, please)</li>
<li>List of publications available in: <a href=docs/v_et.doc
target=_blank>MS Word</a></li>
<li>Resume available in: <a href=docs/Resu-et13.doc target=_blank>
MS Word</a></li>
</ul>
</div>
</body>
</html>
Browsers
Web browsers read instructions written in HTML, XHTML, and CSS, and use those
instructions to display Web page content on your screen. You should always write your
HTML with the idea that people will view the content using a Web browser. Just remember
that theres more than one kind of browser out there, and each one comes in several
versions. Usually, Web browsers request and display Web pages available via the
Internet from a Web server. You can also display HTML pages youve saved on your own
computer before making them available on a Web server on the Internet. When youre
developing your own HTML pages, you view these pages (called local pages) in your
browser. You can use local pages to get a good idea of what people see after the page
goes live on the Internet. Each Web browser interprets HTML in its own way. The same
HTML may not look exactly alike from one browser to the next.
NOTE: HTML is not a programming language, it is a markup language
Web servers
Your HTML pages arent much good if you cant share them with the world. Web servers make
that possible. A Web server is a computer that
9 Connects to the Internet
9 Runs Web-server software
9 Responds to requests from Web browsers for Web pages
Almost any computer can be a Web server, including your home computer. But Web servers
generally are computers dedicated to the task. You dont need to be an Internet or computer guru
to publish your Web pages, but you must find a Web server to serve your pages:
9 If youre building pages for a company Web site, your IT department may have a Web
server.
9 If youre starting a new site, you need a host for your Web pages.
Finding an inexpensive host is easy all it takes is a simple Google search. One inexpensive
host is GoDaddy (www.godaddy.com), with current monthly fees as low as $1.99 a month. You
can even find free hosts for your Web site with a little effort. Free Web Hosts maintains a list of
free host providers. Check them out at www.free-webhosts.com.
http://www.googleguide.com/searchEngines/google/searchL
eader.html.
Heres what it all means:
http
www.googleguide.com
googleguide
com
searchEngines
google
searchLeader
html
Heres a list of some common top-level domain names. Note that some sites dont follow these
conventions:
.edu
.com
.gov
.mil
.net
.org
Because the Internet was created in the United States, US was not originally assigned to U.S.
domain names; however, its used to designate American state and local government hosts,
including many public schools, and commercial entities, e.g., well.sf.ca.us. The domain .ca
represents Canada, unless its followed by .us, in which case it represents California.
Domain Codes
.ca.us
.nv.us
.tx.us
State
California
Nevada
Texas
Other countries have their own two letter codes as the top level of their domain names
although many non-US sites use other top-level domains (such as .com):
Domain Codes
.ca
.de
.dk
.jp
.il
.uk
.za
Country
Canada
Germany
Denmark
Japan
Israel
United Kingdom
South Africa
To limit results to a single site or domain, specify the site name (e.g., www.googleguide.com or
googleguide.com) or a top-level domain name (e.g., .com or .edu) in Googles domain selector.