boy boy boy
Exploring Edge Cases in HTML Structure
Understanding HTML Structure (Link)
Table of Contents
EDGE CASE: Paragraph with spaces and line breaks
This is a paragraph with leading and trailing spaces, multiple spaces, and tabs.
It also contains soft line breaks
in the middle.
EDGE CASE: Nested marks and inline elements
Here is a nested example and some underlined text, with strikethrough as well. Here is some superscript and subscript text along with a highlighted term. Emoji 😊 and a right-to-left snippet: שלום.
Mixed-direction text: هذا نص باللغة العربية and English text here.
EDGE CASE: Links
Check out this external link and this relative link. Here's a hash link: Go to hash. For email, click here or for a phone call, call me.
This link wraps inline marks and marks wrap a link.
- First item
- Sub-item 1
- Nested ordered list
- Another level
- Another ordered item
- Nested ordered list
- Another sub-item
- Sub-item 1
- Second item with multiple paragraphs
This is a quote.
Another quote paragraph.
Quote list item
— Famous Author
- Item with anested block
Paragraph inside div.
Another paragraph.
Definition Term
Definition description.
---
EDGE CASE: Blockquote and lists
This is a blockquote containing a list:
List item 1
List item 2
EDGE CASE: Preformatted code
function test() {
console.log("Hello World!");
}
Card Title 1
This is a card description.
Card Title 2
This is another card description.
EDGE CASE: Tables
Table: Sample Table
Header 1 | Header 2
This containsboldtext.New line here. | This is a regular cell.
Table:
Rowspan Cell | Normal Cell
Another Cell
EDGE CASE: Images
Figure caption with a link and inline mark.
Your browser does not support the video tag.
Your browser does not support the audio tag.
EDGE CASE: Unsupported tags
More Info
This is some detailed information.
- Detail item 1
- Detail item 2
Important: This is a callout with nested formatting.
Styled text here.
EDGE CASE: Sanitization traps
This looks like HTML: <script>alert(1)</script>
A div with many classes.
.example { color: blue; }
Deeply nested text.