Code Diff
- Added2
- Removed0
- Changed1
- Unchanged6
| Change | Left line | Left content | Change | Right line | Right content |
|---|---|---|---|---|---|
| 1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> | ||
| 2 | <html> | 2 | <html> | ||
| 3 | <body> | 3 | <body> | ||
| Changed from | 4 | <h1>Hi</h1> | Changed to | 4 | <h1>Hello</h1> |
| Added | 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> | ||
| Added | 7 | <div>This is a new code!</div> | |||
| 6 | </body> | 8 | </body> | ||
| 7 | </html> | 9 | </html> |
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.