V Sem
V Sem
V Sem
V Semester 1
UNIT -1
UNIT-2
E-Mail: Definition of e-mail – advantages & disadvantages of e-mail – how to work with e-mail accounts –
e-mail inner working : Store and forward method – message components – message composition – features
of e-mail. Protocols: TCP/IP - HTTP
UNIT -3
Introduction to HTML: Basic HTML – HTML document structure – HTML tags – Basefont tag – title tag –
body tag – Text formatting tags – Character tags
HTML Lists: Ordered List , Unordered List & Definition List – Using colors – Using Images
UNIT – 4
Horizontal Rule Tag - HTML Tables – Nested Tables - Hyperlinks: Textual, Graphical Links to sections –
Frames – Nested Frames – Forms – Form Controls: textbox, checkbox, radio button, select, text area -
Processing of forms
UNIT – 5
Advanced HTML: Cascading Style Sheets: Introduction – Using Styles: As an attribute, tag & external file
– Defining Your own styles – Properties and values : properties related to Fonts , Backgrounds & colors,
text , boxes & borders
UNIT -I
1. What is network? What are the advantages and disadvantages of net work?
WLAN
LAN MAN WAN
Wired network: Whenever interconnection of computers has been done with the help of
cables known as wired network. Based on distance wired network has been classified
into following types.
Advantages
Sharing devices such as printers saves money.
Site (software) licenses are likely to be cheaper than buying several standalone
licenses.
Files can easily be shared between users.
Network users can communicate by email and instant messenger.
Security is good - users cannot see other users' files unlike on stand-alone
machines.
Data is easy to backup as all the data is stored on the file server.
Disadvantages
Purchasing the network cabling and file servers can be expensive.
Managing a large network is complicated, requires training and a network
manager usually needs to be employed.
There are more chances of network failures.
Viruses can spread to other computers throughout a computer network.
There is a danger of hacking, particularly with wide area networks. Security procedures
are needed to prevent such abuse. e.g.: a firewall.
Definition:
Internet is a World Wide Network of computer networks. It connects millions of computers
across the network. The Internet is a virtual space in which users send and receive mails, access
remote computers, browse information on the web etc.
Advantages:
1. Communication:
The major target of Internet is always will be the communication. We can communicate in a
fraction of second with a person who is located at any part of the world.
2. Information:
Information is the biggest advantage of Internet. Internet is a huge collection of information that
is presented in various formats spread over several computers.
3. Entertainment:
Entertainment is another popular reason why many people browse the Internet. Internet has
become successful for attracting entertainment sector.
4. Services:
Many services are now provided on the Internet such as online banking, job seeking, reserving
tickets etc.
5. E-Commerce:
E-Commerce is the concept used for any type of commercial or business deals that involves
transfer of information across the globe via Internet.
6. Easy searching:
Number of search engines like yahoo, google etc. available on the internet and you can search
any item, events, methods etc.
7. 24 hours a day – 7 days a week – 365 day per year:
Internet given 24x7x365 work scheme i.e. Even if no staff were to be in your office , visitors will
come to your website. The website never closes.
8. Ocean of knowledge:
Internet is the Ocean of knowledge, that you can access any information about every field within
second, you can access the information regarding computer, business, medicine, Technologies
etc.
Disadvantages:
1. Theft of personal information: If you use the internet you may be facing grave danger as
your personal information such as name, address, credit card number, etc. can be accessed by
other culprits to make your problems worse.
2. Spamming: spamming refers to sending unwanted e- mails in bulk , which provide no
purpose and needlessly obstruct the entire system.we should make an effort to try and stop
these activities so that using the internet can become that much safer.
3. Data Theft:
While transforming data over the Internet, there is a chance of data theft, that is some
unauthorized users may use our private information such as credit card numbers, passwords
etc.
4. Virus:
Viruses are computer programs that spoil the normal functionality of the computer systems.
Computers connected to the Internet are more prone to virus attacks.
5. Piracy:
By using the internet some persons download the freely available data, movies, songs
etc. material that actually violate the copy right act and promote the piracy.
3. Explain the History of the Internet:
In the year 1969, Advanced Research Project (ARPA) of the U.S. Department of
defense along with a team of University research scholars, began connecting
computers at different universities and defense contractors.
The goal of this project was to create a very large computer network which has no
geographical boundaries.
This was the first network in the world.
This network include multiple paths i.e. multiple communication channels or
links. If one link fails, still data can be transmitted through any of the other
available alternative link/path.
This made this network stable enough to survive from disasters.
It became link a network for data communication that may never fails.
This network was named “ARPANET” initially. Later on , this network helped to
develop a new network concept called “Internet”. Internet also popularly called as
“NETWORK OF NETWORKS”.
Started with a dozen of Networked computer systems of universities and
institutions, allowing computers to be shared.
Allowing fast communication between researchers through Emails.
Only people in the government, military and academic had access to the network.
In 1991, the National Science Foundation (NFS) gradually started backing off from
its subsidy of the backbone network, and then allowed commercial access to the
internet.
With commercial access to the Internet, businesses and all kinds of agencies
began to use the Internet to communicate, exchange data and distribute
information;
A host of businesses called Internet Service Providers (ISPs) sprang up. ISPs
provide dialup access to the Internet; an individual or a business opens an
account with the ISP, dials into the ISP's computer and via the ISP's computer
connects to the Internet.
o Some examples for ISP are:
o VSNL – Videsh Sanchar Nigam Limited
o TATA BRAOADBAND
o RELIANCE BROADBAND
o AOL – AMERICA ONLINE etc.
Internet traffic grew,
o Many businesses spent heavily to improve the internet, therefore to better
service their customers.
o Big competition among communication carriers, hardware and software
suppliers.
o As a result, Internet‟s bandwidth climbed high, & cost went down!
4. Explain the Tools of Internet (or) Define World Wide Web (WWW)
Definition: -
The definition of internet was formed by the federal network council (F.N.C), “The
internet is a global system of networked computers together with their users and data”.
Global means the people from all over the world can connect to it. We can access the
information quickly and easily.
1. E-Mail
2. News Groups
3. Mailing Lists
4. FTP, Telnet
5. IRC, ICQ
6. WAIS
7. Gopher
8. WWW(World Wide Web)
E-mail: e-mail is one of the most popular services of the internet. It permits internet
users to send and receives messages and files to another user via modems. E-mail uses
a number of internet protocols, including SMTP (Simple Mail Transfer Protocol), MIME
(Multi-purpose Internet Mail Extension) and POP (Post Office Protocol).
News Groups: News Groups are discussion forums where articles get posted as topics
and replies get posted to create a thread. A thread is the series of responses in a news
groups.
Mailing Lists: A mailing list a group of users with a shared interest whose email
addresses are collected together in an electronic list that can be used to send email to
each member on the list. The key to a mailing list is a program called a list server,
which receives and distributes posting, and automatically manages subscriptions. The
three famous list server software –LISTSERV, LISTPROC,MAJORDOMO
Telnet: Telnet is a utility that allows users to login into remote system just as through
they were logging into local system.
FTP: FTP is an application protocol for exchanging files between the computers over the
internet. An FTP site contains books, articles, software, games, images, sounds,
multimedia courses etc..,
IRC: IRC (Internet Relay Chat) is the service in which participants around the world can
talk to each other in real time on hundreds of channels.
I.C.Q (I Seek You): ICQ is simple and smart way of getting in touch with people. This
small program takes up the complicated work of finding friends, colleagues and people
with similar interest across the globe for the users.
WAIS (Wide Area Information Service/Search) : It allows users to search for specific
data in which they are interested in „WAIS‟ searches the documents in a list of servers
for one (or) more keywords and reports back to the users.
Gopher: Gopher is a protocol that is used to search and retrieve information which is
stored on various websites on the internet in a hierarchical manner. It is a text menu
interface that enables to view the hierarchy of information using menus.
Everything that is sent across the internet is a „packet‟ of data. Your e-mail, your live
charts, your web searches and FTP sessions are all packets of data. The reason
computers of vastly different manufacture can exchange data is due to a set of
standards called „protocol‟. Protocol is like rules that govern the exchange of
information.
These protocols make it possible for one computer to translate its data into a form
readable to all computers and send the dat out on its way. The data arrives at its
destination and protocol steps in to translate the data from the general format of the
internet into the format acceptable to this computer.
The two primary protocols of the internet are – Transmission control protocol (TCP) and
Internet Protocol (IP).
TCP breaks your data up into small packets which are passed along from one network to
another until they reach their destination. At the destination the TCP protocol
reassembles the packets into the message. If packets are lost or damaged along the way
a request is sent back to the source for replacements.
Many internet services and tools operate on a scheme called „client / server „ A person
on one computer starts a program that contacts another computer. The client is the
program the person is running on the first computer and the server is running on the
remote computer. The person gives commands to his client software and the „Server’
sends back the reply to the command. Usually a server can deal with several clients.
The web client, called a browser, is the software that allows you to interact with
information available on the Internet. e.g Netscape Navigator, Microsoft Internet
Explorer, MOSAIC.
Web Server:
Stores and transmits web documents (files). It uses the HTTP protocol to connect
to other computers and distribute information.
Example: IIS, Apache, Sun Java System Web Server
Web Page:
A mixture of text, graphics, sound and animation in the HTML format, to make
information accessible in a easy to understand format using the Internet.
Web Site:
A collection of web pages connected (linked) by Hypertext clickable links.
Web Site Storage/Hosting:
After a web site is designed it must be stored on a computer that can be accessed
through the Internet and the World-Wide Web .
A web browser is an interface that helps a computer user gain access to all the content that is on the
Internet and the hard disk of the computer. It can view images, text documents, audio and video files,
games, etc. When the browser is used for browsing web pages, the pages may contain certain links
which can be opened in a new browser. Multiple tabs and windows of the same browser can also be
opened. There are four leading web browsers: Explorer, Firefox, Netscape and Safari but there are
many others browsers available.
Netscape
Netscape is one of the original Web browsers. This is what Microsoft designed Internet Explorer to
compete against. Netscape and IE comprise the major portion of the browser market. Netscape was
introduced in 1994.
Internet Explorer
Internet Explorer (IE) is a product from software giant Microsoft. This is the most commonly used
browser in the universe. This was introduced in 1995 along with Windows 95 launch and it has passed
Netscape popularity in 1998.
Safari
Safari is a web browser developed by Apple Inc. and included in Mac OS X. It was first released as a
public beta in January 2003. Safari has very good support for latest technologies like XHTML, CSS2
etc.
Firefox
Firefox is a new browser derived from Mozilla. It was released in 2004 and has grown to be the second
most popular browser on the Internet.
Opera
Opera is smaller and faster than most other browsers, yet it is full- featured. Fast, user-friendly, with
keyboard interface, multiple windows zoom functions, and more. This browser is available in Java and
non Java-enabled versions.
Google Chrome
This web browser was developed by Google. Its beta and commercial versions were released in
September 2008 for Microsoft Windows. It has soon become the fourth-most widely used web
browser. The browser options are very similar to that of Safari, the settings locations are similar to
Internet Explorer 7, and the window design is based on Windows Vista.
The World Wide Web or the web is a component of the internet that provides
access to large amounts of information stored on many different web servers.
The web also provides access to many of the services available on the internet.
The fundamental unit of the web is the Web page.
The web Page is a hyper Text document that contains links to other related Web
Pages, graphics and audio files etc.
Paper VI: WEB TECHNOLOGIES Prepared by Mahesh MCA
B.Com. V Semester 11
Web page also contains links to other Internet services such as File Transfer
Protocol (FTP) and E- mail.
The process of developing Web Pages will be performed by a WEB DESIGNER.
Web pages are created by using Hyper Text Markup Language (HTML) or JAVA or
Active Server pages (A.S.P) etc. languages.
Combination of web pages is called as WEB SITE.
All web pages are uploaded to WEB SERVERS by a process called DATA
PUBLISHING.
This also means WEB SERVERS are hosting all the web Pages.
WWW provides unique identification code to each website called URL
URL stands for Uniform resource Locator, which is simply means site address.
Web pages reside on servers called as WEB SERVERS which will have special
software that allow users to access web pages and other related services.
But to retrieve any web page user must know the URL of such web site.
Several millions of web servers are currently connected to the internet.
A user can directly access any web page on one of these servers and then follow
the other related links
The process creates a web of millions of links around the world and, thus, the
name, World Wide Web.
To view a Web page, the user must use a special client software package called
“Web Browser”.
.
UNIT -II
1. What is e-mail? Explain its advantages and disadvantages
Definition:
The ability to compose, send and receive messages called mails electronically over
the Internet is called „e-mail‟.
E-mail:
E-mail is one of the most popular services available through the Internet. In the early
days of the Internet, e-mail emerged as an inexpensive and efficient means of
communication between researchers, scientists, people in high-tech jobs and those in
academic. People can now receive and sent e-mail to:
Nearly any country in the world.
One of millions of computer users.
Many users at once.
Computer programs
Advantages of E-mail:
Convenience: There no need to go to post office, search for stationery and stamps.
E-mail makes publishing and discussing very easy. Sending a memo or short note
is easy. Message can be formal or informal.
Speed: E-mail is fast, based on the speed of the underlying communication
network.
Inexpensive: Once we are on-line, the cost of sending a message is small.
Printable: A hard copy is easy to obtain. We can keep an electronic copy of a
message for our own records.
Reliable: Although messages are occasionally lost, this is rare. Many mail
systems will notify the sender if an e-mail message was undeliverable.
Global: Ever increasingly, people and businesses all over the world are using e-
mail.
Generality: E-mail is not limited to text; it allows the transfer of graphics,
programs and even sounds.
Disadvantages of E-mail:
Misdirection: It is far more likely that you will accidentally send e-mail to an
unintended recipient than it is for someone actually to intercept your e-mail.
Interception: Never send an e-mail message that you would not want the whole
world to see. It is simple for someone to pass on your message, called e-mail
forwarding, to another party.
Forgery: E-mail does not prevent forgeries, that is, someone impersonating the
sender, since the sender is usually not authenticated in any way.
Overload: E-mail can also be too convenient and result in a flood of mail.
2. Explain how to work with e-mail accounts (User IDs, Passwords and e-mail Addresses)
Userids:
A computer system uses userids and passwords together to grant access to the system. The userid identifies
you to the computer. Userids are typically some form of your name ( Mahesh MCA). A userid must be
unique throughout the computer system. This allows the computer to differentiate between you and some
other person. Different systems refer to a userid with different names.
Login ID
Username
Userid
Since the userid identifies you to the computer, it also is used to identify you to other computer systems.
The userid is made up of the person's initials and the digits of some personal identification number.
User ID Rules:
User IDs must be 7-14 characters.
User IDs must contain at least one letter; numbers are allowed, but not required.
User IDs cannot contain spaces.
User IDs cannot contain your Social Security Number, Tax Identification Number, or Customer
Access Number.
No special characters are allowed, such as:(! , @, #, $, %, ^, & ).
Use of an underscore is allowed but not required
Do not use your Password as your User ID
Note: You cannot change your User ID once it is established.
Passwords:
Your password is a secret code that authenticates you to the computer. While using
passwords a computer system requires the following conditions to be met, as a security
measure. Hence, a good password is:
Password Rules
Passwords must be 7-16 characters depends on system setup.
Passwords must include at least one letter and one number Passwords cannot contain spaces
Semicolons cannot be part of a Password.
Passwords are case-sensitive.
Do not use your User ID as your Password.
If you forget your User ID or Password, you can retrieve them through the "User ID & Password Help" link
E-mail Addresses:
The basic form of an e-mail address is as follows
[email protected]
The text before the @ sign specifies the username of the individual, while the text after
the @ sign indicates how the computer system can locate that individual‟s mailbox.
Example: [email protected]
In the above mail address maheshmca is the user name gmail is the host name and ‘.com’ is the domain
name.
The number of periods (.) varies from e-mail address to e-mail address. Most address
have either one or two dots. For example:
This address has a top-level domain of com. The com stands for commercial. A given
field in an e-mail address, i.e., apart from dot can be 63 characters long. All fields
combined must be less than 256 characters.
Domain Names:
The big seven generic top-level domain names are com, edu, gov, int, mil, net and org.
Every country has its own top-level domain name. They are called as country codes. In
total, including all country codes, there are about 150 top-level domain names. The
following figure shows the organizations of the domain names:
The recipient's MTA then delivers the email to the incoming mail server (called the MDA, for Mail
Delivery Agent), which stores the email as it waits for the user to accept it. There are two main protocols
used for retrieving email on an MDA:
POP3 (Post Office Protocol) - Which is used for retrieving email and, in certain cases, leaving a copy of it
on the server.
IMAP (Internet Message Access Protocol) Which is used for coordinating the status of emails (read,
deleted, moved) across multiple email clients. With IMAP, a copy of every message is saved on the server,
so that this synchronization task can be completed.
MTAs act as the post office (the sorting area and mail carrier, which handle message transportation), while
MDAs act as mailboxes, which store messages (as much as their volume will allow) until the recipients
check the box. This means that it is not necessary for recipients to be connected in order for them to be sent
email.
To keep everyone from checking other users' emails, MDA is protected by a user name called a login and by
a password.
Retrieving mail is done using a software program called an MUA (Mail User Agent). When the MUA is a
program installed on the user's system, it is called an email client (such as Mozilla Thunderbird, Microsoft
Outlook, Eudora Mail, or Lotus Notes). When it is a web interface used for interacting with the incoming
mail server, it is called webmail.
When a mail reaches a mail box, most of the email clients (before reading the email) will
see a list of messages –
To : [email protected]
CC : [email protected]
bcc :
Nellore.
Header: In general header part of an E-mail message includes the following fields. They
are
The From field indicates who sent the message and when. In this case
V.S.University, whose address is [email protected], send the message on
Tuesday August 28, 2018 at 12:00 noon Indian Standard Time.
The Date field repeats the date and time according to GMT.
The To field specifies to whom the message was sent. In this case the recipient is
[email protected].
The subject field provides a hint as to what the message is about.
The CC field is used to send the “Carbon Copy” of the message to another user
The BCC (which stands for blind carbon copy) field was used; we would not see it
in the header part. It is used when the user do not want one or more recipients to
know that someone else was copied on the message.
The Greeting, Text, and Signature form the body of the message. Most of email clients
recognize the header and body divisions of email message.
Structure
When composing an email message within a mailer, it will “prompt” you for certain information.
If you select “compose” button or command, the following format is displayed.
To
Subject
CC BCC
Attachment
Subject – it is the main part of the email, in which we enter a short description of your
message.
Cc/Bcc– this field is to enter an email address to send the same message to multiple
recipients. In mailer‟s, it will allow you to enter a list of names, separated by commas,
on the cc/bcc box.
Attachment – this field is necessary when the user wants to sent a file along with the e-
mail. After this, a text editor will be appeared. In this editor we can put our message
and/or modify the message.
Netiquette
Informal rules of network etiquette or netiquette, when you are sending emails you
can able to express your message graphically or symbolically. These are different
expressions in Internet, for example emotions such as smiley face- , sorrow face- etc.
Composition
For sending e-mails to friends or people you know, simply type the message and
send it. For people you do not know, be slightly more formal and proofread your
message. For every message we can able to use spell checking to avoid mistakes.
After composing your message using the text editor and you are ready to send.
Again for important correspondence you would like to keep a record it is good idea to
use CC option.
The best way to earn how to use mailer effectively is to experiment with it. You should
also read the online documentations, as you will usually get some knowledge about
mailer features. In mailer feature a series of commands are available such as compose,
copy, delete, edit, file, forward, next, and reply.
To sender – sends a reply message to the sender or group who sent us email
To all – sends a reply message to a group of users who sends mails to us.
Forward – forwards email message to the specified email address
Include – when replaying to a message we must remember that a period of time
elapsed since received the message.
Forwarding –
User may have more than one email accounts; it is very difficult to read the mails
from different accounts. Instead of reading mail from two or more different accounts, it
is often more convenient to have all emails directed to only one account. This is possible
with the help of forward command.
The protocol used to transfer information on the World Wide Web. Web servers
and clients communicate with each other via the platform - independent HTTP.
Browsers Request: Once the TCP connection is established, the browser requests a
given document using its URL. An HTTP request types are get and posts data to a
server-side from handler that process the data. The most common HTTP request types
are get and post.
Get method:
The Get request typically retrieves information from a server. Common uses of get
requests are to retrieve an HTML document or to fetch search results based on a
user-submitted search term.
A get requests sends information to the server as part of the URL.
Post Method:
A post request typically sends (or posts) data to a server. Common uses of post
requests are to end information to a server, such as authentication information or
data from a form that gathers user input.
The post method sends from data as an HTTP message, not as part of the URL.
Server Response: The http (web server) process can automatically insert information
into the header of a response. Often this is the MIME (Multipurpose Internet Mail
Extension) type of the document which is based upon the file type. The server response
begins with a response code. Web servers can send many different codes to the browser.
The client and server can both close the connection. This uses the standard TCP
approach. If another document is required a new connection must be established.
UNIT -III
<BODY>
Actual Body of HTML Document
</BODY>
</HTML>
Header Section:
The header section of a HTML document contains control information used by the
browser and server. It includes information about the web page such as the Title, Script,
Style Sheets etc.
Body Section:
The body section of a HTML document contains the content that display on the
web page and tags that control how that content is formatted by the browser.
Example:
<HTML>
<HEAD>
<TITLE> This is My First Web Page </TITLE>
</HEAD>
<BODY>
Welcome to HTML Basics
</BODY>
</HTML>
Commenting in Web Pages:
A comment line in a HTML document is used to describe what the code does and
how it works. This plain text will not be considered by the web browsers while rendering
the web pages.
In HTML documents, comment tags start with „<!‟and end with „>‟ symbols. Each
comment can contain single line or multiple lines. If a comment contains multiple lines,
each line must start and end with „--„ symbols.
Example:
<! This is a comment --
-- which is continued in --
-- multiple lines of the code -- >
Comments can be placed in either the head section or body section of the
document. It is better to place the comment near to the feature that we want to describe.
Usually the developers place comments that give:
1. The name of the Application
2. Description of the purpose of the code in document
The Body tag is a paired tag. This is the main part of every HTML document. It is used
to specify the actual contents such as text, heading, colors, tables, hyperlinks and so
on which is to be published on the web page. The body tag has number of useful
attributes, they are
1. BG Color
2. Background
3. Top Margin
4. Bottom Margin
5. Left Margin
6. Right Margin
7. Text
8. Link
9. Alink
10. Vlink
BG color:-
BG color means background color. This attribute is used to set the back ground color for a
HTML document its value can be specified by directly giving its color name or by specifying its
hexadecimal format (#RRGGBB)
Some of the named colors with their hexadecimal codes are as follows:
BLACK #000000
WHITE #FFFFFF
RED #FF0000
GREEN #00FF00
BLUE #0000FF
YELLOW #FFFF00
SILVER #C0C0C0
GREY #F0F0F0
BACKGROUND:-
This attribute is used to set the graphical files having the extension “jpeg, jpg, gif “ as a
background to the webpage.
Text :-
This attribute is used to change the text color of the document name or a color specified in the
hexadecimal code i.e.., #RRGGBB
Hyperlink colors:- There are three attributes to specify the color of the hyperlink, they are ,
Link
Alink
Vlink
Link:- It sets the color for hyperlink within the document that have not been visited.
This is unvisited hyperlink.
Alink:- This attribute is used to set the colors for the active link with in the document
Vlink:- This attribute is used to set color for hyperlink within the document that has
been already visited. It is a visited hyperlink attribute.
Margin attributes:-
The margin attributes are used to set Top, Bottom, Left and Right margins to the
webpage. These are classified in to four types
1. Top Margin
2. Left Margin
3. Bottom Margin
4. Right Margin
The values to these attributes should be in terms of pixels. The structure of body tag
with its attribute is:
[text =”Colourname”(or)”hexadecimal”]
[link =”Colourname”(or)”hexadecimal”]
[Alink =”Colourname”(or)”hexadecimal”]
[Vlink =”Colourname”(or)”hexadecimal”]
[topmargin =”pixels”]
Text
</BODY>
Kavali<BR>
NELLORE</BR>
<BODY>
In the Body tag we can use anther tags such as font tag image tag, anchor tag e.t.c.,
among all these tags font tag is mainly used in the body tag to Specify the text color,
size and type of to be used in the document.
There are several tags that are used to format the content of an HTML document. These
tags format or process the content of the document in various methods.
Discuss about HTML blocks.
Blocks:
HTML documents are structured as blocks of text each of which can be formatted
independently. There are two major blocks of text in HTML documents:
1. Paragraph
2. Heading
Almost all text and images in a document will be the part of either a heading or a
paragraph.
Paragraph:
The paragraph is used to break the text content into paragraphs. Most of the text
in a document is part of paragraph of information. Every paragraph has to be explicitly
tagged within the source of the document. To specify a block of text as a paragraph,
enclose it within the paragraph tag <P> and </P>. Each paragraph can be aligned to left
or right or center of the web page.
Structure of a Paragraph:
<P> Paragraph Content </P>
Example:
<P> This text is a part of the paragraph </P>
<P Align="Center"> gminformatics.com is a leading website </P>
<P Align="Left" Style="Color: Blue; Background-Color: Yellow">
This is My website </P>
Heading Tag:
Heading tag is used to place heading in the documents. Heading tag has 6
different levels where each level specifies a different size from H1 to H6.
Structure of Heading Tag:
<H1> Heading Tag </H1>
Example:
<H1 Align="Center"> Level 1 </H1>
<H2 Align="Center"> Level 2 </H2>
<H3 Align="Center"> Level 3 </H3>
<H4 Align="Center"> Level 4 </H4>
<H5 Align="Center"> Level 5 </H5>
<H6 Align="Center"> Level 6 </H6>
Horizontal Ruler:
The tag „<HR>‟ is used to place a horizontal line across the web page. This
horizontal line can be aligned but default alignment is center alignment.
Structure of the tag:
<HR Align=”Value” Width=”Value” Size=”Value”>
Example:
<HR Align="Center" Width="75%" Size="4" NOSHADE>
1. Heading Tags
2. Bold Tag
3. Italic
4. Under Line
5. Sub Script
6. Super Script
7. Small
8. Big
9. Break Tag
10. Horizontal Ruler
11. Center
12. Blink
13. Marquee
14. Code
15. Pre
16. Strike tag
17. Tele Typing Tag
18. Paragraph
Heading tags:
The HTML provides six levels of heading tags to display the headings on the webpage
there are
All the headings level tags are paired tags and these tags are having one attribute
“Align”. The possible values for this attribute are “left” or “right” or ”center”.
Eg:-
<Body>
<H1>GMINFORMATICS.COM</H1>
<h2align=”center”> GMINFORMATICS.COM</H2>
<H3>GMINFORMATICS.COM</H3>
<H4>GMINFORMATICS.COM</H4>
<H5>GMINFORMATICS.COM</H5>
<H6>GMINFORMATICS.COM</H6>
</Body>
In the above Eg, all the heading level tags form (H1-H6) display the heading with
different font sizes on the webpage. H1 is the larger and H6 is the smaller.
Bold : This tag is used to make the selected text as bold style.
Italic : This tag is used to make the selected text as italic style.
UnderLine : This tag is used to make the selected text as under lined style.
Small : This tag is used to make the selected text as small style.
Big : This tag is used to make the selected text as Big style.
BR tag <BR>:-
BR tag means blank return tag. This tag is used to insert a line break . this is a singular
tag and it has no attribute
Eg:- <Body>
B.A<BR>
B.Com<BR>
B.Sc<BR>
</Body>
HR tag<HR>:-
This tag is used to draw a horizontal line on the webpage. It is a singular tag and it has
some attributes namely “align, width, size”.
[width =”value”]
[size =”value”]
[no shade]>
In the above syntax the line width and line thickness set the basic appearance of the
line. The height and width of line can be specified in terms of pixels and as a percentage
of the browsers window‟s width. By default horizontal line has shade.
Eg:- <Body>
<HTML>
<HR>
</Body>
Center tag: This tag is used to make some content aligned to center.
Marquee tag:- This tag is used for moving or scrolling a text on the webpage. The text can be
moved in any direction i.e.., from left-right, right-left, up
syntax:-
<marquee [direction=up/down/left/right”]
[scroll delay=”value”]
[behaviour=”alternate/scrolling/slide]>
Text
</marquee>
In the above syntax, the direction of the marquee text. the value to this attribute are left, right,
up, down.
<marquee>[direction=”right” scrolldelay=20behaviour=alternate>
Gminformatics.com
</marquee>
Blink tag:
Blink tag is used to add blinking effect to the specified text. It is a paired tag the syntax of the
blink tag is,
Syntax:
<blink>text</blink>
Eg:
Strike tag: Blink tag is used to strike the specified line of text.
Syntax: <Strike>text</Strike>
The paragraph tag is used to break the text into paragraphs. That means it is used to insert a
block of text on a web page the paragraph tag is a paired tag but ending tag of the paragraph tag
is optional. It is also having some set of attributes
Syntax:
<P[align=”value”]
Block of text
[</P>]
In the above syntax, the closing tag is optional the style attribute has property: value. Pair
specifies appearance of the text .Each property: value pair is terminated by a semicolon (;).
<Body>
<P>
</P>
</Body>
Code Tag: This tag is used to place programming code in web pages.
Syntax:
<code>
void main()
int a=10,b=20;
printf(“SUM =%d”,a,b);
Pre formatted tag: This tag is used to represent any preformatted text.
Ex:: <pre>
</pre>
Syntax: <tt>text</tt>
<tt>Mahesh MCA</tt>
Escape Sequences:
The character escape sequences are used when we need to display characters that uses
as control sequences. All the character escape sequences start with an ampersand symbol (&)
and terminate with a semicolon symbol (;).
Example:
&©
Explain different Lists available in HTML and how they are used
Lists are one of the most effective way of structuring a website or its content. Lists
provide a very decent look to a web page when they are arranged in a systematic way.
A list is a collection of elements that belong to a particular category in HTML.
There are basically 3 types of lists available:
Example:
<LI> Apple </LI>
<LI> Banana </LI>
<LI> Coconut </LI>
Bulleted Lists / Unordered List:
An Unordered List is a list of elements without any sequence. The basic unordered
list has a bullet in front of each element in the list.
Structure:
<UL Type=”disc/square/circle” > . . . . . . </UL>
Examples:
1) <UL Type="circle">
<LI> Apple </LI>
<LI> Banana </LI>
<LI> Coconut </LI>
</UL>
2) <UL Type="disc">
<LI> Apple </LI>
<LI> Banana </LI>
<LI> Coconut </LI>
</UL>
3) <UL Type="square">
<LI> Apple </LI>
Output:
A Numbered List is the list of elements with a certain order or sequence. Ordered
list contains a number in front of each element in the list. There are several number
schemes and they can be started from any value.
Structure:
<OL Type=”1/a/A/i/I” Start=”Value”> . . . . . </OL>
Examples:
1) <OL Type="1">
<LI> Apple </LI>
<LI> Banana </LI>
<LI> Coconut </LI>
</OL>
2) <OL Type="I">
<LI> Apple </LI>
<LI> Banana </LI>
<LI> Coconut </LI>
</OL>
3) <OL Type="A">
<LI> Apple </LI>
<LI> Banana </LI>
<LI> Coconut </LI>
</OL>
Output:
Definition List:
Definition Lists are different to both ordered list and unordered list. A definition list is a
list of elements in which every element is divided into two parts „Data Term‟ and „Data
Definition‟.
Data Term:
Data Term tag <DT> marks a data term whose definition will be provided as data
definition.
Data Definition:
Data Definition tag <DD> is used to provide explanation for previous data term tag
element.
Structure:
<DL>
<DT> Term </DT>
<DD> Definition </DD>
</DL>
Example:
<DL>
<DT> Internet </DT>
<DD> Internet is a huge network of Computers spread across the world
</DD>
Using colors in web pages makes them more attractive. Color is essential to the web
experience, it brings web pages alive. But these colors must be used carefully because
sometimes colors may frustrate the users to see them on the screen.
Example: Using Red Text on a Black Background
Colors can be used in number of places on a web page such as page background,
individual elements, links etc. Colors can be specified either by a color name or color
code.
Using Color Names:
There are some pre-defined color names such as Blue, Green, Red, Yellow, Gold,
Cyan, Black, White etc to color the web page.
Example:
<Html>
</Body>
</Html>
Color codes can be formed with the combination of 3 basic colors Red, Green, Blue.
These colors are called as RGB colors which can make any color by adding different
levels of intensities of each color. The intensity level of each color must be specified as
hexadecimal value in the range of 00 to 255 that is from 00 to FF. While specifying color
code each code must be preceded by „#‟ followed by a 6 digit code.
Example
#FF0000 - RED
#00FF00 - GREEN
#0000FF - BLUE
#000000 - BLACK
#FFFFFF - WHITE
Explain how Images are used to design a web page
Images are used to make a web page more attractive and give good web experience.
There are two constraints in placing images in a web page such as some browsers may
support limited number of formats and some users may set their browser not to
download images.
If the images are big in size, it takes more time to download that may frustrate the user.
There are many compression techniques to make images smaller in size such as:
To display an inline image that is an image that appears in the body of the web page, we
use <IMG> tag. This tag places an image on a web page with different attributes.
Syntax:
Example:
<Html>
<Body Background=".\Animals\Dog.jpg">
</Body>
</Html>
<Html>
<Body>
<Img Src="Elephant.JPG" Height="200" Width="200" Align="Left" Alt="African
Elephant">
</Body>
</Html>
Image Hyperlinks:
The image hyperlinks create clickable images in the web pages. When we click on the
image, it will open the web page that is associated with the image hyperlink.
Example:
<Html>
<Body>
<a href="Duck Details.html"> <Img Src="Duck.JPG"> </a>
</Body>
</Html>
Image Mapping:
An image map is a picture that has several areas where the user can click. Each
clickable area links to other web page.
Example:
<Img Src=”India.JPG” Usemap=”#AndhraPradesh”>
Syntax:
<Map Name=”#Map Name”>
</Map>
Area:
By using the tag <AREA>, we place the clickable areas on the image by specifying
the coordinates that give locations on the image in pixels.
The attribute „Shape‟ is used to specify the type of the shape such as „Rect‟, „Circle‟
and „Polygon‟.
Syntax:
<Area Shape=”Rect/Circle/Polygon/Default” Href=”URL” Alt=”Value”
Coords=”List of Coordinate values”>
Example:
UNIT -IV
Structure:
The attributes of <TABLE> tag are used to set the appearance of the table in
various dimensions.
1. Align : Aligns the table to left, right or center of the web page
5. CellPadding : Sets the white space between cell border and data item in pixels
6. CellSpacing : Sets the white space between two different cells in pixels
7. Width : Determines the size of the table in Horizontal dimension in the web page
7. Height : Determines the size of the table in Vertical dimension in the web page
Example:
This tag is used to create a row in the table. Each row of the table must be placed
between the tags <TR> and </TR>. A row of a table can be aligned horizontally or vertically.
Structure:
Example:
<TR> <TH> Course ID </TH> <TH> Course Name </TH> </TR>
This tag is used to form the heading of each column in the table. It gives the look for data inside
the cell as „<STRONG>‟.
Structure:
<TH Align=”Left / Center / Right” Valign=”Top / Center / Bottom” ColSpan=”N” RowSpan=”N”> . . . .< /TH>
Example:
This tag is used to place the data values under a column inside a cell. These tags form the
rows of a table. All the rows in a table must have same no.of cells.
Structure:
<TD Align=”Left / Center / Right” Valign=”Top / Center / Bottom” ColSpan=”N” RowSpan=”N”> . . . .< /TD>
Example:
<TR> <TD> C001 </TD> <TD> B.Sc (Comp. Sci.) </TD> </TR>
Example:
<HTML>
<BODY>
<Table Align="Center" Border="3" BorderColor="Blue">
<TR> <TH RowSpan="2"> Regd. No. </TH> <TH RowSpan="2"> Student Name
Caption Tag:
Example:
<HTML>
<Body>
<Table Border="1" Align="Center">
<Caption> Course List and Descrptions </Caption>
<Thead> <TR> <TD ColSpan="2"> Sree Chaitanya Degree College </TD> </TR>
</Thead>
<TR> <TH> Course ID </TH> <TH> Course Description </TH> </TR>
<TR> <TD Align="Center"> C001 </TD> <TD> B.Sc </TD> </TR>
<TR> <TD Align="Center"> C002 </TD> <TD> B.Com </TD> </TR>
<TR> <TD Align="Center"> C003 </TD> <TD> B.A </TD> </TR>
<TFoot> <TR> <TD ColSpan="2"> Kavali </TD> </TR> </TFoot>
</Table>
</Body>
</HTML>
Output:
Representing huge information in a single, lengthy web page is not an efficient way.
Because lengthy web pages take longer time to get download, which makes the user to
wait long time. If a web page takes long time to download then the user will go to some
other site for information.
To reduce the downloading time of a web page, the information must be distributed
among multiple web pages rather than in a single web page. These multiple web pages
should be linked to each other so that the user can navigate among web pages to gather
information quickly.
The links that are used to link web pages are called as “Hyperlinks”. Hyperlinks provide
the flexibility of navigation through various web pages rather than typing the URL of
each web page.
Hyperlink creation-anchor tag<A>:
The hyperlink is a link between two WebPages i.e.., linking one webpage in another webpage is
called as hyper linking. In HTML, the hyper linking is created by using anchor tag<A>.
Syntax:-
In the above syntax, attribute iss used for specifying address of the webpage to be linked. This
address is also called as uniform resource locator (URL). The anchor tag can be used for the
following four types of hyperlinks. They are :-
1. Textual Hyperlinks
2. Graphical Hyperlinks
3. Mail To: Hyperlinks
4. Intra Document Hyper Link
Textual hyperlink:
A textual hyperlink is a hyperlink that creates a “clickable text”. When we click the textual
hyperlink, the webpage i.e.., linked to the textual hyperlink is opened. To create a textual
hyperlink we can use the anchor tag(<A>) as follows.
Eg:-
<body>
</body>
In the above example, the anchor tag creates two textual hyperlink
“student” & ”courses”. When we click on “courses” then it will display the file,
D:\GM\courses.HTML. By default the textual hyperlinks are displayed in blue color with
underline. After visiting the hyperlinks the link will be displayed in violet color.
A graphical hyperlink is a hyper link that creates a “clickable image”. When we click on
the image, it will open the webpage i.e.., associated with it. To create graphical
hyperlinks, that anchor tag is used with an image a follows
Eg:-
<body>
<A Href=”d:\GM\degree\college.HTML”>
</A>
</Body>
In the above example, when we clickable image “college. Jpeg”. Then it will open its
associated web page “GM\degree\college.HTML.
In the above example, the anchor tag creats mail to: hyperlink i.e.., “contact me”. when we click
“contact me” it will open a mail window to send messages to the web page developer
[email protected]. Generally the mail to: hyperlink are created at the of the web page.
It is also possible to create the links from one place to another place with the same document
this type of hyperlink are called as intra document hyper links
To create intro document links first we create or define labels to the different pages of the
document by using name attribute of the anchor tag after specifying the tables, we can link one
page to the other page with in the same document. By using these labels names as addresses in
the Href attribute of the anchor tag we can create intra document links.
EG:
<body>
<a name=”marks”>
-------------------------------
-------------------------------
-------------------------------
-------------------------------
<a name=”courses”>
<H3> courses</H3>
-------------------------------
-------------------------------
-------------------------------
</body>
For creating hyperlink, we must follow some guidelines, Some important guidelines are ,
<Body>
This is the web page which tells about me in various sections using intra document links.
<br>
<br>
<a name="Personal">
</a>
<br>
<a name="Education">
</a>
<br>
<a name="Professional">
</a>
<br>
<a name="Family">
Children : No <br>
</a>
<Body>
</Html>
Sometimes the hyperlinks are used to link sections that are located in other web pages
also.
Structure:
<a href=”path#target”> Link Text </a>
Example:
Forms are used to create interactive web pages. An HTML form is a collection of several
fields such as text boxes, radio buttons, check boxes, password controls, buttons etc. All
these fields are used to accept information from the user. The collected information is
then transferred to a web server.
Each web page may contain one or more forms. The tag „<FORM>‟ is used to place
a form in a web page.
Syntax: <Form name=”Value” action=”URL” method=”post/get”>
Form Elements
</Form>
name :Specifies the name of the form
action :Specifies the name and location of CGI script that is used to process the data
method :Specifies the way how to send data that is collected from the user to the web
server. If the method is defined as GET, the data will be sent as part of the URL. If the
method is defined as POST, the data will be sent as part of the body of the message.
There are several data entry controls each having its own features.
INPUT Tag:
The tag „<INPUT>‟ is used to place an element in a form. This tag is used to place different
controls such as text box, password text box, check box, radio button, button etc.
Syntax:
<INPUT Type=”Text/Password/Checkbox/Radio/Submit/Reset/Button/Image”
Name=”Value” Value=”String” Size=”Value” Align=”Left/Right/Middle”>
Type: This attribute specifies what type of element we want to place on the form.
Text : Places a text box which allows the user to give textual input.
Password : It is almost similar to text box, but it does not display the content of the control
rather it displays only asterisk symbols in the place of any character.
Checkbox : Creates a simple checkbox that allows the user to check or uncheck type of
input.
Radio : Creates a radio button that allows the user to provide select or deselect type of input.
The set of options that are related to same field must be grouped by providing same name but
with different values.
Button : Places a button control that gives clickable actions.
Submit : Creates a button control that is used to send the data to the server according to
the action specified in the form tag.
Reset : Creates a button that is used to clear the contents of all the controls of the form.
Image : Places an image with specified URL.
Name :Specifies the name of the element that helps to identify the control among several
elements.
Value: Caption that is to be displayed along with the control.
SELECT Tag:
The tag „<SELECT>‟ is used to create a list box control that provides multiple options from
which user can select only one option.
OPTION Tag:
The tag „<OPTION>‟ is used to add an item to the select tag.
Syntax:
<SELECT Name=”Value”>
< OPTION > Item </ OPTION >
< OPTION > Item </ OPTION >
< OPTION > Item </ OPTION >
</SELECT>
TEXTAREA Tag:
The tag „<TEXTAREA>‟ is used to create a free format plain text area into which the user
can enter multiple rows of data.
Syntax:
<TEXTAREA Name=”Value” Rows=”N” Cols=”N”>
Example:
<Html>
<Body>
<Form Name="EmployeeDetails" method="GET " >
<Table>
<Tr> <TH Colspan="2"> Employee Registration Form </TH> </Tr>
<Tr> <TD Colspan=2 Align='Center'> <Input Type='Image' src='Mahesh.JPG' width=90
height=100 alt="Mahesh Photo"> </TD> </Tr>
<Tr>
<TD> Employee Code </TD><TD><Input Type="Text" Name="ECode"></TD>
</Tr>
<Tr>
<TD> Employee Name </TD> <TD> <Input Type="Text" Name="EName"> </TD>
</Tr>
<Tr>
<TD> Gender </TD> <TD> <Input Type="Radio" Name="Gender" checked> Male <Input
Type="Radio" Name="Gender"> Female </TD>
</Tr>
<Tr>
<TD> Date Of Birth </TD> <TD> <Select Name="Day">
<Option>1</Option><Option>2</Option><Option>3</Option><Option>5</Option></Select>
<Select Name="Month">
<Option>Jan</Option><Option>Feb</Option><Option>Mar</Option><Option>Jun</Option></Sele
ct>
<Select Name="Year">
<Option>1987</Option><Option>1984</Option><Option>1985</Option><Option>1986</Option></
Select>
</TD> </Tr>
<Tr>
<TD> Qualification </TD> <TD> <Select Name="Qualification">
<Option>M.Sc</Option><Option>MCA</Option><Option
Data"> </TD>
</Tr>
</Table>
</Form>
</Body>
</Html>
UNIT -V
1. What is Style Sheet? Explain how Styles are used to format the web page
In HTML it is possible to separate presentation and the document content. For this we use
„Styles‟. A style is simply a set of formatting instructions that can be applied to the content of a
web document.
They are,
1. In-line Styles
2. Embedded or Internal Styles
3. External Styles.
In-line Styles : The style can be defined within the basic HTML tag
Styles can be defined in the <HEAD> section and applied to the whole document. By defining
the styles in head section , we can use these styles in this document only. But we cannot use
these styles in another document. In order to use a style in any document, we have to use
external styles. The following is an example for embedded style:
<Html>
<Head>
<Style>
h1 {
color : red;
font-family:"Monotype Corsiva";
}
</Style>
</Head>
<Body>
<H1> This is My Style </H1>
</Body>
</Html>
External Styles : The web designers can design all the styles that are going to be used in
designing a web page as separate external files. These external files are called as „Style Sheets‟
that can be included into our web documents. By including these styles into web documents as
external files, we can separate the presentation code from the document code.
Each external style sheet file must be saved with the extension .css. the designer can include
style sheets using the following syntax.
Syntax:
Example:
Cascading: Styles can be cascaded. That is the formats override previously defined
styles if any. It takes the last available style for formatting the content.
Example:
<Html>
<Body>
<H1> <Font Color="Green” Face="Cambria"> This is My Style </Font> </H1>
</Body>
</Html>
We can define styles under <HEAD> tag to format the content of the web page.
Syntax:
<Name of the Element> {
attribute : value;
attribute : value;
}
Example:
1)
<Html>
<Head>
<Style>
h1 {
color : red;
font-family:"Monotype Corsiva";
}
</Style>
</Head>
<Body>
<H1> This is My Style </H1>
</Body>
</Html>
2)
<Html>
<Head>
<Style>
h1 {
color : red;
font-family : "Comic Sans MS";
}
</Style>
</Head>
<Body>
<H1> <Font Color="Blue"> This is My Style </Font> </H1>
</Body>
</Html>
3)
<Html>
<Head>
<Style>
h1 {
color : red;
font-family:"Comic Sans MS";
text-align : center
}
</Style>
</Head>
<Body>
<H1> This is My Simple Style </H1>
</Body>
</Html>
4)
<Html>
<Head>
<Style>
h1 {
color : red;
font-family:"Cmabria";
text-align : center
}
</Style>
</Head>
<Body>
<H1> This is formatted Style </H1>
<P Style="Font-Face : Tahoma; Color:Blue">
This is example shows how inline styles are used along with the style sheets </P>
</Body></Html>
5)
<Html>
<Head>
<Style>
h1 {
color : red;
font-family: "Cambria";
text-align : center
}
h2 {
color : green;
font-family : "Book Antiqua";
}
.one {
color : Blue;
font-family : "Monotype Corsiva";
}
.two {
color : Cyan;
font-family : "Comic Sans MS";
}
</Style>
</Head>
<Body>
<H1> These are My Styles </H1>
<H2> Each Paragraph with different Formats : </H2>
<P> This Paragraph is not applied any style </P>
<P Style="Color:Magenta"> This Paragraph is applied an Inline style </P>
<P class="one"> This paragraph is applied the style class one </P>
<P class="two"> This paragraph is applied the style class two </P>
</Body>
</Html>
Usually styles are cascaded that is the web designer can use many style sheets to design a web
page. The web designer can import as many style sheets he wants to import. The first one is
overridden by the second and second by third and so on.
Rules:
Each style rule has two parts such as selector and a set of declarations. The selector is used to
create a link between the rule and the HTML tag. The declaration has two parts like property and
value. Selectors can be placed into classes so that tag can be formatted in variety of ways.
Declaration must be separated using colons and terminated using semicolons.
Syntax:
Selector {
Property : Value;
Property : Value;
Example:
body {
background-color : Green;
h2 {
color : yellow;
Classes:
Classes are used to define tag styles with different styles and they can be used to design a
web page with different formats.
Syntax:
Selector.ClassName {
Property : Value;
Property : Value;
Property : Value;
Example:
h1.one {
color : red;
background-color : yellow;
h1.two {
color : #AA11FF;
background-color : cyan;
Once we define a set of classes with selectors, we can use those selectors as tags. We can
use the classes to format the web page. Each tag is extended by the attribute „ CLASS‟ to specify
the name of the class defined.
Syntax:
<Selector Class=ClassName>
Example:
Anonymous Classes:
We can use anonymous classes to format the content of a web page. Anonymous classes
are used when the designer wants to use some formats with various elements of the web
document.
Example:
<Html>
<Head>
<Style>
.one {
color : blue;
</Style>
</Head>
<Body>
<P class="one"> This paragraph is applied the anonymous class class 'One' </P>
</Body>
</Html>
Output:
The web designers can design all the styles that are going to be used in designing a web page as
separate external files. These external files are called as „Style Sheets‟ that can be included into
our web documents. By including these styles into web documents as external files, we can
separate the presentation code from the document code.
Each external style sheet file must be saved with the extension .css. the designer can include
style sheets using the following syntax.
Syntax:
Example:
Explain how various Properties and their Values used in designing Style Sheets
The text content of a web page can be formatted by altering various properties of text. While
using style sheets, we usually use many of these properties to format the text content.
Fonts:
Many operating systems have similar type of fonts. While specifying font names, it is always
better to use generic family, because some systems may not support all font types.
Syntax:
Syntax:
color : Value
background-color : <Value>
background-image : URL
Example:
Web Document:
Output:
1. Headings
<html>
<head>
<title>headings</title>
</head>
<body>
<h1>heading one</h1>
<h2>heading two</h2>
<h3>heading three</h3>
<h4>heading four</h4>
<h5>heading five</h5>
<h6>heading six</h6>
<h7>heading seven</h7>
</body>
</html>
2. Text Formatting
<html>
<head>
<title>third one</title>
</head>
<body>
<ol type="I">
<li>B.A
<li>B.COM
<li>B.Sc
<ol>
</body>
</html>
4. Unordered List
<!--4. Unordered List-->
<html>
<head>
<title>fourth one</title>
</head>
<body bgcolor="yellow">
<font size="20"><ul type="square" size="20">
<center><li>Arts</li>
<li>Science</li>
<li>Commerce</li></center></font>
</body>
</html>
5. Insert an Image
<!--5. Insert an Image-->
<html>
<head>
<title>fifth one</title>
</head>
<center>
<img src="D:\Web\Mahesh.jpeg" width="300" height="500" border="5">
</center>
</body>
</html>
7. Create a Table
<!--7. Create a Table-->
<html>
<head>
<title>seventh one</title>
</head>
<body bgcolor="pink">
<center><h3><font color="#121212" size="15"><u>Student Marks Details</u></h3></center>
<table border="5" align="center">
<tr>
<th colspan="3"align="center">Marks<th>
</tr>
<tr>
<th><i>Name</i></th>
<th><i>Roll no</i></th>
<th><i>Marks</i></th>
</tr>
<tr>
<th>Nagaraju</th>
<th>480</th>
<th>80</th>
</tr>
<tr>
<th>Sivaraju</th>
<th>111</th>
<th>59</th>
</tr>
<tr>
<th>Kumar</th>
<th>193</th>
<th>90</th>
</tr>
</table>
</body>
</html>
8. Text Hyper-linking
<!--8. Text Hyper-linking-->
<html>
<head>
<title>eight one</title>
</head>
<body bgcolor="yellow"><center>
<a href="prg5.html"><font size="10">Photo</a></center>
<center>
<img src="D:\web\Mahesh.jpg" width="300" height="500" >
</center></img><br><br>
<center><a href="prg6.html"><font size="20">sample picture</a></font></body>
</html>
9. Image Hyper-Linking
<!--9. Image Hyper-Linking-->
<html>
<head>
<title>nine one</title>
</head>
<body bgcolor="yellow">
<center>
<img src="D:\Web\Mahesh.jpg" width="300" height="200" >
</center></img><br><br>
<center><a href="6.html"><font size="20">My Photo </a></font></body>
</html>
10. College
<!--10. College-->
<html>
<head>
<title>ten</title>
</head>
<body bgcolor="yellow">
<font size="20"><ul type="square"size="20">
<center><li>Sree Chaitanya Degree College</li>
<li>III-B.Com Computer Applications</li>
<li>Wbe Technologies</li></center></font>
<p>Achieve your ambitions with our experience and expertise faculty.</p>
</ul>
</body>
</html>
<A HREF="#home">Home</A>
</pre>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<A id="cpp">
<pre>
<h1>C++ language</h1>
<h2>Contents</h2>
<h3>Basics of Object Oriented Programming</h3>
<h4> 1.1 Introduction to Object Oriented Programming
1.2 Difference between Object Oriented Programming and POP
1.3 Basics concepts of OOP
1.4 Benifits of Object Oriented Programming
1.5 Applications of Object Oriented Programming
</h4>
</pre>
<A HREF="#home">Home</A>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<A id="java">
<pre>
<h1>Java Language</h1>
<h3>Basics of Object Oriented Programming</h3>
<h4> 1.1 Introduction to Object Oriented Programming
1.2 Difference between Object Oriented Programming and POP
1.3 Basics concepts of OOP
1.4 Benifits of Object Oriented Programming
1.5 Applications of Object Oriented Programming
</h4>
<A HREF="#home">Home</A>
</pre>
<br><br>
<br><br><br>
<br><br>
<br><br><br><br>
<br><br><br>
</body>
</html>
12. Lists
<html>
<head>
<title>Lists</title>
</head>
<body>
<h1>Illustrate three types of lists</h1>
<hr color=Black size=3>
<h2>1. Definition List</h2>
<dl>
<dt>Tag</dt>
<dd>-Instruction in Html</dd>
<dt>Attribute</dt>
<dd>-Property of a tag</dd>
</dl>
<h2>2. Order List</h2>
<ol>
<li>c</li>
<li>c++</li>
<li>Java</li>
</ol>
</body>
</html>
<h2>3. Un-Order List</h2>
<ul>
<li>MS-Office</li>
<li>Tally</li>
</ul>
</body>
</html>
<!--Left.html-->
<html>
<body>
<h3><i>Courses Offered:</i></h3>
<h4><i><ul type="disc">
<li><a href="BSC.html" target="right">B.Sc Courses</a><br><br>
<li><a href="BCOM.html" target="right">B.Com Courses</a><br><br>
<li><a href="PG.html" target="right">P.G Courses</a>
</ul></i></h4>
</body>
</html>
<!--Right.html-->
<html>
<body>
<h1 style="font-family:Arial Black;"><center>SREE CHAITANYA DEGREE & PG
COLLEGE</center></h1>
<hr><hr>
<br><br><br><br><br><br><br><br>
<center>
<img src="laptop.jpg" width=300 height=300 border=1></img>
</center>
</body>
</html>
<!--Bcom.html-->
<html>
<body>
<h3><i>B.Com Courses:</i></h3>
<hr>
<h4><i><ul type="disc">
<li> B.Com Computer Science<br><br>
<li> B.Com General<br><br>
</ul>
<a href="right.html">Back to Home</a>
</i></h4>
</body>
</html>
<!--Bsc.html-->
<html>
<body>
<h3><i>B.Sc Courses:</i></h3>
<hr>
<h4><i><ul type="disc">
<li> B.Sc MSCS<br><br>
<li> B.Sc MECS<br><br>
<li> B.Sc MPCS<br><br>
<!--Pg.html-->
<html>
<body>
<h3><i>PG Courses:</i></h3>
<hr>
<h4><i><ul type="disc">
<li>M.Sc Computers<br><br>
<li>M.Com<br><br>
</ul>
<a href="right.html">Back to Home</a>
</i></h4>
</body>
</html>
16. Website
<html>
<head><title>gminformatics.com</title>
</head>
<center>
<body>
<img src="D:/Web/logo.JPG" width="180px" height="75px" align="left"><br>
<br>
<hr>
<h3> Home | services | privacy </h3>
<hr>
<marquee> <h4> welcome To my Website, Hope You Like It</h4></marquee>
<img src="D:/Web/pic1.jpg" width="300px" height="180px">
<img src="D:/Web/pic8.jpg" width="300px" height="180px">
<img src="D:/Web/pic2.jpg" width="300px" height="180px">
<img src="D:/Web/pic3.jpg" width="300px" height="180px">
<img src="D:/Web/pic4.jpg" width="300px" height="180px">
<img src="D:/Web/pic5.jpg" width="300px" height="180px">
<img src="D:/Web/pic6.jpg" width="300px" height="180px">
<img src="D:/Web/pic7.jpg" width="300px" height="180px"><br>
Unit-I:
Basics of Computers :Definition of a Computer - Characteristics and Applications of Computers –
Block Diagram of a Digital Computer – Classification of Computers based on size and working –
Central Processing Unit – I/O Devices.
Unit-II:
Primary, Auxiliary and Cache Memory – Memory Devices. Software, Hardware, Firmware and
People ware – Definition and Types of Operating System – Functions of an Operating System – MS-
DOS – MS Windows – Desktop, Computer, Documents, Pictures, Music, Videos, Recycle Bin, Task
Bar – Control Pane.
<br>
<br>
<br>
<br>
<br>
<br>
<hr>
Copyright © 2018 All rights Reserved gminformatics.com
</body>
</center>
</html>
===============================================================
<!--Inline Styles -->
<html>
<head>
<title>Using Inline Style Sheets</title>
</head>
<body>
<p>This is simple text</p>
<p style="font-size:30pt;font-family:Script">This text is different</p>
<p style="font-size:40pt;color:#ff0000">This text is colored</p>
</body>
</html>
================================================================
<!--External StyleSheet for Heading
HeadColors.css-->
<html>
<head>
<title>Example on CSS</title>
<link href="headcolor.css" rel="stylesheet">
</head>
<body>
<center>
<h4><u>Applying Different Colors for Headings</u></h4>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</center>
</body>
</html>
h1{
color:Blue;
}
h2{
color:Red;
}
h3{
color:Brown;
}
h4{
color:green;
}
h5{
color:Orange;
}
h6{
color:violet;
}
<!--External.html-->
<html>
<head>
<link rel="stylesheet" type="text/css" href="External.css">
</head>
<body>
<h1 class="special">
<center>
This page is created using External Style Sheet
</center>
</h1>
<h2>
This line is aligned left and red colored
</h2>
<p>
Tha External Style Sheet is the compact representation of Cascading Style Sheets.
This paragraph is written in Monotype corsiva font size of 14 point.
</p>
{
font-family:Arial
}
h2
{
font-family:Times New Roman;
color:red;
left:209x
}
h3
{
font-family:Arial;
color:blue;
}
p
{
font-size:14pt;
font-family:Monotype Corsiva
}
.special
{
color:green
}