GrabzIt's API allows you to convert any HTML into PDF, DOCX, images and more. To do so you need to pass regular HTML to our API. For instance, something like the HTML shown in the following example.
Notice that this HTML example has included the HTML and BODY tags, but this isn’t required if you just want to convert a snippet of HTML.
document.getElementsByTagName('H1').innerText = 'Goodbye';
<img width="16" height="16" alt="star" src="data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOV
<link rel="stylesheet" type="text/css" href="http://www.example.com/mystyle.css">
<img width="16" height="16" alt="star" src="http://www.example.com/star.gif" />