内容简介:HTML有很多好玩的标签,其中好多都是只在特殊场景下使用,在此做个统一的记录1、<progress> 显示任务的进度,属性包括(max,value)
HTML有很多好玩的标签,其中好多都是只在特殊场景下使用,在此做个统一的记录
1、<progress> 显示任务的进度,属性包括(max,value)
<progress value="22" max="100"></progress>
2、<meter>显示范围内数据,属性包括(form, high, low, max, min, optimum, value)
要是value在正常范围内条条就会显示绿色,要是超出了正常范围(high,low)就会变成黄色
<meter value="0.3" high="0.9" low="0.1" optimum="0.5"></meter>
3、<form><fieldset><legend>标题</legend></fieldset></form>用于组合表单中相关元素
<form><fieldset>啦啦啦<legend>这是一个标题</legend></fieldset></form>
4、<output>执行计算,计算结果在output标签里面输出(初始值需要单独设定,不然不显示),属性包括(name,for,form)
<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0
<input type="range" id="a" value="40">100
+<input type="number" id="b" value="30">
=<output name="x" for="a b">70</output>
</form>
5、待续。。。。。。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- iOS video 标签小结
- HTML5常用标签(2-4)链接标签及多媒体标签
- 基于标签特定文本表示的文本多标签分类
- HTML5常用标签(2-3)图片标签
- HTML5常用标签(2-5)列表标签
- HTML5常用标签(2-6)样式标签
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Master Switch
Tim Wu / Knopf / 2010-11-2 / USD 27.95
In this age of an open Internet, it is easy to forget that every American information industry, beginning with the telephone, has eventually been taken captive by some ruthless monopoly or cartel. Wit......一起来看看 《The Master Switch》 这本书的介绍吧!