The basic HTML syntax (form)

First, the basic form of presentation

  Form: the Internet is a configuration used to collect user information, previously defined in the HTML them a good label to complete the matter, the tag name for the form, it is a dual tag <form action = "" method = "" > <form />

  

<! DOCTYPE HTML > 
< HTML > 
    < head > 
        < Meta charset = "UTF-. 8" > 
        < title > form substantially describes Form </ title > 
    </ head > 
    < body > 
        <-! Default statement form but in the case of the current structure is a form that there is no box for users to enter information, and looks like a piece of paper.
         At this time if you want to collect user information through a form, you must be prepared for reference by the user input box in this white paper, these boxes called form elements
        -->
        <form action="" method="">
            用户名:<input type="text" name="" id="" value="" />
            密码:<input type="text" name="" id="" value="" />
            <input type="submit" />
        <form/>
        
    </body>
</html>

  

 

Guess you like

Origin www.cnblogs.com/jingdenghuakai/p/11032568.html