The program should be able to automatically detect the language of your code and style it accordingly. Input your code here:
Get the HTML code out here:
Once you have prettified the text, you can simply copy the HTML code above. Using it on your webpage requires that the page has the prettify.css stylesheet loaded. It is available here.