Fixed if href is not given or is from type # or javascript:;