HTML Form Initial Learning

Source: Internet
Author: User

<HTML><Head><title>Static page</title></Head><Body>This is a static page<BR><!--Target: _blank--Opens the link in a new window _parent--Opens the link in the parent form _self--Opens the link in the current form, this is the default value _top--Opens the link in the current form and replaces the current entire form (frames page) -<ahref= "Https://www.baidu.com"Target= "_blank">This is a link</a><BR><H1>Form</H1><!--Action: The destination address of the form to be submitted method: How data is submitted in the form -<formAction= "action.html"Method= "GET"><!--text Box -Name:<inputtype= "text"name= "Name"> <BR><!--Radio box, for a set of elements, make sure their Name property is the same -Gender:<inputtype= "Radio"name= "Sex"value= "Male">male<inputtype= "Radio"name= "Sex"value= "female">Woman<BR>College:<Selectname= "School"><optionvalue= "HT">Institute of Aeronautics and Astronautics</option><optionvalue= "RW">School of Software and microelectronics</option></Select><BR><!--check box, for a set of elements, make sure their Name property is the same -Hobbies:<inputtype= "checkbox"name= "Hobby"value= "Swimming">Swimming<inputtype= "checkbox"name= "Hobby"value= "Run">Running<inputtype= "checkbox"name= "Hobby"value= "Football">Football<BR>Password:<inputtype= "Password"name= "PSWD"> <BR><inputtype= "Submit"value= "Submit"><inputtype= "Reset"value= "Reset"><!--spaces--

In
</ form >

<!--table: TR element defines table row, th element defines table header, TD element defines table cell--
<table border= "1" >
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</table>


</ Body >

</ HTML >

HTML Form Initial Learning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.