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