HTML source srcset 属性
在 <picture> 标签中使用 <source> 来设置不同屏幕显示的图片: 实例 Run this code » <picture> <source media="(min-width:650...
在 <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> 标签是一个短语...
无序 HTML 列表: 实例 Run this code » <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li>...
使用 <u> 标签为文本添加下划线: 实例 Run this code » <p>This is a <u>parragraph</u>.</p> 浏览器支持 所有主流浏览器都支持...
定义打字机文本: 实例 Run this code » <p><tt>Teletype text</tt></p> 浏览器支持 所有主流浏览器都支持 <tt> 标签。 标签定义及使...