jquery css attr
$("img").attr({ src: "test.jpg", alt: "Test
Image" }); //添加样式
$("p").css({ color: "#ff0011",
background: "blue" }); //修改样式
$("img").attr({ src: "test.jpg", alt: "Test
Image" }); //添加样式
$("p").css({ color: "#ff0011",
background: "blue" }); //修改样式