Wednesday, 18 February 2015

Blog (Text Area, Upload)

Upload

  • The syntax for this input is:
<form method="post/get" action="URL/file">
.
<input type="file" attributes>
.
</form>


  • File upload allows your visitors to send files to your web server using standard forms.
  • Its attributes are:
    • method
    • action
    • enctype
Text Area
  • The syntax for this is:
<form method="post/get" action="URL/file">
.
<textarea attributes> ... </textarea>
.
</form>

  • This allows you to create a multi-line text input form control. The user is able to input text and send to your webserver. 
  • The attributes are: 
    • name
    • rows
    • columns
    • wrap
    • disabled 



  1. Text Area and Upload are similar because both allow the user to submit or turn in information to your web server. Text Area however, only allows you to type information and submit it. Upload allows you to upload files and send them to the server. So the difference between these two are the content you are able to send. 
  2. To make a form always play it smart. Many of these tags are not so different from each other. Therefore, make use of copy and past. It saves a lot of time and yields your work exactly the same as compared to manually typing every tag. 


No comments:

Post a Comment