Basic jsp web html knowledge

Source: Internet
Author: User

Basic html knowledge

Table:

Tr row
Border = "1"

Align = "center"
Td Column

Hyperlink:


Multiple choice checkbox

Single-choice radio can only be viewed by name in a group

<Input type = "text">

Option:
Education level: <select>
<Option> university </option>
<Option> middle school </option>
</Select>


File Upload: <input type = "file">
Button: <input type = "button" value = "hello word" onclick = "javascript: alert ('Hello World');">

 

Html code
<Html>
<Head>
<Title> hello </title>
</Head>
 
<Body>
<P> [Url = http://baidu.com] this is BaiDu [/url]
 
<! --
<Table border = "1" align = "center" width = "80%">
<Tr>
<Td> aa </td>

</Tr>


<Tr>
<Td align = "center"> aa </td>

</Tr>
-->

<Form>
Please input: <input type = "text">
<Br>
Please input: <input>
<Br>
Please input password: <input type = "password">
<Br>
Interest: Learning <input type = "checkbox">
Travel <input type = "checkbox">
<Br>
Gender: male <input type = "radio" name = "qender">
Female <input type = "radio" name = "qender">
<Br>
Education level: <select>
<Option> university </option>
<Option> middle school </option>
</Select>
<Br>
Comment: <textarea>
Hello
</Textarea>
<Br>
File Upload: <input type = "file">
<Br>

<Br>
<Input type = "submit" value = "submit"> <input type = "reset" value = "reset">
& Nbsp <input type = "button" value = "hello word" onclick = "javascript: alert ('Hello World');">
Figure:

</Form>
 
 
</Table>
</Body>

Author: "smartan"
 

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.