Skip to Content
04

{/* Build timestamp: 1769283779551 - Forces cache invalidation */}

Last Updated: 1/24/2026


Unclosed Tags Test

This document contains HTML-like content that is valid Markdown but invalid strict MDX.

Common Unclosed HTML Tags

The
tag creates a line break.

Use


for a horizontal rule.

The tag displays an image.

An field for user input.

Block-Level Unclosed Tags

This div is never closed, which is fine in lenient MD mode.
This section isn't closed either.
And this article tag stays open.

Inline Unclosed Tags

Here’s a in the middle of text.

And a tag that doesn’t close.

Plus an for emphasis.

Nested Unclosed Tags

Deeply nested unclosed tags

Self-Closing vs Non-Self-Closing

In HTML5, these are valid without closing:



In XHTML/JSX, they need self-closing:



This document uses the HTML5 style intentionally.

Tags with Complex Attributes

A photo with spaces

Or even fragments: <div class=“

Comment-Like Content

This looks like an HTML comment but isn’t: {/* not a comment

And this is just greater/less than: < and >

Mixed Valid and Invalid

Unclosed div

Unclosed span {/* This one is NOT closed */}

First unclosed

Second also unclosed