Webpage classification method and device

The embodiment of the invention discloses a webpage classification method and a webpage classification device. The method comprises the following steps of: determining content information displayed on webpages to be classified and position information of the content information in the webpages to be classified; and classifying the webpages to be classified according to the content information and the position information. The device comprises a determination module and a classification module, wherein the determination module is used for determining the content information displayed on the webpages to be classified and the position information of the content information in the webpages to be classified; and the classification module is used for classifying the webpages to be classified according to the content information and the position information. By the embodiment of the invention, the classification property of the webpages can be improved.