html-void-elements

WebJar for html-void-elements

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

html-void-elements
Last Version

Last Version

1.0.5
Release Date

Release Date

Type

Type

jar
Description

Description

html-void-elements
WebJar for html-void-elements
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/wooorm/html-void-elements

Download html-void-elements

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/html-void-elements/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>html-void-elements</artifactId>
    <version>1.0.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/html-void-elements/
implementation 'org.webjars.npm:html-void-elements:1.0.5'
// https://jarcasting.com/artifacts/org.webjars.npm/html-void-elements/
implementation ("org.webjars.npm:html-void-elements:1.0.5")
'org.webjars.npm:html-void-elements:jar:1.0.5'
<dependency org="org.webjars.npm" name="html-void-elements" rev="1.0.5">
  <artifact name="html-void-elements" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='html-void-elements', version='1.0.5')
)
libraryDependencies += "org.webjars.npm" % "html-void-elements" % "1.0.5"
[org.webjars.npm/html-void-elements "1.0.5"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

html-void-elements

Build Downloads Size

List of known void HTML elements. Includes ancient (such as nextid and basefont) and modern (such as img and meta) tag names from the HTML living standard.

Note: there’s one special case: menuitem. W3C specifies it to be void, but WHATWG doesn’t. I suggest using the void form.

Install

npm:

npm install html-void-elements

Use

var htmlVoidElements = require('html-void-elements')

console.log(htmlVoidElements)

Yields:

[ 'area',
  'base',
  'basefont',
  'bgsound',
  'br',
  'col',
  'command',
  'embed',
  'frame',
  'hr',
  'image',
  'img',
  'input',
  'isindex',
  'keygen',
  'link',
  'menuitem',
  'meta',
  'nextid',
  'param',
  'source',
  'track',
  'wbr' ]

API

htmlVoidElements

Array.<string> — List of lower-case tag names.

License

MIT © Titus Wormer

Versions

Version
1.0.5
1.0.4