There are many ways to generate HTML in Javascript. I will discuss two out of it. Using createElement() method Using insertAdjacentHTML method 1. creating elements and append it In this method an HTML element is created by using createElement() ...