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