javascript h href also do function code example Example: a href call funtion <a href="javascript:yourFunction();">