Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

Living in

the IT
Era
DEFINITION OF COMPUTER moving the rods around and placing
them in specially constructed boards.
- an electronic machine that accepts
information (Data), processes it SLIDE RULE
according to specific instructions, and
- Invented by William Oughtred in 1622.
provides the results as new information.
- Based on Napier's idea about
EARLIEST COMPUTER logarithms.
- Used primarily for: – multiplication –
- Originally calculations were computed
division – roots – logarithm –
by humans, whose job title was
Trigonometry
computers.
- Not normally used for addition or
- These human computers were typically
subtraction.
engaged in the calculation of a
mathematical expression. PASCALINE
- The calculations of this period were
- Invented by Blaise Pascal in 1642.
specialized and expensive, requiring
- It was its limitation to addition and
years of training in mathematics.
subtraction.
- The first use of the word "computer"
- It is too expensive.
was recorded in 1613, referring to a
person who carried out calculations, or STEPPED RECKONER
computations, and the word continued
to be used in that sense until the middle - Invented by Gottfried Wilhelm Leibniz in
of the 20th century. 1672.
- The machine that can add, subtract,
HISTORY OF COMPUTER multiply and divide automatically.

JACQUARD LOOM
TALLY STICKS - mechanical loom, invented by Joseph-
Marie Jacquard in 1881
- an ancient memory aid device to record
- automatic loom controlled by punched
and document numbers, quantities, or
cards.
even messages.
ARITHMOMETER
ABACUS
- mechanical calculator invented by
- mechanical device used to aid an
Thomas de Colmar in 1820
individual in performing mathematical
- first reliable, useful and commercially
calculations
successful calculating machine
- invented in Babylonia in 2400 B.C.
- could perform the four basic
- abacus in the form we are most familiar
mathematic functions
with was first used in China in around
- first mass-produced calculating
500 B.C.
machine.
- used to perform basic arithmetic
operations DIFFERENCE ENGINE AND ANALYTICAL
NAPIER’S BONES ENGINE

- Invented by John Napier in 1614. - It’s an automatic, mechanical calculator


- Allowed the operator to multiply, divide designed to tabulate polynomial
and calculate square and cube roots by functions
- Invented by Charles Babbage (Father ENIAC
of Computer) in 1822 and 1834
- first mechanical computer - ENIAC stands for Electronic Numerical
Integrator and Computer
FIRST COMPUTER PROGRAMMER - first electronic general purpose
computer
- In 1840, Augusta Ada Byron suggests
- Completed in 1946
to Babbage that he use the binary
- Developed by John Presper Eckert and
system.
John W. Mauchly.
- She writes programs for the Analytical
Engine. UNIVAC 1
SCHEUTZIAN CALCULATION ENGINE - The UNIVAC I (UNIVersal Automatic
Computer 1) was the first commercial
- Invented by Per Georg Scheutz in
computer
1843.
- Designed by J. Presper Eckert and
- Based on Charles Babbage's
John Mauchly.
difference engine.
- The first printing calculator. EDVAC

TABULATING MACHINE - EDVAC stands for Electronic Discrete


Variable Automatic Computer.
- Invented by Herman Hollerith in 1890.
- The First Stored Program Computer
- To assist in summarizing information
- Designed by Von Neumann in 1952.
and accounting.
- It has a memory to hold both a stored
HARVARD MARK 1 program as well as data.

- Also known as IBM Automatic OSBORNE 1


Sequence Controlled Calculator
- The first portable computer.
(ASCC).
- Released in 1981 by the Osborne
- Invented by Howard H. Aiken in 1943.
Computer Corporation.
- The first electro-mechanical computer.
THE FIRST COMPUTER COMPANY
Z1
- The first computer company was the
- The first programmable computer.
Electronic Controls Company.
- Created by Konrad Zuse in Germany
- Founded in 1949 by J. Presper Eckert
from 1936 to 1938.
and John Mauchly.
- To program the Z1 required that the
user insert punch tape into a punch COMPUTER GENERATIONS
tape reader and all output was also
generated through punch tape.  First Generation – 1939 – 1954
(vacuum tube)
ATANASOFF-BERRY COMPUTER (ABC)
 Second generation – 1954 – 1959
- It was the first electronic digital (transistor)
computing device.
 Third generation – 1959 – 1971 (IC)
- Invented by Professor John Atanasoff
and graduate student Clifford Berry at  Fourth generation – 1971 – 1991
Iowa State University between 1939 (microprocessor)
and 1942.
 Fifth generation – 1991 and beyond
THE FIRST GENERATION THE THIRD GENERATION

- First generation computers relied on - The development of the integrated


machine language, the lowest-level circuit was the hallmark of the third
programming language understood by generation of computers.
computers, to perform operations, and - Transistors were miniaturized and
they could only solve one problem at a placed on silicon chips, called
time. semiconductors, which drastically
- Input was based on punched cards and increased the speed and efficiency of
paper tape, and output was displayed computers.
on printouts. History of Computer - Much smaller and cheaper compare to
Vacuum Tubes the second generation computers.
- The first computers used vacuum - It could carry out instructions in
tubes, magnetic drums for memory, billionths of a second.
and were often enormous, taking up - Users interacted with third generation
entire rooms. computers through keyboards and
- They were very expensive to operate monitors and interfaced with an
and in addition to using a great deal of operating system, which allowed the
electricity, generated a lot of heat, device to run many different
which was often the cause of applications at one time with a central
malfunctions. program that monitored the memory.
- Computers for the first time became
THE SECOND GENERATION
accessible to a mass audience
- Transistors replaced vacuum tubes and because they were smaller and
ushered in the second generation of cheaper than their predecessors.
computers.
THE FOURTH GENERATION
- One transistor replaced the equivalent
of 40 vacuum tubes. - The microprocessor brought the fourth
- Allowing computers to become smaller, generation of computers, as thousands
faster, cheaper, more energy-efficient of integrated circuits were built onto a
and more reliable. History of Computer single silicon chip.
- Still generated a great deal of heat that - As these small computers became
can damage the computer. more powerful, they could be linked
- Second-generation computers moved together to form networks, which
from cryptic binary machine language eventually led to the development of the
to symbolic, or assembly, languages, Internet.
which allowed programmers to specify - Fourth generation computers also saw
instructions in words. the development of GUIs, the mouse
- Second-generation computers still and handheld devices.
relied on punched cards for input and
THE FIFTH GENERATION
printouts for output.
- These were also the first computers - Based on Artificial Intelligence (AI).
that stored their instructions in their - Still in development.
memory, which moved from a magnetic - The use of parallel processing and
drum to magnetic core technology. superconductors is helping to make
artificial intelligence a reality.
- The goal is to develop devices that
respond to natural language input and
are capable of learning and self- USES OF COMPUTER
organization.
- There are some applications, such as 1. personal computing
voice recognition, that are being used 2. science and research
today.
3. information system/data processing
WHAT IS COMPUTER?
4. education
- system consisting of two different
5. medicine
components, hardware and software
computer is also kwon as a single 6. artificial intelligence
component that does the actual
CRITICAL COMPONENTS
computing. This is the central
processing unit, or CPU, the job of the - Processor
CPU is to execute programs.
- Memory
FOUR PARTS OF COMPUTER SYSTEM
- Input And Output Devices
 Hardware
- Storage
 Software
THE PROCESSOR
 Users
 Data
PROCESSING
CAPABILITIES OF COMPUTER
- procedure that transforms raw data into
- The computer has the ability to perform useful one.
arithmetic operation like: addition, - To perform “Processing” the computer
subtraction, multiplication and division. uses two components. “The Processor
- The computer can perform relational and Memory”.
and logical operations.
- A computer has storage area called PROCESSOR OR CPU (CENTRAL
memory, the reason why the computer PROCESSING UNIT)
has the ability to store and retrieve
- The processor is like the brain of the
information.
computer.
- The computer has the ability to process
information at a very high speed - It organizes and caries out instructions
- The computer can direct itself in a that come from either the user or the
predetermine manner without human software. In a personal computer, the
intervention processor usually consists of one or
more microprocessors (sometimes
LIMITATIONS OF COMPUTER
called chips), which are slivers of silicon
- Computers do not think for you or other material etched with many tiny
- The computer cannot correct electronic circuits.
inaccurate data.
- To process data or complete an
- The computer is subject to breakdown instruction from a user or a program,
the computer passes electricity through
the circuits. The microprocessor is
plugged into the computer - The more RAM the computer has, the
motherboard. more it can do and the faster it can
perform a certain task.
- The most common measurement unit
of memory is the byte-the amount of
memory it takes to store a single
character, such as a letter of the
alphabet or numeral.

- The number of computer memory is


often large that it’s useful to used terms
such as kilobyte (KB), megabyte (MB),
gigabyte (GB)and terabyte (TB) to
describe the value.
MOTHERBOARD
UNITS OF MEASURE FOR COMPUTER
- is a rigid rectangular card containing
MEMORY OR STORAGE
the circuitry that connects the
processor to the other hardware.

- is an example of circuit board.

3 PARTS OF COMPUTER WHERE ALL


COMPUTER PROCESSING TAKES PLACE.
MEMORY

- Memory is the electronic holding place


1. ALU (ARITHMETIC LOGIC UNIT)
for the instructions and data a computer
Perform all arithmetic operations and
needs to reach quickly.
logical processes required to solve a
- It's where information is stored for computer problem.
immediate use. 2. CONTROL UNIT
- Memory is one of the basic functions of The little supervisor of the CPU. It
a computer, because without it, a directs and coordinates the operation of
computer would not be able to function the entire computer according to the
properly. instructions laid out in the program. It
intercepts the instruction, gets data to
- The most common type of memory is be used in each instruction and relays
Random Access Memory (RAM) the appropriate commands to other
- One of the most factors affecting the parts of the hardware where action is to
speed and power of a computer is the take place.
amount of RAM it has. 3. MEMORY
Also called “Primary Memory or Main
Memory” -This is the storage of the
hardware which contains the program THREE MAJOR DISTINCTIONS BETWEEN
and the data being worked with by the STORAGE AND MEMORY:
computer.
A. There is more room in storage than in
TWO TYPES OF MEMORY memory.
B. Contents are retained in storage when
the computer is turned-off, whereas the
ROM (READ ONLY MEMORY)
program or the data you put into the
Contains all system programs that are memory disappear, when you shutdown
used for startup operations of the computer the computer.

non-volatile memory that permanently C. Storage very slow compared to


stores instructions for your computer. memory, but it’s much cheaper than
memory.
RAM (RANDOM ACCESS MEMORY)
 There are many types of storage
Stores Data that can either be read devices including tape drives, optical
(retrieved for use in processing) or written drives, and removable hard drives.
to (store data). however, the most common storage
volatile memory that temporarily stores the medium is the magnetic disk.
files you are working on.  Disk - A round, flat objects that spins
INPUT DEVICES around its center.(CD) Disk Drives -
The device that holds a disk.
- Input Devices accept data and
instructions from the user or from  CD-ROM drive- Compact Disk Read
Only Memory, is another common type
another computer system (such as
of storage device. as the name implies,
computer on the internet).
you cannot change the information on
- Ex. Keyboard- which accepts letters, the disk just as you cannot record over
numbers and commands from the user. an audio CD.
Mouse- which lets you select option
from on-screen menus. WORD PROCESSING PROGRAM AND
THEIR USES
OUTPUT DEVICES
- Word processing software which is also
- To present processed data to the user. called a word processor in application
- Ex. Monitor and Printer- the computer that provides extensive tools for
sends the output to the monitor (the creating all kinds of text-based
display screen) when the user needs to documents
see the output. It sends output to the
THE WORD PROCESSORS INTERFACE
printer when the user requests a paper
copy (also called a hard copy) of a - The word processors main editing
document. window display a document and
several tools. In additional, a
STORAGE document area or document window,
- The purpose of the storage is to hold which is you view the document. A word
data permanently. processor provides several sets of
tools including:
• Menu bar
• Toolbars SPECIAL FEATURES OF WORD
• Rules PROCESSING SOFTWARE

• Scroll bar ➢ Language Tools

• Status bar ▪ Spell checker

ENTERING AND EDITING TEXT ▪ Grammar checkers

- You create a document by typing on the ▪ Thesaurus.


keyboard-a process known as entering ➢ Tables
text. In a new document, the program
places a blinking insertion point ➢ Mail merge
(called cursor) in the upper left corner ➢ Adding graphics and sounds
of the document
➢ Templates
FORMATTING TEXT
SPREADSHEET PROGRAM AND THEIR
USES
CHARACTER FORMAT - A spreadsheet program is a software
Character formatting includes setting tool for entering, calculating,
the control attributes of individual text such us: manipulating and analyzing sets of
numbers.
➢ Fonts
- Spreadsheets have a wide range of
➢ Type size uses- form family budgets to corporate
➢ Type style earnings statements.

➢ Paragraph Format THE SPREADSHEET INTERFACE

➢ Line - Like a word processing program, a


spreadsheet program lets you work in
➢ Paragraph spacing main document area (also called
➢ Indents document window), which displays your
data in various ways.
➢ Alignment
- In a spreadsheet program you actually
➢ Tab stops work in a document called a worksheet
➢ Borders and shading (or a sheet) and you can collect related
worksheet in a workbook (which is
DOCUMENT FORMAT called notebook in some programs
➢ Margins - A typical Spreadsheet interface also
➢ Page size provides a main menu bar, toolbars, a
special formula bar, where you can
➢ Orientation create or edit data and formulas in the
➢ Header and footers worksheet.

➢ Columns - An empty worksheet (one without any


data) looks like a grid of rows and
➢ Section columns.
ENTERING DATA IN A WORKSHEET worksheet simply to indicate when it
was created.
- A worksheet can hold several types
of data, including labels (ordinary FORMULAS
text), values (numbers), dates and
- The power of the spreadsheet lies in
formulas (statements that perform a
formulas which calculate number
calculation.
based on values or formulas in other
- Cells also can hold graphics, audio
cells. You can create many kinds of
files, and video or animation files.
formulas manually to do basic
- Entering data in worksheet is
arithmetic operations.
simple. Using the mouse or arrow
key, you select a cell to make it FUNCTIONS
active.
- The active cell is indicated by cell - Spreadsheet come with many built
pointer, a rectangle that makes the in formula called functions that
active cells borders look bold. perform specialized calculations
- To navigate the worksheet, you automatically. You can include
need to understand its system of these functions in your own
cell addresses. formulas
- When you have selected a cell, you - Some functions are simple, such as
simply type the data into it. the COUNT functions, which counts
- You can also use the spreadsheets many values in a range of cells.
cut, copy and paste feature to - You add arguments within the
duplicate and move data to various parentheses of the functions.
parts of the worksheet. - Arguments are the values (often
called cell reference) that the
LABELS functions uses in its operation.

- Worksheet can contain text- called ENTERING AND FORMATTING A


labels (name for data values) as WORKSHEETS
well as values and formulas. In
spreadsheets, text usually is used to - After a worksheet has been created,
identify a value or series of values anything in it can be edited. Like
(as in row or column heading), or to processor, a spreadsheet programs
describe the content of a specific are extremely accommodating
cell (such as total). when you want to make the desired
changes.
VALUES - Spreadsheet program makes it easy
- In a spreadsheet, a value is any to move, copy or delete the contents
number you enter or number that of the cells, You also can insert or
results from a computation. You delete rows and column.
might enter series of values in - Spreadsheet programs offer
column so that you can total them. numerous formats specifically for
numbers. Numbers appear as
DATES dollars, cents, percentages, dates
times and fractions.
- necessary part of most worksheets,
and spreadsheet programs can
work with date information in many
ways. A date maybe added to a
ADDING CHARTS changes for the better, however,
with the advent of the computerized
- A popular feature of spreadsheet tools that were designed specially to
software is the ability to generate aid in creating slides.
charts based on numeric data. - Presentations program provide
- Charts make data easier to powerful design tools that make it
understand-for example, when easy to anyone to outline, create,
presenting data to an audience. edit, arrange and display complex
- With spreadsheets, creating a chart slides presentations.
is simple with just a few mouse click. - And also, function such as drag and
- Select the data you want to chart, drop, cut and copy and paste.
select a chart type (bar chart, pie
chart, line chart or scatter chart), THE PRESENTATION PROGRAM
and set the desired chart options. INTERFACE

ANALYZING DATA IN A SPREADSHEET - The typical presentation programs


display a slide in a large document
You can use a worksheet to analyze data.
window and provide a wide range of
Most spreadsheet programs enable you to use
tools for designing and editing
three useful techniques.
slides. Presentation program
1. Analysis is the process of using provides many of the features found
spreadsheet to test how alternative in the word processor (for working
scenarios affect numeric results. All with text), spreadsheet (for creating
spreadsheets allow you to do simple charts), and paint program (for
analysis. You can easily change one part creating and editing simple
of formula or a cell that it refers to see how graphics).
that change affects the rest of the
CREATING PRESENTATION
worksheets. A more sophisticated type of
analysis is table that automatically - Creating presentation is simple.
calculates the results based on any Just choose the type of slide you
number of assumptions want to create and then start adding
2. Goal Seeking finds values for one or the content. You can create slides
more cells that make the results of a from scratch (starting with a blank
formula equal to a value you specify. slide), but it is easier and faster to
work with one of the presentation
3. Sorting is another data- analysis tool. programs with many template. A
When you sort data, you arrange it in a presentation template is a pre-
specific manner based on certain criteria, designed document that already
such as by date dollar amount, or has coordinating fonts, a layout, and
alphabetically. After data is sorted it maybe a background. The program
easier to perform calculations on the provides special text boxes and
results. frames.
PRESENTATION PROGRAM BASICS FORMATTING SLIDES
- Before the first PC-based - Formatting Text
presentations programs were - Resizing Frames
developed, creating a presentation - Adding Colors
could be tedious and time - Adding Background or shading
consuming or deal. The process
SPECIAL FEATURES OF PRESENTATION These types of software usually are not
PROGRAMS referred to as database or database
management programs; Instead, they are also
- Outlining called personal information, managers,
- Annotation personal organizer, and other names. Behind
- Animation their interfaces, however, these PC program
- Sound and Video have the heart of a database management
- Other Embedded Objects system. A dedicated DBMS makes it possible
to do many routine tasks that otherwise would
PRESENTING SLIDESHOWS
be tedious and time consuming without a
- On the PC’s screen computer
- On a television screen
- On a large formal monitor
- From a digital projector A DATABASE CAN:

REMINDERS FROM PROFESSIONAL - sort thousands of addresses by zip


PRESENTERS code
- find all records of people who live in
- Keep it short and simple a certain state
- Be consistent - print all list of selected records, such
- Do not go overhead as all real estate listing that close
- Practice, practice, practice escrow last month
- Remember, timing is everything - invoice a customer’s new car lease,
- Allow for audience reaction and adjust the dealerships, and update
interaction the service departments mailing list
merely by entering the data for a
DATABASES AND DATABASE
single sales transactions
MANAGEMENT SYSTEMS
THE DATABASE
To make large collections of data useful,
people and organizations use computers and - Contains a collection of related
an efficient data management system. Like a items or facts arranged in a specific
warehouse, a database is a collection of structure. The most obvious
related data or facts. A Database example of a non- computerized
Management system (DBMS) is a software database is a telephone directory
tool that allows people to store, access, Telephone companies use
and process data or facts into useful electronic database program to
information produce their printed phone books

"Personal computers have brought database MOST COMMON TERMS TO KNOW


management to the desktop of individuals of ABOUT DATABASE
businesses and homes. Although the casual
computer user may not need an inventory
tracking system, home users utilize FIELDS
commercial DBMS products to maintain
- each piece of information
address lists of friends and business contacts
manage household purchases and budgets,
organize music CD and video libraries, and -
store data for home businesses
RECORDS - the vendor and inventory tables can
be linked to maintain and track
- one full set of fields, that is, all the inventory levels
related information about one - the order and employee tables can
person or objects be linked to control scheduling
TABLES THE DBMS
- complete collections of records - a program or collections of
makes a table programs, that allows any number
FLAT FILE AND RELATIONAL DATABASE of users to access
- provides tools that enable users to
STRUCTURE
construct special requests (called
Many early database applications and some queries) to find a specific record in
current – low end application access and the database.
manipulate only one table at a time. These
DATA MANAGEMENT TASK FALLS INTO
applications store each table in its owns, file
when dealing with such database there is no ONE OF THE THREE GENERAL
reason to use the term table, because the CATEGORIES:
table and the database are one and the same.
- entering data into the database
Very often, a table is simply called a file or just
- sorting the data - that is, arranging
“the database”
or reordering. the databases record
RELATIONAL DATABASE - obtaining subsets of the data

- a database made of set of tables WORKING WITH A DATABASE


- a common field existing in any two
The DBMS Interface presents the user with
tables creates a relationship
data and the tools required to work with the
between the tables
data. You work with the interfaces tools to
- its structure is easily the most
perform data management functions:
prevalent in today's business
organizations - Creating table
- Sorting records
In business, a typical relational database likely
- generating reports
would contain data, tables, such as the
- Viewing records
following:
- creating queries
- customer information
- employee information CREATING DATABASE TABLES
- vendor information - The first step in building a database
- inventory information is to create One or more tables. As
- other information you know, tables hold the raw data
Multiple tables in this kind of database make it that the DBMS will work with
possible to handle many data management • Name the field
task, for example: • Specify the Field Type
• Specify the field Size
- the customer, order, and inventory • Understanding Field Type
tables can be linked to process ▪ When naming the
order billing field, indicate briefly
as possible what field
contains, most ordered a new catalog which is
modern database can answerable by yes or no
work with seven
predefined field type ENTERING DATA IN A TABLE

- After the table has been set up, data


TEXT FIELD
can be entered in most cases,
- also called character field or entering data is a matter of typing
alphanumeric fields characters at the keyboard.
- accept any string of alphanumeric Entering data in a database table is
characters that are not used in much like entering data in a
calculations spreadsheet program
- "person's name, company's name,
VIEWING RECORDS
address, phone number, or any
other textual data - The way data appears on screen
contributes to how well users can
NUMERIC FIELDS
work with it. With many DBMS
- store purely numeric data product, the view (sometimes called
- numbers in a numeric field might the database view) is what you use
represent currency percentages, to create a database table and to
statistics, quantities or any other modify field specifications
values that can be used in - Sometimes viewing the entire table
calculations is unwieldy because there are too
- data itself is stored in the table many entries
strictly as a numeric value, dollar or
FILTERS
percent signs, decimal points or
commas - DBMS features for displaying all
selected list of subsets of records
DATA FIELD OR TIME FIELD
from a table
- store dates or time entries
SORTING RECORD
- converts a date or time a numeric
value just as dates and time as - One of the most powerful
stored internally as serial number in features of a DBMS is its ability to
spreadsheet cells sort a table of data, either for a
- when you enter a date in a date primed report or for display on the
field, the DBMS accepts your input, screen. Sorting arranges records
displays it in the format of date(such according to the contents of one or
as (9/9/2009) and convert it into more fields. For example, in a table
number (such as 37799) of products, you can sort records
into a numerical order by product ID
LOGICAL FIELD
or into an alphabetical order by
- also called Boolean field product name
- stores one of possible values, you
QUERYING A DATABASE
can apply almost any description for
the data. For example, a catalog - In a manner similar to entering sort
field in a customer’s table can tell a conditions you can enter expression
customer whether a customer has or criteria that;
• allows the DBMS to locate DBMS
records
• establish the relationship or - software tool that enables many
links between tables to users to add, view, and work with
updates records the data in the database
• list subset of records FLAT FILE DATABASE
• perform calculations
• database obsolete records - two-dimensional tables of fields and
• perfect other data records
management - cannot perform relationship with
other tables
Any of these types of requests is called
"query", a User constructed statement that FORMS
describe the data and sets of criteria so that
- custom screen for displaying and
the DBMS can gather the desired data and
entering data that can be associated
construct specific information. In other words,
with database tables and queries
a query is more powerful type of filter that
can gather information from multiple tables FILTERS
in a relational database
- let you browse through selected
GENERATING REPORTS records that meet a set of criteria

QUERIES
REPORT - user-constructed statement that set
conditions for selecting and
- printed information that, like a query
manipulating data
result, is assembled by gathering
data based on supplied criteria in REPORT
fact, report generation in most
DBMS's create report from queries - user- generated sets of data usually
- can range simple lists of records to printed as document
customized formats for specific
THE BEGINNING OF "NETWORK OF
purpose, such as invoices
NETWORKS"
- Report generators can use selected
data and criteria to carry out - The seeds of internet was planted in
automated mathematical 1969, when the Advance Research
calculations as the reports are Projects Agency (ARPA), of the US
printed Department of Defense began
connecting computers at different
SUMMARY
universities and defense contractors.
- The resulting network was called
ARPANET.
DATABASE
- The goal of this early project was to
- repository for collections of related create large computer network with
data / facts multiple paths in the form of telephone
line that could survive a nuclear attack
or other disaster.
- If one part of the network were
destroyed, other parts of the network
would remain functional because data - Therefore, several private
could continue to flow through the telecommunication companies built
surviving lines. their own network backbone that
- Initially the network included our function in match the same manner as
primary host computers. NSFNET.
- A host is like a network, providing - Network backbone is the central
services to other computer that connect structure that connects other elements
to it. ARPANET host computers (like of the network.
those on today's Internet) provided file - The original ARPANET was shutdown
transfer and communications services in 1990, and the ARPANET
and gave connected systems access to discontinued in 1995. By the mid of
the networks high speed data lines. 1990 interest in the internet expands
- The system grew quickly and spread dramatically
widely as the number of host grew.
USING YOUR WEB BROWSER AND THE
- The network jumped across the Atlantic
to Norway and England in 1973, and it WORLD WIDE WEB
never stopped growing.
- To access the web you need a special
- In the mid of 980, another federal
software program called a Web
agency, the National Science
Browser.
Foundation (NSF), joined the projects
after the Department of Defense drop
- The two most popular Web Browsers
are Microsoft Internet Explorer and
its funding
Netscape Navigator. There are,
NSF ESTABLISHED FIVE however, many other browsers, each
SUPERCOMPUTING CENTERS THAT with its own unique features and
capabilities.
WERE AVAILABLE TO ANYONE WHO
WANTED TO USE THEM FOR ACADEMIC
- Web browser provide tools that let you
navigate the Web, moving from one
PURPOSES
page to another as easily as you flip
- The NSF expected supercomputing through the pages of a magazine.
users to use ARPANET to obtain
LAUNCHING YOUR BROWSER
access, but the agency quickly
discovered that existing network could - Your Web browser is an application
not handle the load. program that is stored on your
- In response, the NSF created a new computers disk. You must launch the
higher capacity network called program before you can view any Web
NSFNET. The link between the pages. You may need to connect to the
ARPANET and NSFNET and other Internet before launching the browser.
network was called internet. Once you have established a
- A collection of networked network is connection, Launch your browser by
described as being inter-networked, following these steps.
which is where the internet world wide 1. Click the start button on the
network gets its name. Windows taskbar. The start menu
- NSENET made Internet connections opens.
widely available for academic research, 2. Point to programs, to open the
but the NSF did not permit users to program menu. When the program
conduct private business over the menu opens, find the name of you
system browser and click it
- Depending on how your browser is USING THE BROWSER NAVIGATION
configured, a Web page may open in TOOLS
the browser window as soon as you
launch the program. This page is called - Web browsers offer a variety of tools to
the start page. You can set the browser help you move around the Web. These
to open any page (either from a web tools can save you the trouble of typing
site or from your computers disk) when URLs searching for links, and they
it launches it. allow you to quickly go back to pages
that you have already visited.
NAVIGATING THE WEB - The back and forward buttons return
- means moving from one web page to you to recently viewed pages, similar to
another, or from one web site to flipping through a magazine. The back
another. A web page is a document button returns you to previously opened
formatted with Hypertext Markup web pages. After using the back button,
Language (HTML) tags. A web site is a you can click forward to move forward
collection of related web pages. again, returning to the last page you
opened before you click the back button
USING URL - Most browsers allow you to "bookmark"
web pages that you visit frequently.
Every Web page has a unique address, called
Instead of typing the pages URL, you
a uniform resource locator, or URL. When you
simply select the pages title from list of
provide a URL for the browser, the browser
bookmarks. Depending on the browser
loads that URL. You can specify a URL in
you use, your bookmarks may store in
several ways. For example, you can type the
a list called Bookmarks from that list,
URL in the browser address box, or you can
and the browser returns to that page.
click a hyperlink that is linked to the URL in
- When you type URL into the address
your browsers favorites or bookmarks lists..
bar, your browser saves them, creating
USING HYPERLINKS history list for the current session. You
can choose a URL from this list and
- A hyperlink is simply a part of the web return to a previously opened page
page that is link to the URL. When the without having to use the back button or
text has a hyperlink assigned to it, you any other tools
can click it and jumped from present
location to another location to the URL SEARCHING THE WEB
specified by the hyperlink. Hyperlink
It is not easy to find what you want on the Web,
textbox looks different from normal text
that is because there are tens of millions of
in a Web page: It is usually underlined,
unique Web sites, which include hundreds of
but it can be formatted in any number of
millions of unique pages. The two most basic
ways.
and commonly used Web-based search tools
- Many web pages provide hyperlinked
are the following:
pictures or graphical buttonscalled
navigator tools-that direct you to DIRECTORIES
different pages, making it easier to find
the information you need. - A directory enables you to search for
information by selecting categories of
subject matter. The directory separate
subjects into categories, which are
broken into increasingly specific sub
categories. Sites listed in the directory
generally will provide relevant YOU DON'T NEED TO BE CONNECTED TO
information, this is because of adding THE INTERNET
sites to its lists. A directory reviews the
site contents. Example: You can write and design your HTML pages
http://www.looksmart.com/ (that is, your web pages) off-line. If all you are
doing is designing and creating web pages,
SEARCH ENGINE you do not need to go to the Internet. If you
- A search engine lets you search for have a regular telephone, dial up connection,
information by typing one or more and there is only one telephone line in your
words. The engine then displays a list house, there is no need to tie up the line.
of web pages that contain information
related to your words. This type of look-
up is called keyword search. Any YOU NEED A BROWSER
search engine lets you conduct a Internet Explorer and Firefox are among
search based on a single word. today's most popular browsers for viewing web
Fortunately, most of the search engines pages and for surfing the Internet. Netscape
provides other tool to help you search Navigator (also called Netscape
more accurately and find web pages Communicator), is still being used by many
that are more relevant to your interest. Surfers. In addition, today, web pages are
These include Boolean operator and being viewed in browsers through cell / mobile
advance search tools phones, cars, televisions, plus a host of hand-
META SEARCH ENGINE held wireless devices. and communicators

- A Meta search engine is helpful if you YOU NEED A WORD PROCESSOR


are not certain which keywords to use if You need a simple word processor such as
you want to get a very long list of Note Pad or Word Pad. These simple word
website that meets your criteria processors are also called text editors and
GETTING STARTED IN HTML PROGRAM are ideal for creating web pages. Now you can
also use word processors such as Word
Perfect or Microsoft word or works but they are
not simple text editors. They include a lot of
WHAT DO YOU NEED TO BEGIN
formatting which we do not want. For these
DESIGNING A HOME PAGE? and other reasons, many webmasters like
using Note Pad which can be found in the
Accessories folder (also known as the
YOU NEED A FOLDER (ALSO CALLED A Accessories "Group"). In windows, for
DIRECTORY) example, Notepad is found by clicking on
"Start" then choosing "Programs" (or All"
You should set up a folder or directory to hold
Programs), then choosing "Accessories" and
only your HTML files (also called documents)
finally choosing Notepad. That is:
for the web pages you are designing. Work in
that folder only Start → Programs → Accessories → Note Pad

Sometimes the coding for a web page can


become so big that it will no longer fit into Note
Pad. In this case, you will need to switch to
another text editor to complete the page.
When you are faced with this situation, Word
Pad is the answer. It allows for much larger • Go back to the Accessories folder and
files and is also located in the Accessories you will now see Notepad (2) in the list,
folder. You may wish to try wordpad likely at the bottom of the list. This time
sometimes. It has a few more features than move the cursor over the name
NotePad and so you may prefer to use Notepad (2). Now click and hold down
Wordpad instead of Note Pad. the left mouse button (do not release
the button). Now drag the name
Notepad (2) into the desktop. That is,
YOU NEED TO HAVE BOTH YOUR drag the shortcut Notepad (2) from the
BROWSER AND NOTEPAD ACTIVELY Accessories list into the desktop
• You now have an icon on your desktop
RUNNING
with Notepad (2) written below it. If you
To design a web page, you need to have double click on this icon, Note Pad
BOTH your browser AND NotePad active at immediately opens up
the same time. In other words, while you are • You can now rename the icon to simply
working with one, the other is sitting there in Note Pad or Notepad by right-clicking
the background. This way you can quickly on the icon and from the pop-up menu,
SWITCH back and forth between them. If you choose Rename. You can then type the
do not know how to have both your browser name you want
and Note Pad running at the same time, be
The above procedure can be used to on
sure to ask someone who knows
the desktop for any application
PLACING THE NOTEPAD ICON ON YOUR
DESKTOP

You can have the Note Pad icon placed


directly on your desktop. This way you can
click on the icon and instantly load Notepad
without having to locate it through the start
menu. If you do not know how to do this, here
are the steps

• First, make sure that you can see the


desktop or at least part of it. When you
turn on the computer, the desktop is the
first thing you see after the computer
finishes booting. If you have another NAMING YOUR WEB PAGE
program covering up the desktop, then
minimize or close it so that you can see
the desktop WHAT TO DO?
• Choose Start → Programs →
When you save your web page for the first
Accessories. You will now see Note
time, you need to give it a name. You not only
Pad in the folder list
have to give it a name but you also need to
• Click with your right mouse button on
add a suffix (an extension) to the name
the name Note Pad, that is, right-click
on Note Pad. This will bring up another
menu list
• From this menu list, choose create
shortcut
THE NAME

- If you are not running at least Windows


95, your file name is limited to a
maximum of 8 characters.
- Otherwise the name can be longer.
- Since most people today are using at
least Windows 95, this is not an issue.
- It is strongly recommended that you do
not use spaces in the file name.
- Browsers will replace the space with a
coding such as %20 so that the name
3.Go to the bottom of your code and type
"my web page" will look like
"my%20web%20page" which is
confusing and does not look good.
- We do not want strange symbols in our
file names and so it is best to avoid
spaces in the name.

THE SUFFIX

- an extension to the name and declares


the kind of document that it is. In HTML,
the suffix is either ".htm" or ".html." IF YOU ARE USING ONLY NOTEPAD OR
"Htm" or "html" tells the browser you are SIMILAR TEXT EDITOR
working with HTML files-that is, an
HTML document. Chooses File from the menu bar, then from the
drop down menu, choose Save As.
- You must use ".htm" if you are not
running Windows 95 or higher. Again,
this is no longer an issue and so you
can use either .htm or .html for the file
extension.
- So if "homepage" is the name of the
HTML document (your web page), you
can have either name the file:
homepage.htm or homepage.html.
- Saving your web page (your HTML file
or document) In the Save As dialog window, make sure in
NotePad that the Save as type box reads "All
SAVING HTML DOCUMENT Files". In the case of WordPad, it should be
1.Open your code in Notepad Text Document.

2.Type at the top of your code. In the File name box, type in a suitable file
name along with an extension (either .htm or
.html).
In the Click on OK and the file (the web page)
is saved. In the case of WordPad, you may be
told that saving the file will remove all
formatting. That is okay because we do not
want any formatting saved with the file.

- You will then need to locate your web


page, click on the file name and then
click the OK button.
WHEN YOU OPEN THE NEW VERSION OF
- Navigate to your HTML file location,
YOUR CODE, IT WILL LOOK LIKE A highlight the document and click Open.
WEBSITE THAT APPLIES THE HTML - You will see your file open in a new tab.
YOU'VE WRITTEN TO THE PAGE.

You can also use a keyboard shortcut to open


a file in Chrome. Open a new tab in Chrome,
then press Ctrl (Windows) or Cmd (Mac) + O.
LOADING YOUR WEB PAGE INTO YOUR It will bring up the same Open File menu. Find
BROWSER your HTML file and open it. If the shortcut
didn't work, it might be that your browser has
- Once you have saved your web page a different set of hotkeys for this command.
(your HTML file or document), you need You can always check it in your browser
to SWITCH over to your browser which settings. There are a lot of different features
is running in the background. that you can use with the help keyboard
shortcuts in Google Chrome.
- Once you activate your browser,
choose File from the menu bar, and
then choose Open or Open File or
- Your HTML file will appear in the
Open File in Browser (one of them
browser. You can only observe your file
should be in the File menu).
in the browser-you cannot edit in the
browser.
- Once you have seen how your web
page looks in the browser, you can then
SWITCH back to NotePad to continue
working and editing.
NOTE: also called text editors and are ideal
for creating web pages
(1) If you want to LOAD an HTML file for the
first time into NotePad, and the name does not • WordPerfect or Microsoft Word
show up in the correct folder in the dialog or Works
window, choose All Files (**) in the Files of but they are not simple text editors.
type box and the name should then appear. In They include a lot of formatting which we do
the case of WordPad, it must be All
not want
Documents (*.*). Click on the name and then
on the Open button. Notepad which can be found in the
Accessories folder (also known as
(2) If you use a word processor other than Accessories “Group”).
NotePad or WordPad, you may first need to
CLOSE the HTML file before it can be loaded 1. “Start”
into your browser. With NotePad and 2. “Programs” (or All Programs)
WordPad this is not necessary. 3. “Accessories”
4. choosing Notepad.
GETTING STARTED IN HTML PROGRAM
Sometimes the coding for a web page can
become so big that it will no longer fit into
Notepad.
WHAT DO YOU NEED TO BEGIN
DESIGNING A HOME PAGE? WORDPAD

➢ allows for much larger files and is also


located in the Accessories folder
YOU NEED A FOLDER (ALSO CALLED A
➢ has a few more features than Notepad
DIRECTORY) and so you may prefer to use WordPad
You should set up a folder or directory instead of Notepad
to hold only your HTML, files (also called
document) for the web pages you are
designing. Work in that folder only. YOU NEED TO HAVE BOTH YOUR
BROWSER AND NOTEPAD ACTIVELY
RUNNING
YOU DON’T NEED TO BE CONNECTED TO
while you are working with one, the
THE INTERNET
other is sitting there in the background. This
You can write and design your HTML, way you can quickly SWITCH back and forth
pages off-line. If all you are doing is designing between them.
and creating web pages, you do not need to
PLACING THE NOTEPAD ICON ON YOUR
go to the Internet.
DESKTOP
YOU NEED A BROWSER
✓ choose Start Program Accessories
• Internet Explorer
✓ right-click on Notepad
• Firefox
• Netscape Navigator ✓ menu list

YOU NEED A WORD PROCESSOR ✓ create Shortcut

• Notepad ✓ accessories folder


• WordPad
✓ notepad (2) IF USING NOTEPAD OR SIMILAR TEXT
✓ click and hold down the left mouse EDITOR
button (do not release the button) File 》Save As 》Save As Type: "All Files" 》
Type in the File Name along with suffix 》Save
✓ drag
You can now rename the icon to simply LOADING YOUR WEB PAGE INTO A
Notepad or Notepad by right-clicking on the
BROWSER
icon and from the pop-up menu, choose
Save web page 》Switch to browser 》
Rename. You can then type in the name you
Choose file 》Choose open file in browser 》
want.
locate your web page 》click on the file name
HYPERTEXT MARKUP LANGUAGE 》 OK button 》Navigate to your HTML file
- describe a web page's appearance or location 》highlight the document 》 click
presentation Open 》see your file open in a new tab

NAMING YOUR WEB PAGE


KEYBOARD SHORTCUT TO OPEN A FILE
IN CHROME
THE NAME
New tab in Chrome 》Ctrl (Windows) or Cmd
- not running at least Windows 95 = file
name is limited to a maximum of 8 (Mac) + O 》Same open file menu 》find your
characters file 》open it
- not an issue anymore, since majority
are running at least Windows 95 INTRODUCING BASIC HTML TAGS
- do not use spaces in file names
- spaces will be %20
"my web page" 》
HTML
"my%20web%20page"
- special kind of text document that is
THE SUFFIX used by Web browsers to present text
- an extension to the name and graphics The text includes markup
- declares the kind of document that it tags such as to indicate the start of a
is paragraph, and to indicate the end of
HTML SUFFIXES paragraph
- ".htm"
- ".html." HTML DOCUMENTS
- "Htm"
- often referred to as " WEB PAGES"
- "html"
not running Windows 95 or higher = ".htm" Many people still write HTML by hand
using tools such as NOTEPAD on windows or
SAVING HTML DOCUMENT TextEdit on the Mac.
1. Open your code in notepad
2. Type your code at the top START WITH A TITLE
3. Go to the bottom part and end the code
- Every HTML needs a title
- HTML CODE: <title> My first HTML
document </title>
- Change the text from "My first HTML
document" to suit your own needs. The
title text is preceded by the start tag
<title> and end tag </title>. The title
should be placed at the beginning of
your document.

Type the above into a text editor and


save the file as "test.html", then view the file in
a Web browser. If the file extension is ".html"
then the browser will recognized it as HTML

ADD HEADINGS AND PARAGRAPH

- six levels of headings


H1

- most important
H2 PARAGRAPH TAG

- slightly less important - start with a <p> tag. The <p>


is optional unlike the end tags for elements like
H6 headings. The <p>
- least important
tag defines a paragraph.Using this tag places
a blank line above and below the text of the
By placing text inside of (heading)tags, paragraph. These automated blank lines are
the text displays bold and the size of the text examples of how a tag " marks " a paragraph
depends on the number of heading (1-6). and the Web browser automatically
Headings are numbered 1-6 with 1 being the understands how to display the paragraph text
because of the paragraph tag.
largest heading and 6 being the smallest.

HOW TO ADD AN IMPORTANT HEADING

PARAGRAPH JUSTIFICATION
- Paragraphs can be formatted in HTML
In order to see the difference in six much the same as you would expect to
available leading, below is an example of find in a word processing program.
HTML code showing the six headings.
JUSTIFY

PARAGRAPH CENTERING

PARAGRAPH ALIGN RIGHT


- can apply the CSS rule text-
align: right to all H2s to right HTML HORIZONTAL RULE
justify them - Use the <hr/> tag to display lines across
the screen
- Note: the horizontal tag has no ending
tag like the break tag

LINE BREAKS
- different than most of the tags we have
seen so far
- ends the line you are currently on and
resumes on the next line
- Placing <br/> within the code is the
same as pressing the return key in word
processor Use the <br/> tag within the
<p> (paragraph) tag
FORMATTING ELEMENTS W/ TAGS HTML COLOR CODING-SYSTEM - COLOR
NAMES
As you begin to place more and more
elements onto your web site, it will become - 3 different methods to set color
necessary to make minor changes to the - simplest being the Generic terms of
formatting of those elements. Several tags colors
exist to further amplify text elements. These - black, white, red, green, and blue
formatting tags can make text bold, italic, - Generic colors are preset HTML coded
sub/superscripted, and more colors where the value is simply the
name of each color
BOLD, ITALIC AND MORE
THE 16 BASIC COLORS

Black Gray Silver White

Yellow Lime Aqua Fuchsia

Red Green Blue Purple

Maroon Olive Navy Teal

HTML COLORING SYSTEM -


HEXADECIMAL

- complex and difficult to understand at


first. Rest assured that the system
becomes much, MUCH easier with
practice and as a blossoming web
developer, it is critical to understand
hexadecimals to be capable of using
them in your own web publications.
They are far more reliable and widely
compatible among web browsers and
are the standard for colors on the
HTML - FORMATTING TAG USAGE
internet
- should be used sparingly - 6-digit representation of a color
- should only use them to bold or italicize - first two digits (RR) represent a red
one or two words in your elements at a value
time - the next two are a green value (GG)
- If you wish to bold an entire paragraph - the last are the blue value (BB)
a better solution would involve
Cascading Style Sheets, and you
My First Hexadecimal: bgcolor="#RRGGBB“
should consult how to do that in our
CSS Tutorial. Ultimately the decision is
yours, the web developer. Being a
voice of experience, keep the use of
these tags quick and sparse
HTML COLOR CODE - BREAKING THE to customize your fonts. Use a
CODE <basefont> tag to set all of your text to
the same size, face, and color.

HEXADECIMAL COLOR VALUES FONT SIZE

Decimal 0 1 2 3 4 5 6 - Set the size of your font with size. The


range of accepted values is from
Hexadecimal 0 1 2 3 4 5 6 1(smallest) to 7(largest). The default
size of a font is 3.

7 8 9 10 11 12 13 14 15

7 8 9 A B C D E F

A Real Hexadecimal: bgcolor="#FFFFFF

LETTER "F"

- maximum amount we can send each


color and as you may deduce, this color
(#FFFFFF) represents the color white.
A formula exists to calculate the
numeric equivalent of a hexadecimal.

HEXADECIMALS

- best choice for compatible web


development because of their
consistency between browsers. Even
the most minor of change in color can FONT COLOR
throw your entire site out of whack, so - Set the color of your font with color
be sure to check your site in a number
of browsers. If you want to be
absolutely sure your colors will not
change, use paired hex values for
color. Examples: "#0011EE",
"#44HHFF," or "#117788." These are
called True Colors, since they will stay
true in hue from browser to browser.

FONT AND BASEFONT

- The <font> tag is used to add style,


size, and color to the text on your site.
Use the size, color, and face attributes
FONT FACE ATTRIBUTE REVIEW

- Choose a different font face using any


font you have installed. Be aware that if
ATTRIBUTES
the user viewing the page doesn't have
the font installed, they will not be able
Attribute= “Value” Description
to see it. Instead, they will default to
Times New Roman. An option is to
choose a few that are similar in size= “Num. Value 1- Size of your
appearance 7” text, 7 is
biggest

color= “Rgb, name, or Change font


hexidecimal” color

face= “name of font” Change the


font type
HTML TAGS CHART

TAG NAME SAMPLE CODE BROWSER VIEW

<!— comment <!— This can be viewed in Nothing will show


the HTML part of a
document—>

<a- anchor <a href=


“hhtp://www.domain.co
m/”>Visit Our Site </a>

<b> bold <b>Example</b> Example

<big> Big (text) <big>Example</big> Example

<body> Body of the HTML document <body>The content of Contents of your web
your HTML page</body> page

<br> Line break The contents of your page The contents of your web
<br> The contents of your page
page
The contents of your web
page

<center> center <center> This will center This will center your
your contents </center> contents

<dd> Definition description <dl> Definition Term


<dt> Definition Term</dt> Definition of the term
<dd>Definition of the Definition Term
term</dd>
Definition of the term
<dt> Definition Term</dt>
<dd>Definition of the
term</dd>
</dl>

<dl> Definition list <dl> Definition Term


<dt> Definition of Definition of the term
Terms</dt>
Definition Term
<dd>Definition of the
Definition of the term
term</dd>
<dt>Definition Term</dt>
<dd>Definition of the
term</dd>
</dl>

<dt> Definition term <dl> Definition Term


<dt>Definition Term</dt> Definition of the term
<dd>Definition of the Definition Term
Term</dd>
Definition of the term
<dt>Definition Term</dt>
<dd>Definition of the
term</dd>
</dl>
TAG NAME SAMPLE CODE BROWSER VIEW

<em> emphasis This is an This is an Example of


<em>Example</em> of using the emphasis tag
using the emphasis tag

<embed> Embed object <embed


src="yourtile.mid"
width="100%"
height="60"
align="center">

<font> Embed object <embed <bgsound


src="yourfile.mid" src="wonderfu.mid
autostart="true" autostart="false"
hidden="false" loop="1"/> Music will
loop="false"> begin playing when your
page is loaded and will
<noembed><bgsound
only play one time. A
src="yourfile mid
control panel will be
loop="1"> </noembed>
displayed to enable your
visitors to stop the
music.

<font> font <font face="Times New Example


Roman">
Example</font>

<font> font <font face="Times New Example


Roman
size="4">Example</font>

<font> font <font face-Times New Example


Roman" size="+3"
color="#0000">
Example</font>

<form> form <form Name:


action="mailto:you
@yourdomain.com">
Name: <input Email:
name="Name" value="
size="10"><br> Email:
<input name="Email"
value="" size="10"><br>
<center><input
type="submit"></center
>
</form>

<h1> Heading 1 <h1>Heading 1 Heading 1


Example</h1>
<h2> Heading 2 Heading 2
<h2>Heading 2
<h3> Heading 3 Heading 3
Example</h2>
<h4> Heading 4 Heading 4
<h3>Heading 3
<h5> Heading 5 Example</h3> Heading 5
<h6> Heading 6 <h4>Heading 4 Heading 6
Example</h4>
<h5>Heading 5
Example</h5>
<h6>Heading 6
Example</h6>
TAG NAME SAMPLE CODE BROWSER VIEW

<head> heading of HTML <head>Contains Nothing will show


document elements describing the
document</head>

<hr> horizontal rule <hr/> Contents of your web


page

Contents of your web


page
<hr> horizontal rule <hr width="50%" Contents of your web
size="3" noshade/> page

Contents of your web


page
<hr> (Internet horizontal rule <hr width="75%" Contents of your web
Explorer) color="#0000 size="4" page
/>
Contents of your web
page
<hr> (Internet horizontal rule <hr width="25%" Contents of your web
Explorer) color="#6699ff" page
size="6" />
Contents of your web
page
<html> hypertext markup <html> Contents of your web
language <head> page
<meta>
<title>Title of your web
page</title>
</head>
<body>HTML web
page contents </body>
</html>

<i> italic <i>Example</i> Example


<img> image <img src="Earth.gif"
width="41" height="41"
border="0" alt="text
describing the image"
/>
<input> input field Example 1: Example 1:
<form method=post Top of Form
action="/cgi-
bin/example.cg/">
<input type="text"
size="10" Bottom of Form
maxlength="30%
<input type="Submit"
value="Submit">
</form>
TAG NAME SAMPLE CODE BROWSER VIEW
<input> input field Example 2: Example 2:
(Internet Explorer) <form method=post Top of Form
action="/cgi-bin/example.cg">
<input type="text" style="color:
#fff; font-family: Verdana; font-
weight: bold; font-size: 12px;
background-color: #72a4d2;" Bottom of Form
size="10" maxlength="30">
<input type="Submit"
value="Submit">
</form>

<input> input field Example 3: Top of Form


<form method=post Example 3:
action="/cgi-bin/example.cg">
<table border="0"
cellspacing="0"
cellpadding="2"><tr><td
bgcolor="#8463ff"><input
type="text" size="10"
maxlength="30"></td><td Bottom of Form
bgcolor="#8463ff
valign="middle"> <input
type="image" name="submit"
src="yourimage.gif"></td></tr>
</table>
</form>
<input> input field Example 4: Top of Form
<form method-post Example 4:
action="/cgi-
bin/example.cgi"> Enter Your
Comments:<br> textarea
wrap"virtual"
name="Comments" rows=3
cols=20 maxlength- Bottom of the Form
100></textarea><br> <input
type="Submit"
value="Submit"> <input
type="Reset" value="Clear">
</form>
TAG NAME SAMPLE CODE BROWSER VIEW
<input> input field Example 5: Top of Form Example
<form method=post 5
action="/cgi-bin/example.cg"> Select an option:
<center> Select an option: Option 2:
<select> caption >option
1</option> <option Option 2
selected>option 2</option>
<option>option 3</option>
Bottom of the Form
<option>aption 4</option>
<option>option 5</option>
<option>option 6</option>
</select><br> <input
type="Submit"
value="Submit"></center>
</form>
<input> input field Example 6: Top of Form
Example 6
<form method=post Select an option:
Option 1
action="/cgi-bin/example.cg'> Option 2
name="option"> Option 1 Option 3
name="option"> Select an
option:<br> <input Select an Option:
type="radio" Top of Form Selection 1
Example 6 Select an option: Selection 2
<input type="radio" Selection 3
name="aption" checked>
Option 2 <input type="radio"
name="option"> Option 3
<br> <br> Select an Bottom of the Form
option:<br>

<input type="checkbox"
name="selection"> Selection
1 <input type="checkbox"
name="selection checked>
Selection 2 <input
type="checkbox"
name="selection"> Selection
3 <input type="Submit" value
Submit's
</form>
TAG NAME SAMPLE CODE BROWSER
VIEW
<li> Example 1: Example 1: Example 2:
<menu> i. List Item 1
list item <li type="disc">List item 1</li> ii. List Item 2
<li type="circle">List item 2</li> iii. List Item 3
< type="square">List item 3</li> iv. List Item 4
</MENU>

Example 2:
<ol type="i">
<li>List item 1</li>
<li>List item 2< /li>
<li>List item 3</li>
<li>List item 4</li>
</ol>
<link> link <head>
<link rel="stylesheet" type="text/css"
href="style.css"/>
<head>
<marques> scrolling text <marquee bgcolor="#eccoco toop="-1"
(Internet scroliamount="2"
Explorer) width="100%">Example
Marquees/marquee>

<menu> menu <menu> • List item


1
<li type="disc">List item 1 </ li> o List
<li type="circle">List item 2</li> item 2
<li type="square">List item3/> • List item
3
</menu>
<meta> meta <meta name="Description" Nothing will
content="Description of your site"> show
<meta name="keywords"
content="keywords describing our
site">
<meta> meta <meta HTTP-EQUIV="Refresh" Nothing will
CONTENT- show
4;URL=http://www. yourdomain.com/">
<meta> meta <meta http-equiv="Pragma Nothing will
content="no-cache"> show
<meta> meta <meta name="rating" Nothing will
content="General"> show
TAG NAME SAMPLE CODE BROWSER VIEW
<meta> meta <meta name="robots" content="all"> Nothing will show

<meta> meta <meta name = "robots Nothing will show


content="noindex ,follow">
<ol> ordered list Numbered Numbered
<ol> 1. List item 1
<li>List item 1</li> 2. List item 2
<li>List item 2</li> 3. List item 3
<li>List item 3</li> 4. List item 4
<li>List item 4</li>
</ol>

Numbered Special Start Number Special


<ol start = "5"> Start
<li>List item 1</li> 5. List item 1
<li>List item 2</li> 6. List item 2
<li>List item 3</li> 7. List item 3
<li>List item 4</li> 8. List item 4
</ol>

Lowercase Letters Lowercase Letters


<ol type = "a"> a. List item 1
<li>List item 1</li> b. List item 2
<li>List item 2</li> c. List item 3
<li>List item 3</li> d. List item 4
<li>List item 4</li>
</ol>

Capital Letters Capital Letters


<ol type = "A"> A. List item 1
<li>List item 1</li> B. List item 2
<li>List item 2</li> C. List item 3
<li>List item 3</li> D. List item 4
<li>List item 4</li>
</ol>

Capital Letters Special Start Capital Letters


ol type = "A" start = "3"> Special Start
<li>List item 1</li> C. List item 1
<li>List item 2</li> D. List item 2
<li>List item 3</li> E. List item 3
<li>List item 4</li> F. List item 4
</ol>

Lowercase Roman Numerals Lowercase Roman


<ol type="i"> Numerals
<li> List item 1</li> i. List item 1
<li> List item 2</li> ii. List item 2
<li> List item 3</li> iii. List item 3
<li> List item 4</li> iv. List item 4
</ol>

Capital Roman Numerals Capital Roman


<ol type="i"> Numerals
<li> list item 1 </li> I. List item 1
<li> list item 2 </li> II. List item 2
<li> list item 3 </li> III. List item 3
<li> list item 4 </li> IV. List item 4
</ol>

Capital Roman Numerals Special Capital Roman


Start Numerals Special
<ol type="I" start="7"> Start
<li> list item 1 </li> VII. List item 1
<li> list item 2 </li> VIII. List item 2
<li> list item 3 </li> IX. List item 3
<li> list item 4 </li> X. List item 4
</ol>
<small> small (text) <small>Example</small> Example
<strike> deleted text <strike>Example</strike> Example
<strong> strong emphasis <strong>Example</strong> Example
<table> table Example 1: Example 1:

<table border="4" cellpadding="2"


cellspacing="2" width="100%"> Column Column
<tr> 1 2
<td>Column 1</td> <td>Column
2</td>
</tr>
</table>
TAG NAME SAMPLE CODE BROWSER VIEW
<table> table Example 2: (Internet Explorer) Example 2:
<table border="2"
bordercolor="#336699 cellpadding="2" Column Column
cellspacing="2" width="100%"> 1 2
<tr>
<td>Column 1</td> Example 3
<td>Column 2</td>
</tr> Table Table
</table> 1 2
row 2 row 2
Example 3:
<table cellpadding="2" cellspacing="2"
width="100%"> <tr>
<td bgcolor="#cccccc>Column 1</td>
<td bgcolor="#cccooo">Column
2</td>
</tr>
<tr>
<td>Row 2</td>
<td>Row 2</td>
<tr>
</table>
<td> table <table border="2 cellpadding="2" Column Column
data cellspacing="2" width="100%"> 1 2
<tr>
<td>Column 1</td>< td>Column
2</td></tr>
</table>
<th> table <div align="center"> Column Column Column
header <table> 1 2 3
<tr>
<th>Column 1</th> Row 2 Row 2 Row 2
<th>Column 2</th> Row 3 Row 3 Row 3
<th>Column 3</th> Row 4 Row 4 Row 4
<th>Column 4</th>
</tr>
<tr>
<td>Row 2</td>
<td>Row 2</td>
<td>Row 2</td>
</tr>
<tr>
<td>Row 3</td>
<td>Row 3</td>
<td>Row 3</td>
</tr>
<tr>
<td>Row 4</td>
<td>Row 4</td>
<td>Row 4</td>
</tr>
</table>
</div>
TAG NAME SAMPLE CODE BROWSER VIEW
<title> document <title>Title of your HTML page</title> Title of your web
title page will be
viewable in the title
bar.
<tr> table row <table border="2" cellpadding="2" Column Column
cellspacing="2" width="100%"> <tr> <td>Column 1 2
1</td> <td>Column 2</td> </tr> </table>
<tt> teletype <tt>Example</tt> Example
<u> underline <u>Example</u> Example
<ul> unordered Example 1:<br> Example 1:
list <br> <ul> <li>List item 1</li> <li>List item • List item 1
2</li> </ul> <br> • List item 2
Example 2:<br> <ul type="disc"> <li>List item
1</li> <p>List item 2</li> <ul type="circle"> Example 2:
<li>List item 3</li> <li>List item 4</b> </ul> </ul> • List item 1
• List item 2
o List item 3
o List item 4

Spacing must be exactly like this for the comment element, with a space between the beginning
and ending tags.

Comment, are comments that you want behind the scenes within the HTML, not to show up on the
Web page, such as for instructions or details about the page.

In using Header, remember to use them in order, beginning with h1, and do not skip over any of
them (such as from hl to h3, skipping h2).

You can use CSS to style them how to wish, including colors, fonts, font sizes, margins, padding,
and more.

You might also like