A terminal device which can access Web contents individually for each window, the terminal device comprising a history storing means for associating each of histories of Web contents with predetermined image information, and storing the histories of the Web contents so that the histories of the Web contents can be managed for each window, an input means for receiving user's input operations, an image retrieving means for retrieving the image information by referring to the histories of each window, when a predetermined input operation is received, an image arranging means for arranging the retrieved image information for each window in a row, which is made to be in correspondence with each window, in a time series by referring to the histories, and displaying the arranged image information on a screen, and a focusing means for focusing on one piece of the arranged image information in response to the input operation.