html button click open new tab with web pagfe code example Example: make sure href open in new tab target="_blank"