Added more examples to the documention

I've added a html form example and updated the html example so it is clearer how it can be used.