Question: please use C language: Develop and test a utility program called htags that analyses an HTML file and prints of the list of the HTML

please use C language: Develop and test a utility program called htags that analyses an HTML file and prints of the list of the HTML tags names together with the number of occurrences of each tag. Use the following simplified definition of the HTML tag names: The tag name starts immediately after the < character, and consists of one or more non blanc characters other than / and is terminated by either the space character or by the > character. For example, in the sample excerpt of the html file: we find the body and div tags occurring only once, and the p, b and span tags occurring twice each. Note that /span, /b and /p are not counted as tags. The data to your program should be read from the standard input (use the input redirection to read the entire HTML file). Print one tag name, followed by the tag count, per line.

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!