- 博客(4)
- 收藏
- 关注
原创 jQuery 学习笔记4
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style> p{ width:200px; margin:0 auto; background: burlywood; color:white; text-align: center; } p.off{ back..
2020-09-12 15:28:49 50
原创 jQuery 学习笔记3
html()可以解析标签 text()只可以解析字符串 案例:内部插入 运行结果: 加入“$(“span”).appendTo(“p”);”后把所有的放入标签里。 运行结果: 加入:“$("#container").prepend("");” 运行结果: $(“span:first,span:eq(1)”).prependTo(“p:first”);//选中第一个和第二个放在第一个节点里 <!DOCTYPE html> <html> <hea...
2020-09-10 22:11:50 66
原创 jQuery 学习笔记 1
案例: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>网页选项卡</title> <style type="text/css"> *{ margin:0; padding:0;} body { font:12px/19px Arial, ...
2020-09-08 21:05:03 54
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人