Generates HTML pages following a certain format.