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