A fragment
- Input
- <p>só um trecho</p>
- Expected output
- trecho: envolvido em uma página
Gets a doctype, charset, viewport and title.
html viewer online
Paste the HTML into the first pane and the page appears rendered right below. It works with a snippet of a few lines and with a complete document, and the code stays in an isolated area that cannot see this site's data.
Gets a doctype, charset, viewport and title.
Recognized by the doctype or the html tag.
Leading comments do not get in the way of detection.
Maximum width of the preview frame.
A single document, without the console script.
Write in the three panes and the preview updates at once. There is no account, server or file: the browser builds a page with your HTML in the body, your CSS in a style tag and your JavaScript at the end of the body, and runs it all in an isolated iframe. The console shows whatever the code prints.
Paste the code into the HTML pane. The preview renders the page at once, and you can tweak the code and check the result without creating any file.
No. The code is rendered in your browser, in an isolated frame. Only the images and files the HTML itself references are fetched over the network, as on any page.
Email clients strip or rewrite parts of the HTML and CSS, while a browser applies everything. The preview shows what the code would do in a browser, which is a good reference but does not replicate each email client.
The preview runs isolated: your code cannot see cookies, storage or this site's page.
666 characters in total