Developed and designed by Ukrainian Web developer Vasiliy Zubach (known online as TjRus), the impressive web-based iPhone was created using HTML5, CSS 3 and JavaScript.

The iPhone 4 rendering not only features the device itself, but also an impressive array of on-screen icons, all of which are made with code rather than images.

The demo includes some other interactive features, such as the sleep/wake button, the home button, and the "slide to unlock" screen, which all work as you would expect.

In total, Vasiliy's work is made up of 3395 lines of CSS and 335 lines of jQuery-powered JavaScript code. Head on over to Vasiliy's site to toy around with the virtual iPhone.

This isn't the first smartphone-themed HTML5 demo we've seen lately-in late November, we encountered a slick demo from Microsoft that let you get a feel for Windows Phone 7 from the comfort of your iPhone.