A brief discussion on which page elements h5 enhances
Today I will give you a brief talk about which page elements h5 has enhanced. Friends who need it can save the notes.
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>浅谈html5增强的页面元素</title> </head> <body> <!--figure与figcaption:带有可选标题的元素组合--> <figure> <img src="img/QQ截图20160103144626.png" alt="图片"/> <img src="img/webp.jpg" alt="图片" width="211" height="191"/> <figcaption>我的图片组合</figcaption> </figure><br /> <!--detail与summary元素:用于标示该元素内部的子元素可以展开收缩显示--> <details id="details" ontoggle="detailfn(this)" style=" cursor: pointer;" > <summary>精武风云</summary> <p id="p" style="visibility: hidden;">陈真(甄子丹 饰)当年为报杀师之仇,独闯虹口道场。。。</p> </details><br /> <!--mark:突出显示或高亮显示--> <mark>html5</mark>的高亮显示<br /> <!--progress:进度条--> <section> <h2>progress元素的使用实例</h2> <p>完成的百分比<progress id="p" max="100"><span>0</span>%</progress> </p> </section><br /> <!--meter:规定范围内的数量值---> <p>磁盘使用量:<meter value="40" min="0" max="160">40/160</meter>GB</p><br /> <!--dialog:对话框,默认隐藏,js控制--> <input type="button" value="打开对话框" onclick="document.getElementById('dg').show();"/> <input type="button" value="打开对话框showModal" onclick="document.getElementById('dg').showModal();" /> <dialog id="dg" style="width:15%;text-align: center;"> <form> <label for="txtName" value="用户名:"></label> <input type="text" id="txtName"/><br /> <label for="pwd" value="密码:"></label> <input type="text" id="pwd"/><br /> <input type="button" value="登录" /> <input type="button" value="关闭" onclick="document.getElementById('dg').close();" /> </form> </dialog><br /><hr /> <!--改良的a元素:download属性直接下载--> <a href="img/QQ截图20160103144626.png" download="文件名"><img src="img/QQ截图20160103144626.png" /> </a><br /> <!--ol:改良的 start与reversed属性:自定义开始编号与反编号--> <h3>start与reversed实例</h3> <ol start="5" reversed=""> <li>内容1</li> <li>内容2</li> <li>内容3</li> <li>内容4</li> <li>内容5</li> </ol><br /> <!--dl:定义术语列表: dt表示术语,dd表示定义--> 术语解释: <dl> <dt>rss</dt> <dt>rss也叫聚合rss是在线共享内容的一种简易方式(也叫聚合内容)</dt> </dl><br /> <!--cite:表示作品--> <p>最近上映的<cite>美国队长3</cite> 这个电影不错!</p><br /> <!--iframe:sandbox属性添加限制增强安全性--> <!--script:async与defer属性加快加载速度--> </body> </html>
I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!
Related reading:
Detailed explanation of vue.js syntax and common instructions
How to count table sum in bootstrap Quantity
How to implement vue.js todolist
The above is the detailed content of A brief discussion on which page elements h5 enhances. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
