form id - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:form

Introduction

The value of the name attribute is not sent to the server when the form is posted.

This attribute has value only in the DOM.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
   <head> 
      <title>Example</title> 
   </head> 
   <body> 
      <form name="fruitvote" id="fruitvote" method="post" action="http://example.com/form"> 
         <input name="fave"> 
         <input name="name"> 
         <button>Submit Vote</button> 
      </form>  
   </body><!--   w  w  w  .  j ava 2 s  .  c om-->
</html>

Related Tutorials