Question: This problem is to write a Python program which will generate an HTML document. Create an .html file for output. (I called mine MyPage.html) Prompt
This problem is to write a Python program which will generate an HTML document. Create an .html file for output. (I called mine MyPage.html) Prompt the user for: A background color A Page heading . Some text A heading for a List Some list items (This should be a while loop allowing the user to enter as many items as needed. Use a Sentinel value (choose a value) that triggers completion of entry Your program needs to generate the appropriate HTML code. The HTML must also include a Title of your choosing. Your program does not need to open the HTML document. You will view your HTML by opening it in a browser after your program is done generating it. Remember to use TextEdit or Notepad to view the HTML as text while you write your program to make sure it's generating the HTML
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
