替换或增加以及删除属性:
比如替换图片img的src连接
.attr("src", "http://zhouyi339.com/imgae/ic_gaimingzi.jpg");
比如增加class属性
.attr("class", "image-c");
删除超链接href内容
.removeAttr("href");
删除某个标签:
删除el下所有div标签以及内容
el.select("div").remove();
删除el下第一个p标签以及内容
el.select("p").get(0).remove();
获取超链接的href值
String href = li.select("a").val("href").get(0).attributes().get("href");