0
/ 50
Write a function in Java that implements the following logic: The web is built with HTML strings like "<i>Yay</i>" which...
Write a function in Java that implements the following logic: The web is built with HTML strings like "<i>Yay</i>" which draws Yay as italic text. In this example, the "i" tag makes <i> and </i> which surround the word "Yay". Given tag and word strings, create the HTML string with tags around the word, e.g. "<i>Yay</i>".
Your feedback will appear here when you check your answer.