what is the difference between
attrib [href] and attr (href) ?
Attrib and attr method
hey @sapnabajpai2020 ,
there is no such particular difference between them , they do the same task ,
its just they are called in a different way .
For trying dynamic calling this , you need can change the attrib function value easily , just by replacing it with another , but using attr method then you need to worry that you are providing the correct attribute key.
I hope this helps.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.