上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页
2019年4月6日
摘要: JavaScript引入方式 script标签内写代码 引入额外的JS文件 JavaScript语言规范 注释(注释是代码之母) 结束符 JavaScript中的语句要以分号(;)为结束符 JavaScript语言基础 变量声明 1.JavaScript的变量名可以使用_,数字,字母,$组成,不能以 阅读全文
posted @ 2019-04-06 11:48 HeiTangMuSi 阅读(126) 评论(0) 推荐(0) 编辑
2019年4月2日
摘要: CSS 基本选择器 元素选择器 id选择器 类选择器 通用选择器 组合选择器 后代选择器 儿子选择器 毗邻选择器 弟弟选择器 属性选择器 /*找到所有title属性以hello开头的元素*/ [title ^='hello']{ color: red; } /*找到所有title属性以hello结尾 阅读全文
posted @ 2019-04-02 19:17 HeiTangMuSi 阅读(134) 评论(0) 推荐(0) 编辑
2019年4月1日
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>基本标签</title> </head> <body> <h1>标题1</h1><!标题1 > <h2>标题2</h2><!标题2 > <h3>标题3</h3> 阅读全文
posted @ 2019-04-01 19:55 HeiTangMuSi 阅读(536) 评论(0) 推荐(0) 编辑
2019年3月29日
摘要: import json from datetime import datetime, date class MyJson(json.JSONEncoder): def default(self, o): if isinstance(o, datetime): return o.strftime('% 阅读全文
posted @ 2019-03-29 20:11 HeiTangMuSi 阅读(721) 评论(1) 推荐(0) 编辑
摘要: web服务的本质 import socket server = socket.socket() server.bind(('127.0.0.1', 8888)) server.listen() client, address = server.accept() data = client.recv( 阅读全文
posted @ 2019-03-29 20:01 HeiTangMuSi 阅读(97) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页