UNPKG

atlas-html-stream

Version:

A super fast html-parser stream that outputs tag, text and closing nodes.

40 lines (39 loc) 775 B
<!DOCTYPE html> <html> <head> some actual text<!-- broken link --> <link rel="stylesheet" type="text/css" href="mystyle.css"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title> My App </title> <style> p { margin: 0 auto; } </style> <script> alert("Click me!") </script> </head> <body> <h1 style="color:blue;margin-left:30px;">My Awesome App</h1> This Is My Body <p>Paragraph 1</p> <p these>Trees <p are="definitely">Are <p invalid>Cool <p attributes on our="paragraph tags">Right? </p> </p> <!-- hello world -->some actual text </p> </p> </body> </html>