Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Connect with Universities & Study Abroad Experts Instantly Connect Now


Which function is used to remove HTML Tags from a string in PHP?

A regex
B strip_tags()
C replaceAll()
D stripHtmlTags()
Answer & Explanation
Option: [B]

The strip_tags() function removes HTML tags from a string

Your Valuable Comments Please...

Useful Computer Science EBooks