This demo is powered by the following code:
Look at the source option to see the possible values.
$(function() { $( "#autocomplete" ).autocomplete({ source: [ { label: "aardvark", value: "aardvark" }, { label: "<b>apple</b>", value: "apple" }, { label: "<i>atom</i>", value: "atom" } ], html: true }); });