Implemented some principal fragments of the function of web browser
according to HTML5 specification.