Exercise : stripHtmlTags practice-it

Write a method stripHtmlTags that accepts a Scanner for an input file containing an HTML web page, then reads that file and prints the file's text with all HTML tags removed. A tag is any text between the character < and >. For example, consider the following text:

<html>
   <head>
   <title>My web page</title>
   </head>  
</html>

If a file containing these lines were passed to your program, your program should output the following:

	
	
My web page