I am trying to replace some HTML Tag with another HTML Tag with php or jquery .
My Current Tag (Default) :
<li class="dropdown"> <a href="index.html" class="dropdown-toggle"> Home</a></li>
I want to replace above HTML tag with
<li class="dropdown"> <a href="index.html" class="dropdown-toggle active"> Home</a></li>
Example :
Default tag : <h1> tag </h2>
Replaced tag : <h2> tag </h2>
I already search many articles on stackoverflow but didnt founded solution for it.
Thank in advance