Generates HTML pages following a certain format with a user-defined number of links.