Skip to content
ZOLO / TE743 Type · error

void HTML element has children or a closing tag

A void HTML element such as `input`, `img`, or `br` was written with children or an explicit closing tag. Void elements can never have content, so use the self-closing form instead.

Why this fires

TE743 reports children or a closing tag on a void HTML element such as input, img, or br.

<input></input>

Fix it

Convert the tag to its self-closing form (<input />). When the body is empty, the compiler/LSP offers this as a structured fix.

Global index

Find your way through Zolo

Try an idea

Start here

9 results

9 results

enespt-br