Você está na página 1de 42

COMPUTER APPLICATION ANIL KUMAR, HASHIR

SHIJU S S
CHAPTER. 7

KEYPOINTS

1. Table serves as a convenient way to organize elements on


the page without making them appear within the page without the
confines of an actual table.

2. <TABLE> begins a table definition and </TABLE> ends .


Tables are created without borders, that is the horizontal
And vertical lines separating the cells will not appear by default.
3. <TR> and </TR> are used to create a row of the table.
4. The table data tags <TD> and </TD> are used to specify the
contents of a cell.
5. <TH> and </TH> are used to create cells in the same way
as the table data tags, except that the text in the cells will
be bold and centered
6. The caption tags <CAPTION> and </CAPTION> tags allows for
the creation of a caption for a table.
7. Frames divides browser window into smaller, separately
Scrollable windows each capable of displaying a different
.HTML page.

8. Creation of frames in a browser window is done in two steps:

1. Splitting the browser window into frames using


<FRAMESET > tag.

2. Loading frames with different HTML documents


Using <FRAME> tag.
9. The browser window is split into frames using a container
Tag <FRAMESET> tag.

10. <FRAME> is an empty tag which accept the name of the


HTML ,document to be displayed in a frame.

11. <NOFRAMES> tag is typically used in a Frameset


document to provide alternate content for browsers that do not
support frames or have frames disabled.
12. An HTML from provides data gathering functionality to a
Web page.

13. Forms allows to enhance the interaction of a web page


by increasing the ability to request information from users.
14. HTML forms has built –in facility to automatically
Submit data collected in its controls to a Web server.

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.

18. The TEXTAREA tag is used within the form to accept


Multiple lines of text with the help of textbox control.
19. The INPUT tag creates a single – line input control and
The TEXTAREA tag creates a multi –line input control.
20. A number of input controls can be created using the
INPUT tag by modifying its TYPE attribute like text,
Password, checkbox ,radio button, reset and submit buttons.
21. RESET is a modified form of INPUT tag that simply
Creates a push button is used clear all the data entered
In a form.
22. SUBMIT button automatically submit the data that has
Entered in the form to the Web server for processing.
23. The <SELECT> tag is used to create different types of
Popup and scrolling menus.
24. The <LABEL> tag is used to give a caption to controls
Used in a form. The LABEL element associates a label
With a form control.

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.

3. You know that TABLE tag is used for arranging data in a


Tabular form. Write the syntax of HTML tables.
4. Your class teacher asked you to prepare HTML page showing the
students name and marks of all subjects of your class.
Demonstrate this to your class teacher by creating an HTML
document with details of two students

5. While visiting a website you noted that the current webpage


is divided into three portions in the same browser. All three
portions has different HTML document loaded to it.
(a) According to your knowledge what is this features.
(b) Which tag is used for splitting the browser window?
(c) Specify the tag used for loading different HTML document
(d) Discuss any two attributes of question(b)

6. You know that <FRAMESET> tag is used for splitting the


Browser window.
(a) Identify the attribute used for giving 3D border to frames.
(b) Write HTML code for giving 3D border.
(c) Write HTML code to create three frames of equal size.
7. Read the HTML code given below and answer the
Following questions.
<FRAMESET cols= *, *, * frame border=1>
</FRAMESET>
(a) What does this code means?
(b) Visualize this in a browser.
8. <FRAME> tag used for loading different HTML documents to
the frames.
(a) List any two attributes of <FRAME> tag.
(b) Discuss these attributes in detail.
(c) What is <NOFRAME> tag?
9. Go through the webpage given in questions 9 and th
Answer the following questions
(a) According to your version list the important tags used.
(b) Explain the tags and its attributes in detail.
10. Read the HTML code given below and answer the
Following question.

<FRAMESET rows = 50, 50 >


<FRAMESET cols =50, 50 >
<FRAMESET src =” A. HTM” >
<FRAMESET src = “B. HTM” >
<FRAME >
<FRAME src =” C. HTM” >
</FRAMESET >
(a) What is meant by nesting of frames?
(b) Explain this code.
11. Read the HTML code given below and answer the following
question

<TABLE border = 1cell spacing =2 cell padding=4>


(a) Differentiate between cell spacing and cell padding.
(b) Briefly describe three attributes of <TABLE> tag other than
cell spacing, cell padding and border.

.
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) where will you change the co lour of a specific cell?


(b) Write necessary code to demonstrate the answer to question
a.
14. The cell contents of three <TH> tag is always bold.
(a) Is this statement true? Give reason.
What is the need for “colspon” and “roping”?
15. Forms facilities interactive webpage.
(a) Discuss this statement and comment.
(b) Explain various <FORM> tag attributes.
© Is it possible to a control placed in a form using white spaces
why?
16. you are asked to create an HTML form that allows you to enter your
personal details into a webpage.

(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)

18.<TEXTAREA> and <LABEL>are tags used for designing HTML for


(a) Specify the use of these tags.
(b) Discuss various attributers of tags.
19.Go through the following webpage and answer the following
questions.
(a) Illustrate the features used for designing this page.
(b) Write HTML code for the above figure.
20. The HTML form supports the popup and scrolling menus.
(a) How they are created in HTML document.
(b) Discuss various attribute of the above mentioned tag.
cWrite simple HTML code to support the answer of question
21 Go through the following webpage and write HTML code to
create such a webpage.
22. <INPUT> tag playa an important role in designing
HTML forms by providing facilities for creating many
input controls.
(a)Specify the need for SUBMIT and RESET buttons
(b) Explain how they are created.

23. <INPUT> tag plays an important role in designing


HTML forms by providing facilities for creating many
input controls.
(a) Specify the need for CHECKBOX and
RADIOBUTTON
(b) Explain how RADIOBUTTON is created
(c) Differentiate between CHECKBOX and
RADIOBUTTON.

CHAPTER 8 ADVANCED TOOLS FOR WEB DESIGN

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

1. Java script Adds


interactivity to HTML
pages
It gives facility to
2.

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

13. HTML is used to represent data while XML is designed to store


and exchange data between applications.
14. DHTML is a combination of technologies like Scripting,CSS and
DOM resulting in a Dynamic HTML page.
15. Serviettes are programs in Java that run on a web server and built
web pages dynamically.
16. C# is the latest programming language developed by Microsoft
for the NET platform.

REVIEW QUESTIONS

1. Name two web design tools.


2. What is DHTML?
3. What is the difference between HTML and XML?
4. What is a style sheet?
5. What is PERL?
6. What is CGI?
7. What are scripting languages?
8. Give two uses of scripts.
9. What is a applet?
10. Give two important features of a Java Programming Language.
11. What is JVM?
12. What are byte codes?
13. What is NET?
14. Briefly explain Active Server Pages technology
15. Write brief notes on a Java Script and VBScript.
16. What’s XML? How is it different from HTML?
17. Briefly explain CGI andPERL
18. Write a short note on C#
19. 19. How does java Language become platform-independent?
20. 20. Explain any four advanced tools for web design?
21. Explain features of Java an C# programming languages.
22. Explain JSP in the context of web application development.

(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.

Border color Assigns a color to the border in hexadecimal triplets or codes.

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.

Bgcolor Background color can assigned a color using color codes.

Align Aligns the table with respect to other document elements

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.

Background An image can be specified as a background of a table. The


filename of the desired image should be specified here. The
specified image is tiled to fill the background of the table.
<TR> tag (Table row tag)
The <TR> tag is used to specify row within a table
and is placed inside the <table>tag. The TR element contains both cell
data and cell headers. The <TR> tag is container tag but the closing
tag is optional. If table contain 3 rows th

Attributes of Table Data –TD tag

Attributes Description

Align Positions the text horizontally in all cells in a


row. It may take on the values Left, Center, left is
the default horizonal alignment.
Valign .Positions the values Top, Middle, Bottom and
Baseline. Middle is the default vertical
alignment.
Width Specifies the width of a cell in pixles on as a
percentage relative to the table width.
Bgcolor Specifies a background color for a single cell
using color codes.
background An image can be set as a background of an
individual cell. The filename of image file is
specified here.

Rows pan Indicates the number of rows a cell should


occupy.
Cols pan Indicates the number of columns a cell should
occupy.
Attributes of <FRAMESET> Tag
Attributes Description
Rows This attribute is used to divide the screen Into
multiple rows. It can be set equalt of values
depending on the required size of each row. The
values can be:
1. Absolute number of pixels
2. Percentage relative to browser window
3. Suggest that a particular row should take up
the rest of the page.(* )

Cols This attribute is used to divide the screen into


multiple columns. It can be set equal to a list of
values depending on the required size of each
column. The values can be;
1. Absolute number of pixels
2. Percentage relative to browser window
3. Suggest that a particular column should take
up the rest of the page.
Frame border Takes two values,1 or 0. The value 1 activates
display of a 3D border, The value 0 omits the
border.
Attributes of <FRAME> Tag
Attributes Description
Src Specifies the name of the file to be loaded into a
frame.

Scrolling Enables the web page displayed to be scrolled


and viewed completely by controlling the
appearance of horizontal and vertical scrollbars
in a frame. This takes the values YES, NO,
AUTO.

Name Gives the frame a unique name so that it cab be


referenced by other documents. The name given
must begin with an alpha numeric character.

Noresize Disables the frames resizing capability. Normally


the frames displayed in a window can be resized.

Marginwidth Specifies the amount of white space to be left


along the sides of the frame.

Margin height Specifies the amount of white space to be left at


the top and bottom of the frame.

Attributes of Table Row –TR Tag


Attributes Description
Align Position the text horizontally in all cells in a row. It
may take on the values Left, Center, Right. Left is
the default horizontal alignment.

Valign Positions the vertically in all cells in row. It may


take on the values Top, Middle, Bottom and
Baseline. Middle is the default vertical alignment.

Bgcolor Specifies a background colour for all the cells in a


row using colour codes

Page No.216
<TR> tag (Table row tag)

Syntax:
<tr Align =”Left/Right/Center”
Bgcolor= “Color”
Valign=”Align-type”>
<tr>

<th> tag (Table heading)

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>

<td> tag (table data)


Syntax:
<td
Align=”left/right/center”
Bgcolor=”color”
Width=”value”
Background=”filename”
Row span=”value”
Col span=”value”
Valign=”align-type”>
Data in the cell
</td>

<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.

Method Indicates the method used by the web server to


receive the form. The possible values are POST
and GET
The GET method appends the form data along
with the specified URL with a ? as separator.
This new URL is send for processing

Attributes of <INPUT> Tag


Attributes Description
Type Specifies the type not the control that the input tag
represents. It indicates the data type of value in
that control. The values of Type attribute can be
Text,
Name Password, Checkbox, Radio, Submit Resert.
Gives a variable name to the control to receive the
content of the control which can be used later for
referencing.
Value Provides default data for a control. It varies on the
type attribute of the control

Size Specifies the number of characters the control can


Hold.

Attributes of <SELECT> Tag


Attributes Description
Name Specifies the name of the variable used to receive
the content of the control.

Size This optional parameter is used to specify the


number of items that will be displayed at a time by
the list. Each item occupies one line on the screen.

Option Specifies the next for each item on the list.

KEY POINTS

1. Table serves as a convenient way to organize elements on the


page without making them appear within the confines of an
Actual table.

2. <TABLE> begins a table definition and </TABLE ends it. Tables


are created without borders, that is the horizonal and vertical lines
separating the cells will not appear by default.
3. <TR> and </TR> are used to create a row of the table
4. The table data tags <TD> and </TD> are used to specify the
contents of a cell.
5. <TH> and <?TH> are used to create cells in the same way as the
table data tags, except that the text in the cells will be bold and
centered.
6. The caption tags<CAPTION> and </CAPTION> tags allows for
the creation of a caption for a table.
7. Frames divides browser window into smaller, separately
scrollable windows each capable of displaying a different HTML
page.
8. Creation of frames in a browser window is done in two steps:
1. Splitting the browser window into frames using
<FRAMESET>
2. Loading frames with different HTML documents using
<FRAME> tag.
9. The browser window is split into frames using a container tag
<FRAMESET> tag.
10. <FRAME> is an empty tag which accept the name of the HTML
documents to be displayed in a frame.
11. <NOFRAMES> tag is typically used in a Frameset document to
provide alternate content for browsers that do not support frames
or have frames disabled.
12. An HTML form provides data gathering functionally to a Web
Page.
13. Forms allows to enhance the interaction of a web page by
Increasing the ability to request information from users.
14. HTML forms has built-in facility to automatically submit data
Collected in its controls to the Web server.
15. A form is created using the begin and end form tags <FORM>
</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 the CGI program 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.
18. The TEXTAREA tag is used within the form to accept multiple
lines of text with the help of textbox control.
19. The INPUT tag creates a single-line input control abd the
TEXTAREA tag creates a multi-line input control.
20. A number of input controls can be created using the INPUT tag
by modifying its TYPE attribute like text password checkbox,
radiobutton, reset and submit buttons.
21. RESET is a modified form of INPUT tag that simply creates a
push button is used cler all the data entered in a form.
22. SUBMIT button automatically submits the data that has been
entered in the form to the Web server for processing.
23. The <SELECT> tag is used to create different types of pop up
and scrolling menus.
24. The <LABEL> tag is used to give a caption to controls used in a
form. The LABEL element associates a label with a form control

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

Você também pode gostar