Question: Make Outline From Web Page The outline is constructed from this webpage: http://homepage.divms.uiowa.edu/~lillis/016/2018Summer/jazz.html and should look like this: HW11-Make Outline From Web Page For this

Make Outline From Web Page

Make Outline From Web Page The outline is constructed from this webpage:

The outline is constructed from this webpage: http://homepage.divms.uiowa.edu/~lillis/016/2018Summer/jazz.html and should look like this:

http://homepage.divms.uiowa.edu/~lillis/016/2018Summer/jazz.html and should look like this: HW11-Make Outline From Web Page For

HW11-Make Outline From Web Page For this assignment you will write a function that takes two arguments: a URL for a web page and a file name for the output. The function is to open the URL and construct an outline from the HTML code. The outline is to be saved in a text file with the specified name. The outline should include text between any ,

,

,

, or
tags. The text from each heading level should be indented properly so that all

tags are indented under their

tag, etc. Each heading level should also be properly numbered, with heading hx having x levels of numbering. Assumptions You can make the following assumptions regarding the HTML code being used to construct the outline: 1. The tags are always on the same line. 2. The end tag always appears with no white space. 3. The heading levels always increase and decrease by at most one

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!