change HTML tags
handle first page link