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