1. A method of operating a web-platform in an electronic apparatus in which at least one application is installed and driven, the method comprising: executing a web application in the electronic apparatus; parsing a root layer corresponding to a most significant node having a tree structure for a visual configuration of a web page displayed by the web application; processing the root layer to reduce data resident in a graphic memory as the web application is executed; and rendering a graphic layer, except the root layer, from nodes forming the tree structure in real time.