Is there a way to render html to image like PNG? I know that it is possible with canvas but I would like to render standard html element like div for example.
You can use an HTML to PDF tool like wkhtmltopdf. And then you can use a PDF to image tool like imagemagick. Admittedly this is server side and a very convoluted process...