Project 10-1: HTML Converter
Create a program that reads an HTML file and converts it to plain text.
console
HTML Converter
Grocery List
* Eggs
* Milk
* Butter
Specifications
. Store the following data in a file named groceries.html:
<hl>Grocery List</hl>
<ul>
<ii>Eggs</ii>
<ii >Mi lk</ ii>
<1 i>Butter</ li>
</ui>
. When the program starts, it should read the contents of the file, remove the HTML
tags, remove any spaces to the left of the tags, add asterisks() before the list items,
and display the content and the HTML tags on the console as shown above.
Get Free Quote!
329 Experts Online