Home > Web Front-end > Front-end Q&A > How to use html dialog tag

How to use html dialog tag

藏色散人
Release: 2019-05-27 09:50:21
Original
3266 people have browsed it

html dialog tag is used to define a dialog box or window. The

tag is a new tag of HTML5. Currently only Chrome and Safari6 support the tag.

How to use html dialog tag

#html How to use dialog tag?

Function: Define a dialog box or window.

Description: The

tag is a new tag in HTML 5.

Note: The

tag is a new tag in HTML 5. Currently only Chrome and Safari 6 support the tag.

html dialog tag example

<!DOCTYPE html>
<html>
<body>
<p><b>注释:</b>只有 Chrome 和 Safari 6 和支持 dialog 标签。</p>
<table border="1">
<tr>
<th>一月 <dialog open>这是打开的对话窗口</dialog></th>
<th>二月</th>
<th>三月</th>
</tr>
<tr>
<td>31</td>
<td>28</td>
<td>31</td>
</tr>
</table>
</body>
</html>
Copy after login

Effect:

How to use html dialog tag

The above is the detailed content of How to use html dialog tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template