Skip to content

Commit 7706a5f

Browse files
docs: link to MDN page on void elements (#8261)
1 parent 82d2982 commit 7706a5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/content/docs/03-template-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1670,7 +1670,7 @@ The only supported binding is `bind:this`, since the element type specific bindi
16701670

16711671
If `this` has a nullish value, the element and its children will not be rendered.
16721672

1673-
If `this` is the name of a void tag (e.g., `br`) and `<svelte:element>` has child elements, a runtime error will be thrown in development mode.
1673+
If `this` is the name of a [void element](https://developer.mozilla.org/en-US/docs/Glossary/Void_element) (e.g., `br`) and `<svelte:element>` has child elements, a runtime error will be thrown in development mode.
16741674

16751675
```sv
16761676
<script>

0 commit comments

Comments
 (0)