Home  >  Article  >  Web Front-end  >  How to use html dialog tag

How to use html dialog tag

藏色散人
藏色散人Original
2019-05-27 09:50:213197browse

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>

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!

Statement:
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
Previous article:How to use html style tagNext article:How to use html style tag