Tools
Code Diff
Paste two snippets and see the differences highlighted line by line. Useful for spotting changes between versions of HTML, CSS, JavaScript, or any other plain text.
- Unchanged
- Added
- Changed
- Removed
| Left line | Left content | Right line | Right content |
|---|---|---|---|
| 1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
| 2 | <html> | 2 | <html> |
| 3 | <body> | 3 | <body> |
| 4 | <h1>Hi</h1> | 4 | <h1>Hello</h1> |
| 5 | <p>Welcome to W3Docs</p> | ||
| 5 | <p>This is very minimal 'hello world' HTML document.</p> | 6 | <p>This is very minimal 'hello world' HTML document.</p> |
| 7 | <div>This is a new code!</div> | ||
| 6 | </body> | 8 | </body> |
| 7 | </html> | 9 | </html> |