HTML coding-style conventions require that all start tags have an accompanying end tag. Edit the books HTMLGenerator.java

Question:

HTML coding-style conventions require that all start tags have an accompanying end tag. Edit the book’s HTMLGenerator.java program so that end tags are inserted at the bottom of each paragraph. In addition, edit the program so that each text line inside a paragraph is indented by two space characters (" ").

Do not allow a end tag to be generated when there’s no accompanying start tag (start and end tags must always be partnered). Your program should be robust. In particular, it should handle the case where there’s only a title and no paragraphs at all.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: