add htmlattributes to paginglink