var li = $("<li>",{title:"123",css:{"background":"red"}});
li.appendTo($("ul"))str = "hello, <b>my name is</b> jQuery.", html = $.parseHTML( str ), console.log(html);