This helper function should be
invoked to provide values for the namesake
global
argument, which is present
in any function that generates an HTML tag.
1 2 3 4 |
style |
an inline CSS style for the element. |
title |
used for extra information about the element. |
lang |
the language for the element's content. |
hidden |
when |
data |
this stores custom data private to the page or animation. |
accesskey |
specifies a shortcut key to activate/focus an element. |
contenteditable |
can either be |
contextmenu |
specifies a context menu for an element.
The context menu appears when a user right-clicks on the
element. The value of the contextmenu attribute is the id
of the |
dir |
specifies the text direction of the element's
content. Possible values are |
draggable |
specifies whether an element is
draggable or not. This can either be |
dropzone |
specifies whether the dragged data is
copied, moved, or linked, when it is dropped on an
element. This attribute can have either of these values:
|
spellcheck |
specifies whether the element is to
have its spelling and grammar checked or not. The
following can be spellchecked: (1) text values in
input elements (not passwords though), (2) text in
|
translate |
specifies whether the content of an
element should be translated or not. This can either be
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.