Question: write a program in python that can check an HTML document for proper opening and closing tags. It should prompt the user for a file

write a program in python that can check an HTML document for proper opening and closing tags.

It should prompt the user for a file path and then read in the html document found at that location.

If the html is valid it should display Valid HTML. If not, it should say Invalid HTML, mismatched opening and closing braces.

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 Databases Questions!