well it shouldnt be .html or the PHP engine shouldnt be parsing it
pagination can be calculated with as little as a single URL variable;
From there you can calculate your start point ((page - 1) * sizeofpages) [assuming you're using page 1 as your 0-index]
your size is defined by the code;
The resulting query would be SELECT ... LIMIT <startpoint>,<sizeofpage>
To generate the nav takes a bit more calculation, but there's plenty of pagination scripts out there already written...