SlideShare a Scribd company logo
1 of 17
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

More Related Content

What's hot

Windows form application - C# Training
Windows form application - C# Training Windows form application - C# Training
Windows form application - C# Training Moutasm Tamimi
 
Event In JavaScript
Event In JavaScriptEvent In JavaScript
Event In JavaScriptShahDhruv21
 
Asp.net state management
Asp.net state managementAsp.net state management
Asp.net state managementpriya Nithya
 
Lecture 1 intro to web designing
Lecture 1  intro to web designingLecture 1  intro to web designing
Lecture 1 intro to web designingpalhaftab
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptWalid Ashraf
 
Html links
Html linksHtml links
Html linksJayjZens
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptFahim Abdullah
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSSMario Hernandez
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NETRajkumarsoy
 

What's hot (20)

Html forms
Html formsHtml forms
Html forms
 
Windows form application - C# Training
Windows form application - C# Training Windows form application - C# Training
Windows form application - C# Training
 
Javascript
JavascriptJavascript
Javascript
 
Event In JavaScript
Event In JavaScriptEvent In JavaScript
Event In JavaScript
 
Asp.net state management
Asp.net state managementAsp.net state management
Asp.net state management
 
Visual Basic Controls ppt
Visual Basic Controls pptVisual Basic Controls ppt
Visual Basic Controls ppt
 
Lecture 1 intro to web designing
Lecture 1  intro to web designingLecture 1  intro to web designing
Lecture 1 intro to web designing
 
Basics of JavaScript
Basics of JavaScriptBasics of JavaScript
Basics of JavaScript
 
Javascript event handler
Javascript event handlerJavascript event handler
Javascript event handler
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
 
Android User Interface
Android User InterfaceAndroid User Interface
Android User Interface
 
Html links
Html linksHtml links
Html links
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
 
Javascript
JavascriptJavascript
Javascript
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
 
Css font properties
Css font propertiesCss font properties
Css font properties
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
 
JavaScript Basics
JavaScript BasicsJavaScript Basics
JavaScript Basics
 
3. Java Script
3. Java Script3. Java Script
3. Java Script
 

Similar to Create HTML Forms using KompoZer IDE

Similar to Create HTML Forms using KompoZer IDE (20)

CSS_Forms.pdf
CSS_Forms.pdfCSS_Forms.pdf
CSS_Forms.pdf
 
Web forms and html lecture Number 4
Web forms and html lecture Number 4Web forms and html lecture Number 4
Web forms and html lecture Number 4
 
Web forms and html (lect 4)
Web forms and html (lect 4)Web forms and html (lect 4)
Web forms and html (lect 4)
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Html4
Html4Html4
Html4
 
Forms Part 1
Forms Part 1Forms Part 1
Forms Part 1
 
Html forms
Html formsHtml forms
Html forms
 
Html4
Html4Html4
Html4
 
The Complete HTML
The Complete HTMLThe Complete HTML
The Complete HTML
 
Html forms
Html formsHtml forms
Html forms
 
Chapter 9: Forms
Chapter 9: FormsChapter 9: Forms
Chapter 9: Forms
 
css and Input attributes
css and Input attributescss and Input attributes
css and Input attributes
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptx
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptx
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptx
 
Gitika html ppt
Gitika html pptGitika html ppt
Gitika html ppt
 
Html tables, forms and audio video
Html tables, forms and audio videoHtml tables, forms and audio video
Html tables, forms and audio video
 
HTML 5 Basics Part Three
HTML 5 Basics Part ThreeHTML 5 Basics Part Three
HTML 5 Basics Part Three
 
Web topic 20 2 html forms
Web topic 20 2  html formsWeb topic 20 2  html forms
Web topic 20 2 html forms
 
Forms
FormsForms
Forms
 

More from Nuzhat Memon

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

More from Nuzhat Memon (20)

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

Recently uploaded

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 

Recently uploaded (20)

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 

Create HTML Forms using KompoZer IDE

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