jsp web html基础知识

[color=red]
html基本知识

表格table:

tr 行
border="1"

align="center"
td 列

超链接:
[url=www.baidu.com] [/url]

多选 checkbox

单选 radio 要在一个组里面才可以单选 看name

<input type="text">

选项:
学历:<select>
<option>大学</option>
<option>中学</option>
</select>


文件上传:<input type="file">
按钮:<input type="button" value="hello word" οnclick="javascript:alert('hello world');" >
[/color]



<html>
<head>
<title> hello </title>
</head>

<body >
<p><h1><font color="red">这是网页显示的内容</font></h1>
[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>
兴趣:学习<input type="checkbox">
旅游<input type="checkbox">
<br>
性别:男<input type="radio" name="qender">
女<input type="radio" name="qender">
<br>
学历:<select>
<option>大学</option>
<option>中学</option>
</select>
<br>
评论:<textarea>
hello
</textarea>
<br>
文件上传:<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');" >
图片:<img src="http://www.google.com.hk/images/nav_logo86.png">

</form>


</table>
</body>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值