1.<span></span>标签里加上style="display:block"即例子:<span class="list" style="display:block">验证码</span>,才能通过CSS样式表中的.list指示来改变“验证码”的样式
2.通过background-size: 来改变 background-image: 的宽度高度;
通过background-repeat: 来控制background-image: 是否平铺
3.<style="color:red;margin-left:60px">style中加并列样式用 " ; " 隔开
4.单选按钮
<form>
<input id="man" type="radio" name="sex" />男
<input id="woman" type="radio" name="sex"/>女
</form>
5.多选按钮
<form> <span class="list1" style="display:block">兴趣爱好</span> <label><input class="yuyan" name="yuyan" type="checkbox" value="" /></label> <span style="color:#CCC;font-size:1.5em">JAVA</span> <label><input class="yuyan" name="yuyan" type="checkbox" value="" /></label> <span style="color:#CCC;font-size:1.5em">.net</span> <label><input class="yuyan" name="yuyan" type="checkbox" value="" /></label> <span style="color:#CCC;font-size:1.5em">php</span>
<label><input class="yuyan" name="yuyan" type="checkbox" value="" /></label> <span style="color:#CCC;font-size:1.5em">c++</span> </form>
6.添加视频
<div id="shipin"> <video width="1200" height="500" controls> <source src="2.mp4"> </video> </div>
7.滚动标签
<marquee>滚动起来吧!</marquee>