Split html into 3 pages