they both have their pros and cons. I would rather send JSON as opposed to XML, its easier to work with client side and smaller response size, but HTML is easiest to work with client side and could be made to work when javascript is turned off (at the expense of server cpu cycles transforming the data to html before sending it).