html学习中
Html常用标签一
<body style=”background-color:red;”>
Body 标签
Style 属性
background-color:red; 属性值
background-color css属性
red css属性值
html常用标签二
列表标签
Ul ol
Table cellpadding 内边距 cellspacing 表格与表格之间的元素
Width 宽度 height 高度
Bordercolor 边框颜色 bgcolor 背景颜色
Align 居中 值center中 left左边 right 右边
Rowspan 跨行 colspan 跨咧
Caption 标题 Align属性 上边和下边 top bottom
超链接
<a href=”#”>我是超链接<a>
页面窗口弹出
Target=”-blank”
<a href="http://www.yuluting.com" target="_blank"><img src="img/1.jpg"</a> 在图片中打开
图片
<img src=”路径”>
高度width 宽度heigt 边框border
透明度
<img src="img/1.jpg" style=" opacity:0.5" />
Form表单
<form action="1.aspx" method="post"> 后台提交 post
用户名:<input type="text" name="username" />
密码:<input type="password" name="pwd" />
<input type="submit" />提交
<input type="reset" />重置
</form>
性别:
男女只能选择一个
<input type="radio" name="sex" /><label>男</label>
<input type="radio" name="sex" /><label>女</label>
点击汉字男女也能选择
<input type="radio" name="sex" id="male" /><label for="male">男</label>
<input type="radio" name="sex" id="female" /><label for="female">女</label>
多选框
<input type="checkbox" />苹果
<input type="checkbox" />苹果
<input type="checkbox" />苹果
下拉列表
<select name="fruit" multiple="multiple">
<option value="apple">苹果</option>
<option value="orange">橘子</option>
<option value="mango">芒果</option>
</select>
最新文章
- ZOJ Problem Set - 1049 I Think I Need a Houseboat
- parseInt 和parseFloat 区别
- C#去掉HTML标记
- [问题2014S07] 解答
- POJ 3083
- 3D球状标签云(兼容IE8)
- C#学习笔记(八):扩展方法
- android获取Mac地址和IP地址
- Top 查看某些或者某个进程(top -p pid)
- golang ffmpeg 做网络直播
- React文档(八)条件渲染
- ExtJS初探:了解 Ext Core
- 滑动拼图 Sliding Puzzle
- 【Selenium-WebDriver自学】Selenium网格化(十六)
- The Dominator of Strings HDU - 6208(ac自动机板题)
- C#-WebForm-网页中Form表单中给回车绑定按钮
- macOS High Sierra 10.13正式版USB安装盘制作
- win7或win2008系统中,出现【已停止工作,联机检查解决方案并关闭该程序,关闭程序】解决方法!
- Codeforces 786B. Legacy 线段树+spfa
- poj 3083 Children of the Candy Corn 【条件约束dfs搜索 + bfs搜索】【复习搜索题目一定要看这道题目】
热门文章
- Python系列-python文件操作
- 用于水和水蒸汽物性计算的Python模块——iapws
- Beautifulsoup4
- 【VB超简单入门】四、编译工程及传播程序文件
- React-Native(二):React Native开发工具vs code配置
- 不错的ngix/redis/java/android学习地址
- POJ-3255 Roadblocks---Dijkstra队列优化+次短路
- python的调试
- Ubuntu 16.04安装Matlab 2016b教程
- Flume报 Space for commit to queue couldn&#39;t be acquired. Sinks are likely not keeping up with sources, or the buffer size is too tight