how to put div inside input code example Example: how to insert div inside input $("input#skills").val("<div style='background:green;'>"+skbl+"</div>");