All Projects → wooorm → html-void-elements

wooorm / html-void-elements

Licence: MIT license
List of known void HTML elements

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to html-void-elements

Vue Element Admin
🎉 A magical vue admin https://panjiachen.github.io/vue-element-admin
Stars: ✭ 73,044 (+317482.61%)
Mutual labels:  element
typescript-cheatsheet
Cheatsheet for TypeScript.
Stars: ✭ 28 (+21.74%)
Mutual labels:  void
CutAndDisplace
Boundary Element MATLAB code. Modelling faults and deformation
Stars: ✭ 40 (+73.91%)
Mutual labels:  element
base-elements
A selection of configurable native DOM UI elements
Stars: ✭ 41 (+78.26%)
Mutual labels:  element
RuoYi-Vue-Oracle
🎉 (RuoYi)官方仓库 基于SpringBoot,Spring Security,JWT,Vue & Element 的前后端分离权限管理系统
Stars: ✭ 225 (+878.26%)
Mutual labels:  element
mask export
Export your mask elements as extension
Stars: ✭ 45 (+95.65%)
Mutual labels:  element
Component Size
React hook for determining the size of a component
Stars: ✭ 224 (+873.91%)
Mutual labels:  element
madao admin manage
🎉 VUE前后端分离管理系统,基于RBAC的后台管理。
Stars: ✭ 38 (+65.22%)
Mutual labels:  element
signin-with-matrix
Federated sign-in component for your web app (using Matrix)
Stars: ✭ 207 (+800%)
Mutual labels:  element
ruhua vue
如花商城后台+前端;element+vue+uniapp
Stars: ✭ 113 (+391.3%)
Mutual labels:  element
vue-next-admin
🎉🎉🔥基于vue3.x 、Typescript、vite、Element plus等,适配手机、平板、pc 的后台开源免费模板库(vue2.x请切换vue-prev-admin分支)
Stars: ✭ 1,002 (+4256.52%)
Mutual labels:  element
ready
Detect element availability on the initial page load and those dynamically appended to the DOM
Stars: ✭ 77 (+234.78%)
Mutual labels:  element
array-last
Return the last element in an array. Faster than `.slice`
Stars: ✭ 34 (+47.83%)
Mutual labels:  element
RuoYi-Cloud-Vue3
🎉 基于Spring Boot、Spring Cloud & Alibaba、Vue3 & Vite、Element Plus的分布式前后端分离微服务架构权限管理系统
Stars: ✭ 295 (+1182.61%)
Mutual labels:  element
fenris
A library for advanced finite element computations in Rust
Stars: ✭ 52 (+126.09%)
Mutual labels:  element
Element Dashboard
element dashboard
Stars: ✭ 225 (+878.26%)
Mutual labels:  element
vue2-all-test
vue2 vue-router vuex axios 全家桶
Stars: ✭ 40 (+73.91%)
Mutual labels:  element
vue-admin-template
vue管理系统模板,包含登录,权限等。完整的、生产环境可直接使用的项目示例,演示
Stars: ✭ 18 (-21.74%)
Mutual labels:  element
doubao community frontend
手把手vue+springboot前后端分离项目实战---豆宝社区前端项目代码
Stars: ✭ 119 (+417.39%)
Mutual labels:  element
radical
Element (Riot Web) unofficially bundled as Firefox Add-on
Stars: ✭ 33 (+43.48%)
Mutual labels:  element

html-void-elements

Build Coverage Downloads Size

List of HTML void tag names.

Contents

What is this?

This is a list of all void tag names according to HTML.

👉 Note: includes ancient (such as nextid and basefont) tag names too.

When should I use this?

You can use this when you’re writing HTML parsers, minifiers, or compilers.

Install

This package is ESM only. In Node.js (version 14.14+, 16.0+), install with npm:

npm install html-void-elements

In Deno with esm.sh:

import {htmlVoidElements} from 'https://esm.sh/html-void-elements@2'

In browsers with esm.sh:

<script type="module">
  import {htmlVoidElements} from 'https://esm.sh/html-void-elements@2?bundle'
</script>

Use

import {htmlVoidElements} from '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

This package exports the identifier htmlVoidElements. There is no default export.

htmlVoidElements

List of HTML void tag names (Array<string>).

Types

This package is fully typed with TypeScript. It exports no additional types.

Compatibility

This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 14.14+ and 16.0+. It also works in Deno and modern browsers.

Security

This package is safe.

Related

Contribute

Yes please! See How to Contribute to Open Source.

License

MIT © Titus Wormer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].