Html5 standard attributes snippets

From Bluefish Wiki
Jump to navigation Jump to search


<?xml version="1.0"?>
<!-- html5_standard_attributes.xml $Revision: 8/8/2010   -->

<!--
              DO NOT COPY THIS FILE FROM THE WIKI MAIN PAGE!
     BUT FROM THE EDIT TAB (OR THE VIEW SOURCE IF YOU ARE NOT LOGGIN IN)
               ONLY THE PART WITHIN: <pre> </pre>
-->

<!-- USAGE:
	Copy and import this file in the snippets left panel menu.
 -->


<snippets>
<branch title="html5_standard_attributes">
<leaf type="insert" title="contenteditable" tooltip="Specifies if the user is allowed to edit the content or not.
 true false">
<before>contenteditable="</before>
<after>"</after>
</leaf>
<leaf type="insert" title="contextmenu" tooltip="Specifies the context menu for an element.
 menu_id">
<before>contextmenu="</before>
<after>"</after>
</leaf>
<leaf type="insert" title="data-yourvalue" tooltip="Author defined attributes. 
Authors of a HTML document can define their own attributes. 
Must start with `data-`. value">
<before>data-%0="%1"</before>
<after />
<param name="name"/><param name="value"/>
</leaf>
<leaf type="insert" title="draggable" tooltip="Specifies whether or not a user is allowed to drag an element.
 true false auto">
<before>draggable="</before>
<after>"</after>
</leaf>
<leaf type="insert" title="hidden" tooltip="Specifies that the element is not relevant. Hidden elements are not displayed. 
hidden">
<before>hidden="hidden"</before>
<after />
</leaf>
<leaf type="insert" title="item" tooltip="Used to group elements.
 empty or url">
<before>=item"</before>
<after>"</after>
</leaf>
<leaf type="insert" title="itemprop" tooltip="Used to group items.
 url or group value">
<before>itemprop="</before>
<after>"</after>
</leaf>
<leaf type="insert" title="spellcheck" tooltip="Specifies if the element must have it's spelling or grammar checked. 
true false">
<before>spellcheck="</before>
<after>"</after>
</leaf>
<leaf type="insert" title="subject" tooltip="Specifies the element's corresponding item.
 id">
<before>subject="</before>
<after>"</after>
</leaf>
</branch>
</snippets>