ExamVeda
Login
Home
This question belongs to PHP HTML Forms Handling
HTML Forms Handling
?

What will be the value of the variable $input in the following PHP code?
<?php
$input = "Swapna<td>Lawrence</td>you are really<i>pretty</i>!";
$input = strip_tags($input,"<i></i>");
?>

Answer & Solution
Correct Answer: Option D
Italic tags <i></i> might be allowable, but table tags <td></td> could potentially wreak havoc on a page.
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Hassan Ahaj
Hassan Ahaj 5 years ago
SwapnaLawrenceyou are reallypretty!