HTML stands for Hyper Text Markup Language. Using HTML you can create a Web Page which can be viewed through a Web Browser over Internet. It is used for website creation.You can use html in swings. You can call applets through the html.
We are providing you an example where we have stored the html code in the string. When we run that program the content from the string will get displayed on the swing frame according to the given html code.