摘要: <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>下拉菜单</title> <style type="text/css"> body,ul,li{ margin:0; padding:0; font-size:13 阅读全文
posted @ 2017-01-19 17:46 fireporsche 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1.location:本页面的location对象 对象属性图示: 对象属性: 对象方法: 2.history:是本页面的浏览历史 history对象记录了用户曾经浏览过的页面(URL),并可以实现浏览器前进与后退相似导航的功能。 注意:从窗口被打开的那一刻开始记录,每个浏览器窗口、每个标签页乃至每 阅读全文
posted @ 2017-01-19 14:10 fireporsche 阅读(675) 评论(0) 推荐(0) 编辑
摘要: 第一种方法: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>实践题 - 选项卡</title> <style type="text/css"> /* CSS样式制作 */ *{margin:0;paddin 阅读全文
posted @ 2017-01-19 13:11 fireporsche 阅读(215) 评论(0) 推荐(0) 编辑
摘要: childNodes表示的就是孩子的意思,其中需要注意的几点是: 1.table和ul的区别 <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <titl 阅读全文
posted @ 2017-01-19 10:43 fireporsche 阅读(157) 评论(0) 推荐(0) 编辑