Create a program that reads an HTML file and converts it to plain text. console HTML Converter Grocery List

computer science

Description

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.


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.