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:
Related Book For
Introduction To Programming With Java A Problem Solving Approach
ISBN: 9781260575248
3rd International Edition
Authors: John Dean
Question Posted: