img
Generate HTML tag for element img
Generate HTML tag for element img
Usage
img(
accesskey = NULL,
alt = NULL,
autocapitalize = NULL,
class = NULL,
contenteditable = NULL,
crossorigin = NULL,
decoding = NULL,
dir = NULL,
draggable = NULL,
height = NULL,
hidden = NULL,
id = NULL,
inputmode = NULL,
is = NULL,
ismap = NULL,
itemid = NULL,
itemprop = NULL,
itemref = NULL,
itemscope = NULL,
itemtype = NULL,
lang = NULL,
loading = NULL,
part = NULL,
referrerpolicy = NULL,
sizes = NULL,
slot = NULL,
spellcheck = NULL,
src = NULL,
srcset = NULL,
style = NULL,
tabindex = NULL,
title = NULL,
usemap = NULL,
width = NULL,
custom_attr = NULL
)
Arguments
- accesskey
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- alt
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- autocapitalize
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- class
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- contenteditable
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- crossorigin
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- decoding
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- dir
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- draggable
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- height
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- hidden
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- id
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- inputmode
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- is
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- ismap
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- itemid
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- itemprop
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- itemref
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- itemscope
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- itemtype
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- lang
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- loading
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- part
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- referrerpolicy
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- sizes
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- slot
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- spellcheck
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- src
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- srcset
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- style
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- tabindex
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- title
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- usemap
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- width
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
- custom_attr
A string of permitted content for this HTML attribute. The user is responsible for determining what is permissible.
Value
A HTML tag string.
Examples
# NOT RUN {
img(class = "test")
# }