Escolar Documentos
Profissional Documentos
Cultura Documentos
SHIJU S S
CHAPTER. 7
KEYPOINTS
15. A form is created using the begin and end from tags
<FORM> and </FORM>. All the GUI controls to accept
inputs are placed inside these two tags.
16. The ACTION attribute specifies the location (URL ) of
The server and of the CGI program that will process the form.
17. The METHOD attribute indicates the method used by the
Web server to receive the form. The possible values are POST
and GET.
EVALUATION ACTIVITIES
1. XYZ Co. wants to create an E-Commerce website. The purpose
is to display and list the particulars of product and price.
(a) What are your suggestions to the company?
(b) Demonstrate your suggestions by preparing a sample
webpage.
2. <TABLE>< <FRAMESET>, and <FRAME> tags are used for
designing HTML documents.
(a) Is it possible to create tables without borders.
(b) Describe the use of TABLE tag.
(c) Specify the need of FRAMESET and FRAME tags.
.
12. Your friend Anita is designing an HTML document with
Table as its content.
(a) Give suggestions to make table more attractive.
(b) Support your suggestion using relevant codes.
13. If you specify RED to the bicolor attribute of <TABLE> tag then,
the entire table will be given the co lour RED.
(a) Write HTML code for creating the document. The form must
Accept all your personal
17. A number of input controls can be created using <INPUT>tag.
(a) List the different controls that can be created using this tag.
(b) Which attribute is used for this purpose?
© Write HTML code for creating any two controls (all attributes
required)
KEY POINTS
1. Perl (practical Extraction Repot Language) is scripting language
which exact information from text file and then uses that
information to prepare report
2. A scripting language is light weight programming language.
Scri`pting language are interpreted
3. Java Script is an example of a popular scripting language
4. Style sheets are f ile that store style definition used in a
webpage.
5. Object oriented programming (OOP) is concepts that allow
creating reusable.
6. VBScript is a scripting language which is a light version of
Microsoft’s programming language visual basic.
7. VB Script is support only by the Microsoft internet explorer
browser. Java Script on the other hand is supported by most
browsers.
8. Active Server Pages-ASP is a method for delivering dynamic
content in a webpage. ASP technology allow to mix HTMLand
code their by giving decision capabili
9. y to a webpage.
10. VBScripr is the default scripting language used in ASP.
11. JSP provides excellent server side scripting support for
12. creating database driven web application
Edumate questions
Edumate questions
ADVANCED TOOLS FOR WEB DESIGN
Q.1Which of the
following may be
consider as dynamic
page.
Page with an
1.
image
2. Page with
hyperlink
3. Page with a
background
color
4. Response
page for a
google search
Ans(d) Response page
for google search.
Q.2 Name a Net
language which is used
in web programming.
Ans:C#
Q.3. .Raju is trying
to order a digital
camera through an e-
Commerce site. In
the order form, on
selecting the product
name, corresponding
product code is
automatically filled
up. Name the
advanced web tool to
implement this
facility. Write its
characteristics
or
Akhil is trying to
create an e-mail ID
through a web portal.
On selecting the
country, the names of
states of the
corresponding
country gets filled up
against the state List
box..
(a) Name the
technology
behind this.
Mention the
(b)
characteristics.
Ans: (a) We can
use any scripts
language like
Javascript
Characteristics
include programming
in HTML documents
Using it we can
3.
perform various
functions like decision
making, accessing data,
answering users query
etc.
4. It can be used for
collecting and storing
user information.
Q.4. The higher
secondary examination
result of your school is
available on your school
website. On entering the
Reg. no the result of that
particular student
displayed as a webpage.
Disuse any two
technologies in addition
to HTML required to
implement this website.
Ans; We can
use ASP/JSP/PERL
1. ASP stands for
Active Server page
2. These are web
pages that are
embedded with
dynamic contents.
3. In ASP the script
component
execute in server
and the effect will
be send back to
client machine.
The result will be
displayed in the
user window using
HTML tag sent by
server.
4 Real time
communication
exists between the
client and server
5. ASP application
are small and can
be modified
without affecting
server function.
JSP
1 JSP stands for
Java server page
2 JSP are web pages
that contain server
side scripts
3It allows web
designers easy to
develop and
manufacture
dynamic web
pages.
Additional
questions
1
Score
1. Name the
Java program that
execute from a web
page.
Ans: Applet
2. Write the name of
a server scripting
technology.
Ans: JSP (Java
server page) OR ASP
(Active server page)
3. From the list given
below select the most
important feature of
DHML
(a) Create Table
(b) Set back ground
colour
© Displays a form
(d). (Show
animation
Ans: Show animation
4. Modules of Java
code that run in
server machine to
serve the client
request
is…………..
Ans: Servelt
5. What is the
programmin
g language
to develop
. NET
application
Ans: C# is
the language
to
develop
.NET
application.
Using C# we
can develop
powerful
stand alone
application.
6. ……… is the most
common language
for writing CGI
script
Ans: PERL
7. The program
embedded in
HTML pages
are………….
Ans: Scripts
8. …….is an OOP
that is used to
develop
application for Net
platform
Ans; C#
(2 Scores)
Differentiate
between HTML and
DHTML
Ans: HTML
means hyper text
Markup language. It
is the basic tool for
webpage design.
Using HTML we
can design only
static webpage.
DHTML
means Dynamic
Hyper Text Markup
Language. It builds
up on existing
HTML tags and mix
it with VB script or
Java Script.
DHTML makes
Web presentation
dynamic and
interactive.
Q.Give the
advantages of
byte code over
machine code.
Ans: Java programs
are not directly
complied to machine
code.
They are
complied to an
intermediate code called
byte code.
This byte code is
interpreted by another
program called Java Virtual
Machine (JVM. Byte code can run on any computer in which the JVM is
present. JVM makes the Java language to be platform independent. Any
computer system Give with JVM insytalled can run the java program
regardless of the operating system.
2. Write two important application of XML in web
development
Ans; XML allows us to define new tags. We can define our own
tags.
(ii) Business Partner use XML to exchange data with each o
other in new and easier way.
(iii) E-business related information such as pricing
inventory and transactions are represented in XML and
transferred overinternet.
(iii) XML provides the basic for a wide variety of industry and
specified language such as MathXML, ebXML, VXML etc.
3. The result of Drew of Kerala State Lotteries is available on
website, on entering the ticket number the detailed result of
particular ticket is displayed on web page.
Name any two web tools other than HTML required to
develop such web site.
Ans: DHML, VB Script, ASP etc.
1. Write the significance of server side scripting in website
development
Ans: The script that are executed by the server are called server scripts.
In server side scripting, the script codes are interpreted by the web server
and return its result to respective web client. Here the script components
executed in the server and the effect will be sent back to client machine.
The result will be displayed in the browser window using HTML tags sent
by server. For server side script we can use ASP or JSp.
2. Write any three uses of client side scripting on a web page.
Ans: The script that can be excused by the browser are calledclent
scripts. The browser reads the script and check for errors and run the
Scripts. It can be used to validating user input,communicate to user and
check while browser does a particular user is running.
3. Vivek a web designer got an assignment to develop a web
document for multinational company which work on any type of
operating environment. In addition to the conventional tools he
needs to select either VB script or java script. In your opinion
which amoung the above tools will be selected by Vivek. Justify
your selection by listing down he feature comparing with the
others.
Ans: Java Script. It is platform independent and can work on any
operating system.
1. Java Script Adds interactivity to HTML pages.
2. It gives facility to include programming in HTML Pages.
3. Using it we can perform various functions like decision
making, accessing data, answering users query etc.
4. It can be used for collecting and storing user information.
5. List any three advantages of ASP
1. ASP stands for active server psge..
2. These are web pages that are embedded with dynamic
contents
3. In ASP the script componet excute in server and effect will
be sent back to client machine. The result will be displayed
in the user window using HTML tag sent by server
“Day by day the need of the web and its applications are
growing up. So programmers need more web tools for complete
solution”. Comment on this statement by explaining 5 advannced
tools
Ans: 1. DHTML
DHTML means Dynamic Hyper Text Markup
Language. It builds upon existing HTML tags and mix it
with VB script or JavaScipt DHML makes Web
presentation dynamic and interactive.
2. XML
XML means Extensible Makrkup Language. It allows to
define tag. The XML tag can be used as any other HTML
tag. Business partners use XML to exchange data with other
in a new and easier way.
3Java Script
It is scripting lauguage. It is embedded in HTML pages.
It gives a facility to include programming in HTML
document. It makes a page interactive.
4. VB Script
VB script is also Scripting language. It is simple Visual
Basic Programs embedded in HTML pages. VB script makes the
web page active. It is especially useful for handling forms. It is
not platform independent. Using Java Script we can perform
various functions like decision making, accessing data answering
Queries etc.
4. PERL
PERL means Practical Extraction and Report language. It is
used for writing CGI scripts. It is helpful for system
management and system administration task. It is used for
programming W W W electronic forms. It act as a gata way
between system database and users..
5. CGI
CGI means Common Gate Way interface. It is a collection of
protocols that allow web clients to excute programs on a
web server and receive their output.
6. JSP
JSP means Java Server Pages. JSP’s are webpages that
contain Server Side Scripts. JSP allows easy developing and
maintaing of dynamic pages. JSP provided web based
application that are platform independent.
7. ASP
ASP stands for Active Server Pages. ASP’s are web pages
that are embedded with dynamic contents. It is used for
server side scripts. The Real time communication exists
between the client and Server during the execution of ASP
code. Both VB script and Java Script can be used as script
component of an ASP file.
8. Java
Java is platform independent object oriented programming
language. It is used to create program that excute from W W
W pages. It can be used to develop all kinds of programs
REVIEW QUESTIONS
(b)
15.
5.
The<table>tag
The<table> tag is used to define and to create a table in HTML. It is a container tag
which contains an opening tag and a closing tag. The <table> and </table> tags must
surround the entire table definition. The <table> has several attributes. All the table
attributes are optional.
Syntax:
<table Align=”Left/Center/right”
Border=”value”
Border color=”color”
Width =”value”
Height=”Value”
Bgcolor= “color”
Cell spacing= “value”
Frame= “frame type”>
………. </table>
Attributes of TABLE Tag
Attribute Description
Border Creates a thin line around all cells. The width of the border lines
can be specified as a value in pixels. If specified without any
value, a thin line is created a round all cells. The value 0 is
equivalent to having no border. The larger the value specified the
thicker will be the border.
Height By default a table will be as long as the height of the entries in its
cells. An exact height can be specified here either in pixels or as a
percentage of the browser’s window.
Width By default a table will be as wide as the longest entries in its cells.
An exact width can be specified here either in pixels or as a
percentage of the browser’s window.
Cell spacing Cell spacing means the space between the cell border and table
frame. This space can be adjusted in pixels.
Cell padding Cell padding is the space between the cell border and table frame.
This space can be adjusted in pixels.
Frame Frame specifies with sides of the table’s outer border are visible in
the browser window. Normally all the four sides of the table will
have a border. Using the frame attribute we can control display of
these borders.
Attributes Description
Page No.216
<TR> tag (Table row tag)
Syntax:
<tr Align =”Left/Right/Center”
Bgcolor= “Color”
Valign=”Align-type”>
<tr>
Syntax:
<th Align=”left/center/right”
Bgcolor =”color”
Background =”rename”
Row span =”value”
Cols pan =”value”
Valign =align-type>
Heading of column or row.
<th>
<caption> t
<caption> tag
Syntax:
<caption align= “Top/Bottom”/
Caption of the table
</caprion>
<frameset> tag
Syntax:
<frameset
Cols =”cols-width”
Rows =”row-height”
Frameborder =”1/0
Framespacing=”spacing” >
………………………………………
Frame elements….
</frameset>
<frame> tag
Syntax:
<frame Src =”File name”
Name =”name”
Scrolling =”yes/no”
Margin height =”height”
Margin width =”width”
Noresize>
Attributes of <FORM> Tag
Attributes Description
Action Specifies the lacation (URL) of the server and of
the CGI program that will process the form.
KEY POINTS
EXCEL
Plus Two Series
COMPUTER APPLICATION II
J. S. SAINI
Tips to Remember
1. The tags used for creating a table are <TABLE>, <TR>, <TH>
and <TD>.
2. The tags <TR> and </TR are used to define the rows in the table.
3. You can define two types of cells in a table- header cells and data
Cells.
4. The header cells are defined with <TH>and </ tags.
5. The data cells are defined by the <TD> and </TD> tags.
6. We can provide a caption to the table by writing its value
between <CAPTION> and </CAPTION> tags.
7. Attributes associated with <TR> are VALIGN, ALIGN<
BGCOLOR, BORDERCOLOR
8. Attributes associated with <TH> are COLSPAN,NOWRAP,
ROWSPAN, ALIGN, VALIGN, BACKGROUND, BGCOLOR,
BORDERCOLOR.
9. Attributes associated with <TD> ALIGN, BACKGROUND,
BGCOLOR, BORDERCOLOR, COLSPAN,
NOWRAPROWSPAN, VALIGN.
10. FORMS allow the user to interact with your site. This facility
Helps you to collect information from users, to take online orders
from customers or to take entries for an online Contest and
respond to the user automatically to indicate that the entry was
received.
11. <Input> tag is used to create a text box control in the form.
12. You can specify various types of buttons in the TYPE attribute of
the <INPUT> tag.
13. You can create radio buttons by specifying the TYPE as “radio
The