# html5-tag
**Repository Path**: mirrors_addons/html5-tag
## Basic Information
- **Project Name**: html5-tag
- **Description**: A simple utility for creating HTML5 tags.
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-05-03
- **Last Updated**: 2026-02-28
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# html5-tag [](https://travis-ci.org/cheton/html5-tag) [](https://coveralls.io/github/cheton/html5-tag?branch=master)
[](https://www.npmjs.com/package/html5-tag)
A simple utility for creating HTML5 tags.
## Installation
```bash
npm install --save html5-tag
```
## Usage
```js
import tag from 'html5-tag';
// No end tags for void elements (https://www.w3.org/TR/html5/syntax.html#void-elements)
tag('br');
// → '
'
tag('a', { href: 'http://example.com' }, 'Example');
// → 'Example'
tag('input', { name: 'name', value: 'Input your name...', disabled: true });
// → ''
tag('div', { title: '\'"&<>' }, tag('i', { class: 'icon icon-folder' }, ''));
// → '