File size

<file-size>

Takes a numeric bytes attribute and displays a file size in a human-readable format.

Attributes

Example

100

10000

1000000

1000000000

Code

HTML

JS