SlideShare a Scribd company logo
2
Most read
4
Most read
7
Most read
CHAPTER 1
Creating HTML forms using
KompoZer
Use of IDE to create a form
• Full form of IDE is Integrated Development
Environment
• Creating a form using HTML tags is tedious process.
• An IDE is a software application that provides
complete facilities to programmer to develop software.
• IDE provides
1)GUI – Graphical User Interface
2)Text/code Editor
3) compiler and/or interpreter and
4) a debugger.
• 1) Kompozer, 2) Eclipse, 3) JBuilder and 4) Netbeans
are all examples of some open source IDEs.
Introduction to KompoZer
• KompoZer is a free open source web development
IDE.
• KompoZer can be downloaded from
http://www.KompoZer.net.
• It provides a webpage editor which has a simple
graphical interface known as WYSIWYG
• WYSIWYG means “What You See is What You Get”
• It is a complete web authoring system which
integrates 1) webpage development and 2) web
file management.
Interface to KompoZer
• Open KompoZer::::
– ApplicationsProgrammingKompoZer
– Double click KompoZer icon on desktop
• To view the different toolbars and status bar , click on
View -> Show/Hide
• Different Toolbar: Composite Toolbar, Format Toolbar1,
Format Toolbar2, Edit Mode Toolbar and Status bar.
• Site Manager and Rulers option also be listed.
• KompoZer has eight menus:- File, Edit, View, Insert, Format,
Table, Tools and Help.
• 3 Toolbars below Menu bar:- Composite Toolbar, Format
Toolbar-1 and Format Toolbar-2
– The composite toolbar is used to create new file, open a file, save a
file or publish a web page.
– The format toolbar1 and format toolbar2 are used to format the
text, add bullets, numbering and perform similar formatting
operations.
2 Panes in the center of the Kompozer Window:
In the centre of the window, you can see two panes:
Site Manager and blank web page
• Site Manager:
– Site Manager is a powerful tool used to navigate within the site or
between the sites.
– KompoZer incorporates a Site Manager which gives rapid access
to the files on both local machines and remote servers
– We can close the site manager pane by clicking on close button or
press F9.
• Blank webpage (Page Pane):
– The page pane shows a blank untitled webpage.
Edit Mode toolbar
The bottom right side of the window shows Edit mode toolbar
with three viewing modes: Normal, HTML tags and Preview
– The Normal View mode
– Webpage along with the table outlines are visible.
– Normal view is very similar to preview mode.
– HTML tags View:
– A Yellow marker is used to indicate the start tag for all
elements.
– Preview Mode:
– The Preview mode offers the page view as seen in a
browser.
– In the Preview mode the script do not run and
therefore their effects will not be seen.
– The links also does not operate in preview mode
3 tabs on the Left side of the page pane:
– The Design tab is used to design the web page.
– The Split tab display the HTML source of the
current element.
– Source tab shows all details of the HTML code. It
helps in editing the source code.
Status Bar
– On the bottom of the window.
– When any item in page is clicked, its structure
appears in the status bar.
Introduction to Form
• With the increase in the use of Internet many activities have
become online.
• Web page is used to fill various information about ourselves or
product.
• HTML forms are used to help the visitors of the website to input
data.
• A form in HTML is a container used to collect different kinds of
inputs from the user.
• It allows for more interactivity and control in data entry.
• Well organized structure designed to input the required the data
and information of website is called form.
• HTML contains elements like label, checkbox, text input field, radio
button, submit button, reset button and many more.
• The form elements are used to enter the data as well as validate
the data within the forms.
Four elements are used in a form:
1) Form
2) Input
3) Textarea
4) Select and option
Form Elements
• Form element acts as a container for all the elements used in the form.
• The tag <form>….</form> is used to implement this element.
• SYNTAX::::: <form action=”file1.html” method=”post”>
• The form element uses two attributes namely action and method
• Action Attribute
– The action attribute is used to specify where to send the form data when the form is
submitted.
– The action attribute takes a filename as value.
• Method Attribute
– The method attribute specifies the HTTP(Hyper Text Transfer Protocol) method to be
used when sending the data.
– The method attribute take two values: GET and POST
• GET Method
»The GET method retrieves the data from the form and sends it to the server by
attaching it at the end of the URL.
»The GET method allows only a limited amount of information to be sent at a
time.
»The default value for method attribute is GET.
• POST Method
»In the POST method, the data is sent as a block through the HTTP transaction.
»POST method does not have any restriction on data length.
»POST method attribute send the data in the body of the request
Input Elements
• The input elements are used to insert various fields in
the form.
• Fields likes 1) Textbox 2) Password 3) Radio button
4) Checkbox 5)Submit button & 6)Reset button
• The tag <input>…….</input> or <input> is used to
implement input element.
• The input tag has different attributes like type, name
and value.
– The type attribute of the input element specifies the field
that is to be created in the form.
– The name attribute specifies the name to be used for the
field in the form.
– The value attribute specifies the default value of the field
in the form.
Various Input Elements created using
type attribute of <input> tag:
• Text or Textbox
– A user can enter any text or data of his choice in the text field.
– Textbox is used to enter data like username, email id etc
– Syntax:::: <input type=”text” name=”fname” value=”priya”>
• Password
– Password filed is used to enter password and it is similar to text
field.
– In password field the characters are not displayed to the user.
Instead the character typed is converted into non readable format.
– Syntax:::: <input type=”password” name=”pwd”>
• Radio button
– Any one radio button can be selected at a time from a group of
radio buttons.
– Generally radio button used to select a single item from a given
group of items.
– Syntax:::: <input type=”radio” name=”gender” value=”female”>
• Checkbox
– Multiple check boxes can be selected at a time.
– Generally used to select a multiple items from a given
group of items
– Syntax:::: <input type=”checkbox” name=”hobby”
value=”reading”>
• Submit button
– On clicking the submit button, the values of data entered
in the form is submitted to the file specified in the action
attribute of the form element.
– Syntax:::: <input type=”submit” value=”Login”>
• Reset button
– On clicking the reset button, the values of data entered in
the form are cleared and set back to default values.
– Syntax:::: <input type=”reset” value=”Clear”>
Textarea Element
• The textarea element allows multi line text input
• The tag <textarea>….</textarea> is used to implement
textarea element.
• Textarea allows entering unlimited number of characters.
• Textarea can be used to enter comment, report or a long
description of product.
• The size of a textarea element can be specifies using rows
and cols attributes.
• The row attribute is used to set the number of rows of text
that will be visible without scrolling up and down.
• The cols attribute is used to set the number of columns of
text that will be visible without scrolling right or left.
• Syntax:::: <textarea name=”address” rows=”5” cols=”20”>
Some content goes here </textarea>
Select and option Element (Drop
down menu)
• The select element is used to create a drop down list
or menu in a form.
• The tag <select>….</select> is used to create a drop
down menu.
• The tag <option>…</option> is used to create the
elements within the menu.
• Selected attribute is optional.
• Syntax::::
<select>
<option> Bhuj</option>
<option>Gandhidham</option>
</select>
Changing background color to the form
• To give a background color to the form from
white color to any other color, go to
FormatPage Colors and Background
• Select “Use custom colors” option. Click the
background option and this display “Block
Background Color” dialog box. Select the
color and click on OK button.
Thank You
Ad

Recommended

PPTX
Std 12 Computer Chapter 4 Introduction to Ecommerce (Part 1 Introduction and ...
Nuzhat Memon
 
PPTX
Diabetes Mellitus
MD Abdul Haleem
 
PPTX
Power Point Presentation on Artificial Intelligence
Anushka Ghosh
 
PPTX
Republic Act No. 11313 Safe Spaces Act (Bawal Bastos Law).pptx
maricelabaya1
 
PPTX
Hypertension
Ratheeshkrishnakripa
 
PPTX
Αφίσες γραμματικής, ορθογραφίας, μαθηματικών για παιδιά του δημοτικού (https:...
Παπαδημητρακοπούλου Τζένη
 
PPTX
Anemia
Dr.Sabari Nathan
 
PPTX
Std 12 Computer Chapter 2 Cascading Style Sheets and Javascript(Part 1 CSS)
Nuzhat Memon
 
PPTX
Std 12 Computer Chapter 2 Cascading Style Sheet and Javascript (Part-2)
Nuzhat Memon
 
PPTX
Std 12 Computer Chapter 3 Designing Simple Website using KompoZer
Nuzhat Memon
 
PPTX
Event In JavaScript
ShahDhruv21
 
PPTX
Std 12 Computer Chapter 5 Introduction to Mcommerce (Part 1)
Nuzhat Memon
 
PPT
CSS for Beginners
Amit Kumar Singh
 
PPTX
Lab #2: Introduction to Javascript
Walid Ashraf
 
PPT
Php forms
Anne Lee
 
PPSX
Javascript variables and datatypes
Varun C M
 
PPTX
XML Document Object Model (DOM)
BOSS Webtech
 
PDF
jQuery for beginners
Arulmurugan Rajaraman
 
PPTX
Std 12 Computer Chapter 7 Java Basics (Part 1)
Nuzhat Memon
 
PDF
3. Java Script
Jalpesh Vasa
 
PDF
Html forms
eShikshak
 
PDF
Html frames
eShikshak
 
PPTX
Html coding
Briana VanBuskirk
 
PPTX
Std 12 computer chapter 8 classes and object in java (part 2)
Nuzhat Memon
 
PDF
JavaScript - Chapter 5 - Operators
WebStackAcademy
 
PDF
CSS_Forms.pdf
gunjansingh599205
 
PPT
Web forms and html lecture Number 4
Mudasir Syed
 

More Related Content

What's hot (20)

PPTX
Std 12 Computer Chapter 2 Cascading Style Sheets and Javascript(Part 1 CSS)
Nuzhat Memon
 
PPTX
Std 12 Computer Chapter 2 Cascading Style Sheet and Javascript (Part-2)
Nuzhat Memon
 
PPTX
Std 12 Computer Chapter 3 Designing Simple Website using KompoZer
Nuzhat Memon
 
PPTX
Event In JavaScript
ShahDhruv21
 
PPTX
Std 12 Computer Chapter 5 Introduction to Mcommerce (Part 1)
Nuzhat Memon
 
PPT
CSS for Beginners
Amit Kumar Singh
 
PPTX
Lab #2: Introduction to Javascript
Walid Ashraf
 
PPT
Php forms
Anne Lee
 
PPSX
Javascript variables and datatypes
Varun C M
 
PPTX
XML Document Object Model (DOM)
BOSS Webtech
 
PDF
jQuery for beginners
Arulmurugan Rajaraman
 
PPTX
Std 12 Computer Chapter 7 Java Basics (Part 1)
Nuzhat Memon
 
PDF
3. Java Script
Jalpesh Vasa
 
PDF
Html forms
eShikshak
 
PDF
Html frames
eShikshak
 
PPTX
Html coding
Briana VanBuskirk
 
PPTX
Std 12 computer chapter 8 classes and object in java (part 2)
Nuzhat Memon
 
PDF
JavaScript - Chapter 5 - Operators
WebStackAcademy
 
Std 12 Computer Chapter 2 Cascading Style Sheets and Javascript(Part 1 CSS)
Nuzhat Memon
 
Std 12 Computer Chapter 2 Cascading Style Sheet and Javascript (Part-2)
Nuzhat Memon
 
Std 12 Computer Chapter 3 Designing Simple Website using KompoZer
Nuzhat Memon
 
Event In JavaScript
ShahDhruv21
 
Std 12 Computer Chapter 5 Introduction to Mcommerce (Part 1)
Nuzhat Memon
 
CSS for Beginners
Amit Kumar Singh
 
Lab #2: Introduction to Javascript
Walid Ashraf
 
Php forms
Anne Lee
 
Javascript variables and datatypes
Varun C M
 
XML Document Object Model (DOM)
BOSS Webtech
 
jQuery for beginners
Arulmurugan Rajaraman
 
Std 12 Computer Chapter 7 Java Basics (Part 1)
Nuzhat Memon
 
3. Java Script
Jalpesh Vasa
 
Html forms
eShikshak
 
Html frames
eShikshak
 
Html coding
Briana VanBuskirk
 
Std 12 computer chapter 8 classes and object in java (part 2)
Nuzhat Memon
 
JavaScript - Chapter 5 - Operators
WebStackAcademy
 

Similar to Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer (20)

PDF
CSS_Forms.pdf
gunjansingh599205
 
PPT
Web forms and html lecture Number 4
Mudasir Syed
 
PPT
Web forms and html (lect 4)
Salman Memon
 
PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
PPTX
Forms Part 1
kjkleindorfer
 
PPTX
Html forms
Himanshu Pathak
 
PPTX
The Complete HTML
Rohit Buddabathina
 
PPTX
Html forms
Er. Nawaraj Bhandari
 
PPTX
Chapter 9: Forms
Steve Guinan
 
PPTX
css and Input attributes
Siji P
 
PPTX
Introduction to Web Development.pptx
Alisha Kamat
 
PPTX
Introduction to Web Development.pptx
GDSCVJTI
 
PPTX
Introduction to Web Development.pptx
Alisha Kamat
 
PPTX
Gitika html ppt
gitika -
 
PPTX
Html tables, forms and audio video
Saad Sheikh
 
PPTX
HTML 5 Basics Part Three
M Ashraful Islam Jewel
 
PPTX
Web topic 20 2 html forms
CK Yang
 
PPTX
2-Chapter Edit.pptx debret tabour university
alemunuruhak9
 
CSS_Forms.pdf
gunjansingh599205
 
Web forms and html lecture Number 4
Mudasir Syed
 
Web forms and html (lect 4)
Salman Memon
 
uptu web technology unit 2 html
Abhishek Kesharwani
 
Forms Part 1
kjkleindorfer
 
Html forms
Himanshu Pathak
 
The Complete HTML
Rohit Buddabathina
 
Chapter 9: Forms
Steve Guinan
 
css and Input attributes
Siji P
 
Introduction to Web Development.pptx
Alisha Kamat
 
Introduction to Web Development.pptx
GDSCVJTI
 
Introduction to Web Development.pptx
Alisha Kamat
 
Gitika html ppt
gitika -
 
Html tables, forms and audio video
Saad Sheikh
 
HTML 5 Basics Part Three
M Ashraful Islam Jewel
 
Web topic 20 2 html forms
CK Yang
 
2-Chapter Edit.pptx debret tabour university
alemunuruhak9
 
Ad

More from Nuzhat Memon (20)

PPTX
Std 10 chapter 11 data type, expression and operators important MCQs
Nuzhat Memon
 
PPTX
Std 10 Chapter 10 Introduction to C Language Important MCQs
Nuzhat Memon
 
PPTX
Std 12 chapter 7 Java Basics Important MCQs
Nuzhat Memon
 
PPTX
Std 12 computer chapter 8 classes and objects in java important MCQs
Nuzhat Memon
 
PPTX
Std 12 Computer Chapter 6 object oriented concept important mcqs
Nuzhat Memon
 
PPTX
Std 12 computer chapter 6 object oriented concepts (part 1)
Nuzhat Memon
 
PPTX
Std 12 computer chapter 6 object oriented concepts (part 2)
Nuzhat Memon
 
PPTX
Std 12 computer java basics part 3 control structure
Nuzhat Memon
 
PPTX
Std 12 Computer Chapter 7 Java Basics (Part 2)
Nuzhat Memon
 
PPTX
Std 12 Computer Chapter 13 other useful free tools and services important MCQs
Nuzhat Memon
 
PPTX
Std 12 Computer Chapter 9 Working with Array and String in Java important MCQs
Nuzhat Memon
 
PPTX
Std 10 computer chapter 10 introduction to c language (part2)
Nuzhat Memon
 
PPTX
Std 10 computer chapter 10 introduction to c language (part1)
Nuzhat Memon
 
PPTX
Std 10 computer chapter 9 Problems and Problem Solving
Nuzhat Memon
 
PPTX
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 3: Masking to R...
Nuzhat Memon
 
PPTX
Chapter 5 Using Pictures in Synfig (Practical 2: Masking to hide area in synfig)
Nuzhat Memon
 
PPTX
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 1 Basics Opera...
Nuzhat Memon
 
PPTX
Std 11 Computer Chapter 4 Introduction to Layers (Part 3 Solving Textual Exe...
Nuzhat Memon
 
PPTX
Std 11 Computer Chapter 4 Introduction to Layers (Part 2 Practical :Rotation ...
Nuzhat Memon
 
PPTX
Std 11 Computer Chapter 4 Introduction to Layers
Nuzhat Memon
 
Std 10 chapter 11 data type, expression and operators important MCQs
Nuzhat Memon
 
Std 10 Chapter 10 Introduction to C Language Important MCQs
Nuzhat Memon
 
Std 12 chapter 7 Java Basics Important MCQs
Nuzhat Memon
 
Std 12 computer chapter 8 classes and objects in java important MCQs
Nuzhat Memon
 
Std 12 Computer Chapter 6 object oriented concept important mcqs
Nuzhat Memon
 
Std 12 computer chapter 6 object oriented concepts (part 1)
Nuzhat Memon
 
Std 12 computer chapter 6 object oriented concepts (part 2)
Nuzhat Memon
 
Std 12 computer java basics part 3 control structure
Nuzhat Memon
 
Std 12 Computer Chapter 7 Java Basics (Part 2)
Nuzhat Memon
 
Std 12 Computer Chapter 13 other useful free tools and services important MCQs
Nuzhat Memon
 
Std 12 Computer Chapter 9 Working with Array and String in Java important MCQs
Nuzhat Memon
 
Std 10 computer chapter 10 introduction to c language (part2)
Nuzhat Memon
 
Std 10 computer chapter 10 introduction to c language (part1)
Nuzhat Memon
 
Std 10 computer chapter 9 Problems and Problem Solving
Nuzhat Memon
 
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 3: Masking to R...
Nuzhat Memon
 
Chapter 5 Using Pictures in Synfig (Practical 2: Masking to hide area in synfig)
Nuzhat Memon
 
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 1 Basics Opera...
Nuzhat Memon
 
Std 11 Computer Chapter 4 Introduction to Layers (Part 3 Solving Textual Exe...
Nuzhat Memon
 
Std 11 Computer Chapter 4 Introduction to Layers (Part 2 Practical :Rotation ...
Nuzhat Memon
 
Std 11 Computer Chapter 4 Introduction to Layers
Nuzhat Memon
 
Ad

Recently uploaded (20)

PDF
Wikinomics How Mass Collaboration Changes Everything Don Tapscott
wcsqyzf5909
 
PPTX
How to Add New Item in CogMenu in Odoo 18
Celine George
 
PPTX
Comparing Translational and Rotational Motion.pptx
AngeliqueTolentinoDe
 
PPTX
JSON, XML and Data Science introduction.pptx
Ramakrishna Reddy Bijjam
 
PPTX
F-BLOCK ELEMENTS POWER POINT PRESENTATIONS
mprpgcwa2024
 
PDF
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
nabilahk908
 
PPTX
Photo chemistry Power Point Presentation
mprpgcwa2024
 
PPTX
ENGLISH -PPT- Week1 Quarter1 -day-1.pptx
garcialhavz
 
PPTX
SYMPATHOMIMETICS[ADRENERGIC AGONISTS] pptx
saip95568
 
PPTX
Peer Teaching Observations During School Internship
AjayaMohanty7
 
PPTX
How to Create & Manage Stages in Odoo 18 Helpdesk
Celine George
 
PDF
DIGESTION OF CARBOHYDRATES ,PROTEINS AND LIPIDS
raviralanaresh2
 
PPTX
Elo the HeroTHIS IS A STORY ABOUT A BOY WHO SAVED A LITTLE GOAT .pptx
JoyIPanos
 
PPTX
ESP 10 Edukasyon sa Pagpapakatao PowerPoint Lessons Quarter 1.pptx
Sir J.
 
PDF
Nanotechnology and Functional Foods Effective Delivery of Bioactive Ingredien...
rmswlwcxai8321
 
PDF
Our Guide to the July 2025 USPS® Rate Change
Postal Advocate Inc.
 
PDF
COM and NET Component Services 1st Edition Juval Löwy
kboqcyuw976
 
PDF
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
DOCX
ANNOTATION on objective 10 on pmes 2022-2025
joviejanesegundo1
 
DOCX
MUSIC AND ARTS 5 DLL MATATAG LESSON EXEMPLAR QUARTER 1_Q1_W1.docx
DianaValiente5
 
Wikinomics How Mass Collaboration Changes Everything Don Tapscott
wcsqyzf5909
 
How to Add New Item in CogMenu in Odoo 18
Celine George
 
Comparing Translational and Rotational Motion.pptx
AngeliqueTolentinoDe
 
JSON, XML and Data Science introduction.pptx
Ramakrishna Reddy Bijjam
 
F-BLOCK ELEMENTS POWER POINT PRESENTATIONS
mprpgcwa2024
 
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
nabilahk908
 
Photo chemistry Power Point Presentation
mprpgcwa2024
 
ENGLISH -PPT- Week1 Quarter1 -day-1.pptx
garcialhavz
 
SYMPATHOMIMETICS[ADRENERGIC AGONISTS] pptx
saip95568
 
Peer Teaching Observations During School Internship
AjayaMohanty7
 
How to Create & Manage Stages in Odoo 18 Helpdesk
Celine George
 
DIGESTION OF CARBOHYDRATES ,PROTEINS AND LIPIDS
raviralanaresh2
 
Elo the HeroTHIS IS A STORY ABOUT A BOY WHO SAVED A LITTLE GOAT .pptx
JoyIPanos
 
ESP 10 Edukasyon sa Pagpapakatao PowerPoint Lessons Quarter 1.pptx
Sir J.
 
Nanotechnology and Functional Foods Effective Delivery of Bioactive Ingredien...
rmswlwcxai8321
 
Our Guide to the July 2025 USPS® Rate Change
Postal Advocate Inc.
 
COM and NET Component Services 1st Edition Juval Löwy
kboqcyuw976
 
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
ANNOTATION on objective 10 on pmes 2022-2025
joviejanesegundo1
 
MUSIC AND ARTS 5 DLL MATATAG LESSON EXEMPLAR QUARTER 1_Q1_W1.docx
DianaValiente5
 

Std 12 Computer Chapter 1 Creating Html Forms Using KompoZer

  • 1. CHAPTER 1 Creating HTML forms using KompoZer
  • 2. Use of IDE to create a form • Full form of IDE is Integrated Development Environment • Creating a form using HTML tags is tedious process. • An IDE is a software application that provides complete facilities to programmer to develop software. • IDE provides 1)GUI – Graphical User Interface 2)Text/code Editor 3) compiler and/or interpreter and 4) a debugger. • 1) Kompozer, 2) Eclipse, 3) JBuilder and 4) Netbeans are all examples of some open source IDEs.
  • 3. Introduction to KompoZer • KompoZer is a free open source web development IDE. • KompoZer can be downloaded from http://www.KompoZer.net. • It provides a webpage editor which has a simple graphical interface known as WYSIWYG • WYSIWYG means “What You See is What You Get” • It is a complete web authoring system which integrates 1) webpage development and 2) web file management.
  • 4. Interface to KompoZer • Open KompoZer:::: – ApplicationsProgrammingKompoZer – Double click KompoZer icon on desktop • To view the different toolbars and status bar , click on View -> Show/Hide • Different Toolbar: Composite Toolbar, Format Toolbar1, Format Toolbar2, Edit Mode Toolbar and Status bar. • Site Manager and Rulers option also be listed. • KompoZer has eight menus:- File, Edit, View, Insert, Format, Table, Tools and Help. • 3 Toolbars below Menu bar:- Composite Toolbar, Format Toolbar-1 and Format Toolbar-2 – The composite toolbar is used to create new file, open a file, save a file or publish a web page. – The format toolbar1 and format toolbar2 are used to format the text, add bullets, numbering and perform similar formatting operations.
  • 5. 2 Panes in the center of the Kompozer Window: In the centre of the window, you can see two panes: Site Manager and blank web page • Site Manager: – Site Manager is a powerful tool used to navigate within the site or between the sites. – KompoZer incorporates a Site Manager which gives rapid access to the files on both local machines and remote servers – We can close the site manager pane by clicking on close button or press F9. • Blank webpage (Page Pane): – The page pane shows a blank untitled webpage.
  • 6. Edit Mode toolbar The bottom right side of the window shows Edit mode toolbar with three viewing modes: Normal, HTML tags and Preview – The Normal View mode – Webpage along with the table outlines are visible. – Normal view is very similar to preview mode. – HTML tags View: – A Yellow marker is used to indicate the start tag for all elements. – Preview Mode: – The Preview mode offers the page view as seen in a browser. – In the Preview mode the script do not run and therefore their effects will not be seen. – The links also does not operate in preview mode
  • 7. 3 tabs on the Left side of the page pane: – The Design tab is used to design the web page. – The Split tab display the HTML source of the current element. – Source tab shows all details of the HTML code. It helps in editing the source code. Status Bar – On the bottom of the window. – When any item in page is clicked, its structure appears in the status bar.
  • 8. Introduction to Form • With the increase in the use of Internet many activities have become online. • Web page is used to fill various information about ourselves or product. • HTML forms are used to help the visitors of the website to input data. • A form in HTML is a container used to collect different kinds of inputs from the user. • It allows for more interactivity and control in data entry. • Well organized structure designed to input the required the data and information of website is called form. • HTML contains elements like label, checkbox, text input field, radio button, submit button, reset button and many more. • The form elements are used to enter the data as well as validate the data within the forms.
  • 9. Four elements are used in a form: 1) Form 2) Input 3) Textarea 4) Select and option
  • 10. Form Elements • Form element acts as a container for all the elements used in the form. • The tag <form>….</form> is used to implement this element. • SYNTAX::::: <form action=”file1.html” method=”post”> • The form element uses two attributes namely action and method • Action Attribute – The action attribute is used to specify where to send the form data when the form is submitted. – The action attribute takes a filename as value. • Method Attribute – The method attribute specifies the HTTP(Hyper Text Transfer Protocol) method to be used when sending the data. – The method attribute take two values: GET and POST • GET Method »The GET method retrieves the data from the form and sends it to the server by attaching it at the end of the URL. »The GET method allows only a limited amount of information to be sent at a time. »The default value for method attribute is GET. • POST Method »In the POST method, the data is sent as a block through the HTTP transaction. »POST method does not have any restriction on data length. »POST method attribute send the data in the body of the request
  • 11. Input Elements • The input elements are used to insert various fields in the form. • Fields likes 1) Textbox 2) Password 3) Radio button 4) Checkbox 5)Submit button & 6)Reset button • The tag <input>…….</input> or <input> is used to implement input element. • The input tag has different attributes like type, name and value. – The type attribute of the input element specifies the field that is to be created in the form. – The name attribute specifies the name to be used for the field in the form. – The value attribute specifies the default value of the field in the form.
  • 12. Various Input Elements created using type attribute of <input> tag: • Text or Textbox – A user can enter any text or data of his choice in the text field. – Textbox is used to enter data like username, email id etc – Syntax:::: <input type=”text” name=”fname” value=”priya”> • Password – Password filed is used to enter password and it is similar to text field. – In password field the characters are not displayed to the user. Instead the character typed is converted into non readable format. – Syntax:::: <input type=”password” name=”pwd”> • Radio button – Any one radio button can be selected at a time from a group of radio buttons. – Generally radio button used to select a single item from a given group of items. – Syntax:::: <input type=”radio” name=”gender” value=”female”>
  • 13. • Checkbox – Multiple check boxes can be selected at a time. – Generally used to select a multiple items from a given group of items – Syntax:::: <input type=”checkbox” name=”hobby” value=”reading”> • Submit button – On clicking the submit button, the values of data entered in the form is submitted to the file specified in the action attribute of the form element. – Syntax:::: <input type=”submit” value=”Login”> • Reset button – On clicking the reset button, the values of data entered in the form are cleared and set back to default values. – Syntax:::: <input type=”reset” value=”Clear”>
  • 14. Textarea Element • The textarea element allows multi line text input • The tag <textarea>….</textarea> is used to implement textarea element. • Textarea allows entering unlimited number of characters. • Textarea can be used to enter comment, report or a long description of product. • The size of a textarea element can be specifies using rows and cols attributes. • The row attribute is used to set the number of rows of text that will be visible without scrolling up and down. • The cols attribute is used to set the number of columns of text that will be visible without scrolling right or left. • Syntax:::: <textarea name=”address” rows=”5” cols=”20”> Some content goes here </textarea>
  • 15. Select and option Element (Drop down menu) • The select element is used to create a drop down list or menu in a form. • The tag <select>….</select> is used to create a drop down menu. • The tag <option>…</option> is used to create the elements within the menu. • Selected attribute is optional. • Syntax:::: <select> <option> Bhuj</option> <option>Gandhidham</option> </select>
  • 16. Changing background color to the form • To give a background color to the form from white color to any other color, go to FormatPage Colors and Background • Select “Use custom colors” option. Click the background option and this display “Block Background Color” dialog box. Select the color and click on OK button.