html5 (version 0.1.0)

h2: Generate HTML tag for element h2

Description

Generate HTML tag for element h2

Usage

h2(
  ...,
  accesskey = NULL,
  autocapitalize = NULL,
  class = NULL,
  contenteditable = NULL,
  dir = NULL,
  draggable = NULL,
  hidden = NULL,
  id = NULL,
  inputmode = NULL,
  is = NULL,
  itemid = NULL,
  itemprop = NULL,
  itemref = NULL,
  itemscope = NULL,
  itemtype = NULL,
  lang = NULL,
  part = NULL,
  slot = NULL,
  spellcheck = NULL,
  style = NULL,
  tabindex = NULL,
  title = NULL,
  custom_attr = NULL
)

Arguments

...

A string or strings of permitted content for this HTML element tag. The user is responsible for determining what is permissible.

accesskey

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.

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.

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.

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.

part

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.

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.

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

Run this code
# NOT RUN {
h2(class = "test", "Example")
# }

Run the code above in your browser using DataCamp Workspace