SlideShare ist ein Scribd-Unternehmen logo
1 von 6
WEBPROG1-HTML                                             Midterm Period
                                                             Handout #7


HTML Forms

     Forms are a vital tool for the webmaster to receive information
from the web surfer, such as: their name, email address, credit card,
etc. A form will take input from the viewer and depending on your
needs you may store that data into a file, place an order, gather user
statistics, register the person to your web forum, or maybe subscribe
them to your weekly newsletter.

Text Fields

    Before we teach you how to make a complete form, let's start out
with the basics of forms. Input fields are going to be the meat of your
form's sandwich. The <input> has a few attributes that you should be
aware of.

      o type - Determines what kind of input field it will be. Possible
        choices are text, submit, and password.
      o name - Assigns a name to the given field so that you may
        reference it later.
      o size - Sets the horizontal width of the field. The unit of
        measurement is in blank spaces.
      o maxlength - Dictates the maximum number of characters
        that can be entered.

Code:
<form method="post" action="mailto:youremail@email.com">
Name: <input type="text" size="10" maxlength="40" name="name">
<br />
Password: <input type="password" size="10" maxlength="10"
name="password">
</form>

Display:
Name:
Password:

    Do not use the password feature for security purposes. The data in
the password field is not encrypted and is not secure in any way.




Prepared By: RICHARD F. ORPIANO                              Page 1 of 6
WEBPROG1-HTML                                              Midterm Period
                                                              Handout #7


HTML Form Email

     Now we will add the sumbit functionality to your form. Generally,
the button should be the last item of your form and have its name
attribute set to "Send" or "Submit". Name defines what the label of the
button will be. Here is a list of important attributes of the submit:

     In addition to adding the submit button, we must also add a
destination for this information and specify how we want it to travel to
that place. Adding the following attributes to your <form> will do just
this.

    o method - We will only be using the post functionality of
      method, which sends the data without displaying any of the
      information to the visitor.
    o action - Specifies the URL to send the data to. We will be
      sending our information to a fake email address.

Code:
<form method="post" action="mailto:youremail@email.com">
Name: <input type="text" size="10" maxlength="40" name="name">
<br />
Password: <input type="password" size="10" maxlength="10"
name="password"><br />
<input type="submit" value="Send">
</form>

Display:
Name:
Password:


    Simply change the email address to your own and you will have
set up your first functional form!

HTML Radio Buttons

    Radio buttons are a popular form of interaction. You may have
seen them on quizzes, questionnaires, and other web sites that give
the user a multiple choice question. Below are a couple attributes you
should know that relate to the radio button.




Prepared By: RICHARD F. ORPIANO                               Page 2 of 6
WEBPROG1-HTML                                             Midterm Period
                                                             Handout #7


      o value - specifies what will be sent if the user chooses this
        radio button. Only one value will be sent for a given group of
        radio buttons (see name for more information).
      o name - defines which set of radio buttons that it is a part of.
        Below we have 2 groups: shade and size.

Code:
<form method="post" action="mailto:youremail@email.com">
What kind of shirt are you wearing? <br />
Shade:
<input type="radio" name="shade" value="dark">Dark
<input type="radio" name="shade" value="light">Light <br />
Size:
<input type="radio" name="size" value="small">Small
<input type="radio" name="size" value="medium">Medium
<input type="radio" name="size" value="large">Large <br />
<input type="submit" value="Email Myself">
</form>

Display:
What kind of shirt are you wearing?
Shade: Dark Light
Size: Small Medium Large


    If you change the email address to your own and "Email Myself"
then you should get an email with "shade=(choice) size=(choice)".

HTML Check Boxes

    Check boxes allow for multiple items to be selected for a certain
group of choices. The check box's name and value attributes behave
the same as a radio button.

Code:
<form method="post" action="mailto:youremail@email.com">
Select your favorite cartoon characters.
<input type="checkbox" name="toon" value="Goofy">Goofy
<input type="checkbox" name="toon" value="Donald">Donald
<input type="checkbox" name="toon" value="Bugs">Bugs Bunny
<input type="checkbox" name="toon" value="Scoob">Scooby Doo
<input type="submit" value="Email Myself">
</form>




Prepared By: RICHARD F. ORPIANO                              Page 3 of 6
WEBPROG1-HTML                                               Midterm Period
                                                               Handout #7


Display:
Select the 2 greatest toons.
Goofy
Donald
Bugs Bunny
Scooby Doo


HTML Drop Down Lists

    Drop down menus are created with the <select> and <option>
tags. <select> is the list itself and each <option> is an available
choice for the user.

Code:
<form method="post" action="mailto:youremail@email.com">
College Degree?
<select name="degree">
<option>Choose One</option>
<option>Some High School</option>
<option>High School Degree</option>
<option>Some College</option>
<option>Bachelor's Degree</option>
<option>Doctorate</option>
<input type="submit" value="Email Yourself">
</select>
</form>

Display:
Education?

HTML Selection Forms

    Yet another type of form, a highlighted selection list. This form will
post what the user highlights. Basically just another type of way to get
input from the user.

    The size attribute selects how many options will be shown at once
before needing to scroll, and the selected option tells the browser
which choice to select by default.

Code:
<form method="post" action="mailto:youremail@email.com">
Musical Taste


Prepared By: RICHARD F. ORPIANO                                 Page 4 of 6
WEBPROG1-HTML                                               Midterm Period
                                                               Handout #7


<select multiple name="music" size="4">
<option value="emo" selected>Emo</option>
<option value="metal/rock" >Metal/Rock</option>
<option value="hiphop" >Hip Hop</option>
<option value="ska" >Ska</option>
<option value="jazz" >Jazz</option>
<option value="country" >Country</option>
<option value="classical" >Classical</option>
<option value="alternative" >Alternative</option>
<option value="oldies" >Oldies</option>
<option value="techno" >Techno</option>
</select>
<input type="submit" value="Email Yourself">
</form>

Display:

Musical Taste



HTML Text Areas

    Text areas serve as an input field for viewers to place their own
comments onto. Forums and the like use text areas to post what you
type onto their site using scripts. For this form, the text area is used
as a way to write comments to somebody.

    Rows and columns need to be specified as attributes to the
<textarea> tag. Rows are roughly 12pixels high, the same as in word
programs and the value of the columns reflects how many characters
wide the text area will be. i.e. The example below shows a text area 5
rows tall and 20 characters wide.




       Another attribute to be aware of is the wrap. Wrap has 3 values.

   •    wrap=
          o "off"



Prepared By: RICHARD F. ORPIANO                                Page 5 of 6
WEBPROG1-HTML                                            Midterm Period
                                                            Handout #7


         o   "virtual"
         o   "physical"

    Virtual means that the viewer will see the words wrapping as they
type their comments, but when the page is submitted to you, the web
host, the document sent will not have wrapping words.
Physical means that the text will appear both to you, the web host,
and the viewer including any page breaks and additional spaces that
may     be    inputed.    The   words    come      as    they are.
Off of course, turns off word wrapping within the text area.

Code:
<form method="post" action="mailto:youremail@email.com">
<textarea rows="5" cols="20" wrap="physical" name="comments">
Enter Comments Here
</textarea>
<input type="submit" value="Email Yourself">
</form>




Display:


    Also note that any text placed between the opening and closing
textarea tags will show up inside the text area when the browser views
it.




Prepared By: RICHARD F. ORPIANO                             Page 6 of 6

Weitere ähnliche Inhalte

Was ist angesagt?

Creating a webpage in html
Creating a webpage in htmlCreating a webpage in html
Creating a webpage in html
Shrey Goswami
 

Was ist angesagt? (17)

Creating a webpage in html
Creating a webpage in htmlCreating a webpage in html
Creating a webpage in html
 
Html
HtmlHtml
Html
 
Html form
Html formHtml form
Html form
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Introduction to HTML
Introduction to HTML Introduction to HTML
Introduction to HTML
 
HTML & CSS
HTML & CSSHTML & CSS
HTML & CSS
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
PHP HTML CSS Notes
PHP HTML CSS  NotesPHP HTML CSS  Notes
PHP HTML CSS Notes
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Css
CssCss
Css
 
Html ppt computer
Html ppt computerHtml ppt computer
Html ppt computer
 
How to create a html webpage using notepad
How to create a html webpage using notepadHow to create a html webpage using notepad
How to create a html webpage using notepad
 
Htmltag.ppt
Htmltag.pptHtmltag.ppt
Htmltag.ppt
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
Html basics
Html basicsHtml basics
Html basics
 
Html example
Html exampleHtml example
Html example
 

Andere mochten auch (6)

Handout6 html frames
Handout6 html framesHandout6 html frames
Handout6 html frames
 
Handout5 tables
Handout5 tablesHandout5 tables
Handout5 tables
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Writing chapter 3
Writing chapter 3Writing chapter 3
Writing chapter 3
 

Ähnlich wie Handout7 html forms

Designing web pages html forms and input
Designing web pages html  forms and inputDesigning web pages html  forms and input
Designing web pages html forms and input
Jesus Obenita Jr.
 
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
Mudasir Syed
 
Html advanced-reference-guide for creating web forms
Html advanced-reference-guide for creating web formsHtml advanced-reference-guide for creating web forms
Html advanced-reference-guide for creating web forms
satish 486
 
Html basics 10 form
Html basics 10 formHtml basics 10 form
Html basics 10 form
H K
 
Html5ppt
Html5pptHtml5ppt
Html5ppt
recroup
 

Ähnlich wie Handout7 html forms (20)

Designing web pages html forms and input
Designing web pages html  forms and inputDesigning web pages html  forms and input
Designing web pages html forms and input
 
Html forms
Html formsHtml forms
Html forms
 
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
 
Html advanced-reference-guide for creating web forms
Html advanced-reference-guide for creating web formsHtml advanced-reference-guide for creating web forms
Html advanced-reference-guide for creating web forms
 
Html form tag
Html form tagHtml form tag
Html form tag
 
HTML frames and HTML forms
HTML frames and HTML formsHTML frames and HTML forms
HTML frames and HTML forms
 
Html Form Controls
Html Form ControlsHtml Form Controls
Html Form Controls
 
Html forms
Html formsHtml forms
Html forms
 
Html form
Html formHtml form
Html form
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
 
Getting Information through HTML Forms
Getting Information through HTML FormsGetting Information through HTML Forms
Getting Information through HTML Forms
 
Html class-04
Html class-04Html class-04
Html class-04
 
Html basics 10 form
Html basics 10 formHtml basics 10 form
Html basics 10 form
 
Forms,Frames.ppt
Forms,Frames.pptForms,Frames.ppt
Forms,Frames.ppt
 
Forms,Frames.ppt
Forms,Frames.pptForms,Frames.ppt
Forms,Frames.ppt
 
ASSIGNMENT3 ew.docx
ASSIGNMENT3 ew.docxASSIGNMENT3 ew.docx
ASSIGNMENT3 ew.docx
 
Html5ppt
Html5pptHtml5ppt
Html5ppt
 
CSS_Forms.pdf
CSS_Forms.pdfCSS_Forms.pdf
CSS_Forms.pdf
 
Unit 2
Unit 2 Unit 2
Unit 2
 
HTML FORMS.pptx
HTML FORMS.pptxHTML FORMS.pptx
HTML FORMS.pptx
 

Mehr von Nadine Guevarra (14)

Handout4 lists
Handout4 listsHandout4 lists
Handout4 lists
 
Questionnaire
QuestionnaireQuestionnaire
Questionnaire
 
War and man’s past
War and man’s pastWar and man’s past
War and man’s past
 
Olympics
OlympicsOlympics
Olympics
 
Mother and child
Mother and childMother and child
Mother and child
 
Lec no. 3 comp hardware components
Lec no. 3 comp hardware componentsLec no. 3 comp hardware components
Lec no. 3 comp hardware components
 
Intro to spreadsheet
Intro to spreadsheetIntro to spreadsheet
Intro to spreadsheet
 
Excel.01
Excel.01Excel.01
Excel.01
 
Robert frost 001
Robert frost 001Robert frost 001
Robert frost 001
 
On giving 001
On giving 001On giving 001
On giving 001
 
Poetry 001
Poetry 001Poetry 001
Poetry 001
 
Robert frost 001
Robert frost 001Robert frost 001
Robert frost 001
 
The river merchant's wife 001
The river merchant's wife 001The river merchant's wife 001
The river merchant's wife 001
 
Wl lecture 2 essay 001
Wl lecture 2 essay 001Wl lecture 2 essay 001
Wl lecture 2 essay 001
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

Handout7 html forms

  • 1. WEBPROG1-HTML Midterm Period Handout #7 HTML Forms Forms are a vital tool for the webmaster to receive information from the web surfer, such as: their name, email address, credit card, etc. A form will take input from the viewer and depending on your needs you may store that data into a file, place an order, gather user statistics, register the person to your web forum, or maybe subscribe them to your weekly newsletter. Text Fields Before we teach you how to make a complete form, let's start out with the basics of forms. Input fields are going to be the meat of your form's sandwich. The <input> has a few attributes that you should be aware of. o type - Determines what kind of input field it will be. Possible choices are text, submit, and password. o name - Assigns a name to the given field so that you may reference it later. o size - Sets the horizontal width of the field. The unit of measurement is in blank spaces. o maxlength - Dictates the maximum number of characters that can be entered. Code: <form method="post" action="mailto:youremail@email.com"> Name: <input type="text" size="10" maxlength="40" name="name"> <br /> Password: <input type="password" size="10" maxlength="10" name="password"> </form> Display: Name: Password: Do not use the password feature for security purposes. The data in the password field is not encrypted and is not secure in any way. Prepared By: RICHARD F. ORPIANO Page 1 of 6
  • 2. WEBPROG1-HTML Midterm Period Handout #7 HTML Form Email Now we will add the sumbit functionality to your form. Generally, the button should be the last item of your form and have its name attribute set to "Send" or "Submit". Name defines what the label of the button will be. Here is a list of important attributes of the submit: In addition to adding the submit button, we must also add a destination for this information and specify how we want it to travel to that place. Adding the following attributes to your <form> will do just this. o method - We will only be using the post functionality of method, which sends the data without displaying any of the information to the visitor. o action - Specifies the URL to send the data to. We will be sending our information to a fake email address. Code: <form method="post" action="mailto:youremail@email.com"> Name: <input type="text" size="10" maxlength="40" name="name"> <br /> Password: <input type="password" size="10" maxlength="10" name="password"><br /> <input type="submit" value="Send"> </form> Display: Name: Password: Simply change the email address to your own and you will have set up your first functional form! HTML Radio Buttons Radio buttons are a popular form of interaction. You may have seen them on quizzes, questionnaires, and other web sites that give the user a multiple choice question. Below are a couple attributes you should know that relate to the radio button. Prepared By: RICHARD F. ORPIANO Page 2 of 6
  • 3. WEBPROG1-HTML Midterm Period Handout #7 o value - specifies what will be sent if the user chooses this radio button. Only one value will be sent for a given group of radio buttons (see name for more information). o name - defines which set of radio buttons that it is a part of. Below we have 2 groups: shade and size. Code: <form method="post" action="mailto:youremail@email.com"> What kind of shirt are you wearing? <br /> Shade: <input type="radio" name="shade" value="dark">Dark <input type="radio" name="shade" value="light">Light <br /> Size: <input type="radio" name="size" value="small">Small <input type="radio" name="size" value="medium">Medium <input type="radio" name="size" value="large">Large <br /> <input type="submit" value="Email Myself"> </form> Display: What kind of shirt are you wearing? Shade: Dark Light Size: Small Medium Large If you change the email address to your own and "Email Myself" then you should get an email with "shade=(choice) size=(choice)". HTML Check Boxes Check boxes allow for multiple items to be selected for a certain group of choices. The check box's name and value attributes behave the same as a radio button. Code: <form method="post" action="mailto:youremail@email.com"> Select your favorite cartoon characters. <input type="checkbox" name="toon" value="Goofy">Goofy <input type="checkbox" name="toon" value="Donald">Donald <input type="checkbox" name="toon" value="Bugs">Bugs Bunny <input type="checkbox" name="toon" value="Scoob">Scooby Doo <input type="submit" value="Email Myself"> </form> Prepared By: RICHARD F. ORPIANO Page 3 of 6
  • 4. WEBPROG1-HTML Midterm Period Handout #7 Display: Select the 2 greatest toons. Goofy Donald Bugs Bunny Scooby Doo HTML Drop Down Lists Drop down menus are created with the <select> and <option> tags. <select> is the list itself and each <option> is an available choice for the user. Code: <form method="post" action="mailto:youremail@email.com"> College Degree? <select name="degree"> <option>Choose One</option> <option>Some High School</option> <option>High School Degree</option> <option>Some College</option> <option>Bachelor's Degree</option> <option>Doctorate</option> <input type="submit" value="Email Yourself"> </select> </form> Display: Education? HTML Selection Forms Yet another type of form, a highlighted selection list. This form will post what the user highlights. Basically just another type of way to get input from the user. The size attribute selects how many options will be shown at once before needing to scroll, and the selected option tells the browser which choice to select by default. Code: <form method="post" action="mailto:youremail@email.com"> Musical Taste Prepared By: RICHARD F. ORPIANO Page 4 of 6
  • 5. WEBPROG1-HTML Midterm Period Handout #7 <select multiple name="music" size="4"> <option value="emo" selected>Emo</option> <option value="metal/rock" >Metal/Rock</option> <option value="hiphop" >Hip Hop</option> <option value="ska" >Ska</option> <option value="jazz" >Jazz</option> <option value="country" >Country</option> <option value="classical" >Classical</option> <option value="alternative" >Alternative</option> <option value="oldies" >Oldies</option> <option value="techno" >Techno</option> </select> <input type="submit" value="Email Yourself"> </form> Display: Musical Taste HTML Text Areas Text areas serve as an input field for viewers to place their own comments onto. Forums and the like use text areas to post what you type onto their site using scripts. For this form, the text area is used as a way to write comments to somebody. Rows and columns need to be specified as attributes to the <textarea> tag. Rows are roughly 12pixels high, the same as in word programs and the value of the columns reflects how many characters wide the text area will be. i.e. The example below shows a text area 5 rows tall and 20 characters wide. Another attribute to be aware of is the wrap. Wrap has 3 values. • wrap= o "off" Prepared By: RICHARD F. ORPIANO Page 5 of 6
  • 6. WEBPROG1-HTML Midterm Period Handout #7 o "virtual" o "physical" Virtual means that the viewer will see the words wrapping as they type their comments, but when the page is submitted to you, the web host, the document sent will not have wrapping words. Physical means that the text will appear both to you, the web host, and the viewer including any page breaks and additional spaces that may be inputed. The words come as they are. Off of course, turns off word wrapping within the text area. Code: <form method="post" action="mailto:youremail@email.com"> <textarea rows="5" cols="20" wrap="physical" name="comments"> Enter Comments Here </textarea> <input type="submit" value="Email Yourself"> </form> Display: Also note that any text placed between the opening and closing textarea tags will show up inside the text area when the browser views it. Prepared By: RICHARD F. ORPIANO Page 6 of 6