Skip to content

Wrong Output  #2

@satyx

Description

@satyx

<!DOCTYPE html>
<html>
<head>
<title> Parser </title>
</head>
<body>
<h1>This is a header
<h1>This is another header
<p>This is a paragraph


<div>This text inside div tags
<div>
<h1>Hello Testing
<p>This is paragraph inside div tags


</div>
<ul>
<li>UL item 1
<li>UL item 2
<li>UL item 3
<div>
<p>This is paragraph inside div inside ul


</div>
</ul>
<ol>
<li>OL item 1
<li>OL item 2
<li>OL item 3
</ol>
</body>
</html>

For the above code, the "Hello Testing" is displayed on the third line whereas it should be displayed on the fifth line

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions