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