Disclosed is a device and method for representing HTML elements having three-dimensional (3D) information on web, the device including a virtual space providing unit configured to provide a 3D virtual space that is displayed on the web, and an HTML element placing unit configured to place an HTML element that is displayed in a 3D layout on the 3D virtual space, based on an HTML document.