Html common tags
<body style=”background-color:red;”>
Body Label
Style property
background-color:red; property value
background-color css property
red css property value
html common tags 2
list label
Ul ol
Table cellpadding padding cellspacing table and table elements
Width width height height
Bordercolor border color bgcolor background color
Align center value center left left right right
Rowspan spanning colspan spanning
Caption title Align property top and bottom top bottom
Hyperlink
<a href=”#”>I am a hyperlink<a>
Page window pops up
Target=”-blank”
<a href="http://www.yuluting.com" target="_blank"><img src="img/1.jpg"</a> open in image
picture
<img src=”path”>
height width width height border border
transparency
<img src="img/1.jpg" style=" opacity:0.5" />
Form form
<form action="1.aspx" method="post"> Submit post in the background
用户名:<input type="text" name="username" />
密码:<input type="password" name="pwd" />
<input type="submit" />提交
<input type="reset" />重置
</form>
gender:
Men and women can only choose one
<input type="radio" name="sex" /><label>男</label>
<input type="radio" name="sex" /><label>女</label>
Click on the Chinese characters to choose from men and women
<input type="radio" name="sex" id="male" /><label for="male">男</label>
<input type="radio" name="sex" id="female" /><label for="female">女</label>
Checkbox
<input type="checkbox" />苹果
<input type="checkbox" />苹果
<input type="checkbox" />苹果
drop-down list
<select name="fruit" multiple="multiple">
<option value="apple">苹果</option>
<option value="orange">橘子</option>
<option value="mango">芒果</option>
</select>