HTML style type 属性
在 <style> 标签中使用 type 属性: 实例 Run this code » <style type="text/css"> h1 {color:red;} p {color:blue;} </sty...
在 <style> 标签中使用 type 属性: 实例 Run this code » <style type="text/css"> h1 {color:red;} p {color:blue;} </sty...
使用 scope 属性描述 <div> 元素的样式: 实例 Run this code » <div> <style type="text/css" scoped> h1 {color:red;} p {...
针对两种不同媒介类型(屏幕和打印)的两个不同的样式表: 实例 Run this code » <style type="text/css" media="print"> h1 {color:#000000;} p {color:...
在 <picture> 标签中使用 <source> 来设置不同屏幕显示的图片: 实例 Run this code » <picture> <source media="(min-width:650...
type 属性的使用: 实例 Run this code » <audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="ho...
带有两个源文件的音频播放器。浏览器应该选择哪个文件(如果这两个源文件浏览器都支持): 实例 Run this code » <audio controls> <source src="horse.ogg" type="...
media 属性的使用: 实例 Run this code » <source src="movie.ogg" type="video/ogg" media="screen and (min-width:320px)"> 浏览器...
一段带有 Word Break Opportunity 的文本: 实例 Run this code » <p>学习 AJAX ,您必须熟悉 <wbr>Http<wbr>Request 对象。</p&...
播放录像: 实例 Run this code » <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4">...
对文档中的文本进行格式化: 实例 Run this code » <var>变量</var> 浏览器支持 所有主流浏览器都支持 <var> 标签 标签定义及使用说明 <var> 标签是一个短语...