Question: Write a PHP scripting file countValidTags.php that generates a simple form of text box and a button. The user enters some HTML tag in the

Write a PHP scripting file countValidTags.php that generates a simple form of text box and a button. The user enters some HTML tag in the text box and clicks the button. The PHP code decides if the tag is correct or not, if correct it increments some counter by one and displays a suitable message to the user, if not, the counter is decremented by 2 and displays a suitable message for the user. You can use an array to store some valid HTML5 tags.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!