HTML <script> 标签的 referrerpolicy 属性HTML <script> 标签实例设置脚本的 referrerpolicy:<script src="myscripts.js" referrerpolicy="origin"></script>定义和用法ref
HTML <script> 标签的 integrity 属性HTML <script> 标签实例使用 integrity 和 crossorigin 属性链接到 CDN:<script src="https://code.jquery.com/jquery-3.3.1.slim.min.
HTML <script> 标签的 defer 属性HTML <script> 标签实例在页面加载之前不会运行脚本:<script src="demo_defer.js" defer></script> 完整实例【亲自试一试】:<!DOCTYPE html>
HTML <script> 标签的 crossorigin 属性HTML <script> 标签实例这是指向另一个服务器上的 .js 文件的链接。这里我们同时使用了 integrity 和 crossorigin 属性:<script src=
HTML <script> 标签的 async 属性HTML <script> 标签实例将在可用时立即异步运行的脚本:<script src="demo_async.js" async></script> 完整实例【亲自试一试】:<!DOCTYPE htm
HTML <q> 标签的 cite 属性HTML <q> 标签实例下面这个 q 元素中的 cite 属性指定了引用的来源:<p>WWF's goal is to:<q cite="http://www.wwf.org">build a future where
HTML <progress> 标签的 value 属性HTML <progress> 标签实例下载进行中:<progress value="22" max="100"></progress> 完整实例【亲自试一试】:<!DOCTYPE html><html><body>
HTML <progress> 标签的 max 属性HTML <progress> 标签实例下载进行中:<progress value="22" max="100"></progress> 完整实例【亲自试一试】:<!DOCTYPE html><html><body>下
HTML <param> value 属性HTML <object> 标签实例请将 "autoplay" 参数设置为 "true",这样声音就会在页面加载后立即开始播放:<object data="bird.wav"> <param name="autopla
HTML <param> name 属性HTML <object> 标签实例请将 "autoplay" 参数设置为 "true",这样声音就会在页面加载后立即开始播放:<object data="bird.wav"> <param name="autoplay
HTML <output> 标签的 name 属性HTML <output> 标签实例执行计算然后在 <output> 元素中显示结果:<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0 <input
HTML <output> 标签的 form 属性HTML <output> 标签实例位于表单之外的一个 <output> 元素(但仍然属于表单的一部分):<form action="demo_form.php" id="numform" oninput="x.v
HTML <output> 标签的 for 属性HTML <output> 标签实例执行计算然后在 <output> 元素中显示结果:<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0 <input
HTML <option> 标签的 value 属性HTML <option> 标签实例带有发送到服务器的值的下拉列表:<select> <option value="volvo">Volvo XC90</option> <option value="saab">Saa
HTML <option> 标签的 selected 属性HTML <option> 标签实例带有预先选定的选项的下拉列表:<select> <option>Volvo</option> <option selected="selected">Saab</option>