Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML5.2带来的新规则 #3

Open
13164671 opened this issue Feb 7, 2018 · 2 comments
Open

HTML5.2带来的新规则 #3

13164671 opened this issue Feb 7, 2018 · 2 comments

Comments

@13164671
Copy link
Owner

13164671 commented Feb 7, 2018

HTML的每个标签的变化,都会带来超文本语言的新语法和表达方式。
在2018,浏览器会继续更新,解析乃至影响HTML5.2语言的迭代更新。

@13164671
Copy link
Owner Author

13164671 commented Feb 7, 2018

<!doctype html>

<title>HTML5.2新功能测试</title>

原生的 dialog 控制

打开对话框

对话框标题

这是通过dialog实现的对话框

关闭对话框 <iframe allowpaymentrequest> </iframe>

 

 

<script> const dialog = document.getElementById("dialog"); document.getElementById("open").addEventListener("click", () => { dialog.show(); }); document.getElementById("close").addEventListener("click", () => { dialog.close(); }); </script>

@13164671
Copy link
Owner Author

13164671 commented Feb 9, 2021

https://html.spec.whatwg.org/review-drafts/2020-01/
世界卫生组织签署单一的HTML开发版本。
现在的各种浏览器和HTML编译器,遵循卫生组织和国际标准,提供善意的千人千面的浏览体验。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant