In my web-app, I need to create a number of identical blocks with different contents. I don't want to form the elements fully on the server, taking into account that some of these elements will need to be created from the user's input. Thus i see two ways of creating such blocks on the client side:[*] Using jQuery (or just javascript) create the block element by element. The drawbacks is that the piece of code that creates those blocks is not recognisable HTML, which is bad in my opinion, and it is also hard to modify.[*]Create an HTML element (say, a div), make it invisible and then clone it and use it to create the necessary new elements. Still, i am not sure which of the ways is better, and probably there might be a better variant. I tried to google this issue, but couldn't find anything.What would you recommend?