Home >Web Front-end >HTML Tutorial >HTML5 attribute_html/css_WEB-ITnose

HTML5 attribute_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:46:581291browse

Attributes

HTML5 newly added global attributes

标签 描述
contenteditable 指定元素内容是否可编辑
contextmenu 指定一个元素的上下文菜单。当用户右击该元素,出现上下文菜单(浏览器暂时不支持)
data-* 用于存储页面的自定义数据
draggable 指定某个元素是否可以拖动
dropzone 指定是否将数据复制,移动,或链接,或删除
hidden 规定对元素进行隐藏
spellcheck 检测元素是否拼写错误
translate 指定是否一个元素的值在页面载入时是否需要翻译

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