Patent ID: 10216712

Abstract:
Disclosed are a web page display method and device. The method comprises: determining a reference region in a display region of a first web page, the first web page being a web page displayed in a first display state of a display screen, wherein the area of the reference region is less than or equal to a preset threshold; determining a web page element located in the reference region in the first web page; according to coordinates of the web page element in the first web page and in a second web page, calculating a moving displacement of the web page element in the second web page, wherein the coordinates of the web page element in the second web page are coordinates of the web page element, obtained after the display screen is switched to a second display state from the first display state, in the second web page displayed in the second display state; according to the moving displacement of the web page element in the second web page, moving web page elements in the second web page; and displaying the second web page after the web page elements are moved. The present invention achieves that when the screen display state changes, web page information before the change is more accurately displayed, and therefore improves the reading experience of users.