I am supposed to complete an java assignment which satisfies the following constraints
1)read an .html file which is given as input(This is not an weburl) just an file stored in hard-disk
2)Count the occurences of all the tags which are present in the html file but it must exclude the closing tags
3)It must prompt an user to enter an tag name such that all the attributes of the tag entered by user must be displayed
4)and the old attribute value has to be modified based on the new value and it has to be written to an new html file
P.S:I couldn't understand how to reject the closing tags from counting i will be happy if someone give the directions to complete this assignment