Paste in indented code; this will elide/remove attributes. Help below.
Attribute Filtering
Attribute | Leave | Elide long | Elide all | Remove |
---|
How to use
This will remove attributes from HTML code or elide them (replace their values with ellipses).
- Paste some indented HTML code into the text area.
- Optionally, you can change…
- the default cut-off for "long" attribute values using the text box.
- whether
id
androle
attributes are protected from being elided by default (they can be helpful for "anchoring" oneself in the code).
- Choose how you want to filter each value of each attribute; either…
- leave it alone (the default for short attributes),
- elide it if it's long (the default for long attributes),
- elide it anyway, or
- remove the attribute and value.
- Activate the
Filter Code
button; the code in the text area will be modified accordingly, and re-analysed. - Repeat this process as often as you like.
For indenting code, HTML Formatter is really good.
Please report issues on GitHub.