Fix the bug of previous and next buttons of index.php.
Replaces the div wrapper of span with a HTML button tag.
Adds a title to tags buttons and reduces the height of buttons.