|
ASP.NET Book
The online ASP.NET Tutorial Book |
|||||||||
|
|
|||||||||
ASP.NET BasicsHTML BasicsASP.NET Web Server Advanced HTML Application Designing Using Visual Studio ASP.NET Standards ASP.NET Styling ASP.NET Navigation ASP.NET TipsASP.NET ValidationHTML forms CSS Styling CSS Advanced ASP.NET Features ASP.NET Image Effects Common mistakes DB Design tips Building ApplicationsDesign Secure AppsBuild Secure Apps |
1. Defining HTML Forms - <form> tag |
||||||||
|
Let’s assume you want to create a form, the first thing you need to do is define a Form element. The following shows a code snippet how this can be achieved.
<form id="form1"> Form tags like other HTML tags apply the functions to anything and everything in between the opening and the closing tags and this will be the part of the Form. Note:
For example:
You can leave a “<form>” tag without anything in between them and nothing will be shown. When using the “<form>” tags there are THREE main attributes which can be used and are as follows: Table of Contents» Chapter 1 - Defining HTML Forms - <form> tag [top] |
|||||||||