how to call javascript function on a href code example Example: a href call funtion <a href="javascript:yourFunction();">