Back
Syntax
Study
Editor
Mode:
HTML
CSS
JavaScript
PHP
Reset
Run ยป
HTML / CSS / JS
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Paragraphs</title> </head> <body> <h1>About Paragraphs</h1> <p>This is the first paragraph. It contains multiple lines in the source, but the browser collapses all whitespace into one line.</p> <p>This is the second paragraph.</p> <hr> <h2>A Poem</h2> <p> Roses are red,<br> Violets are blue,<br> HTML is great,<br> And so are you. </p> </body> </html>
Result
Open