skip to Main Content

with php how can i replace html tag names inside text

I want to change tag name inside some text for example; <div class="col-sm-12 col-md-6 col-lg-4 float-left"> <div class="service-one__single"> <span class="service-one__dot-1">BLA BLA 1</span> <span class="service-one__dot-2">BLA BLA 2</span> <span class="service-one__dot-3">BLA BLA 3</span> </div> </div> I want to replace <span> tags with <p>…

VIEW QUESTION
Back To Top
Search