2020年7月26日
摘要: 链接伪类 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http- 阅读全文
posted @ 2020-07-26 23:40 知否知否, 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 后代选择器<style> .nav a { color:red; } </style> <div class="nav"> <a href="#">内部链接</a> <a href="#">内部链接</a> <a href="#">内部链接</a> </div> 子元素选择器 <style> div 阅读全文
posted @ 2020-07-26 23:14 知否知否, 阅读(70) 评论(0) 推荐(0) 编辑
  2020年7月25日
摘要: 字体属性 <style> body { font-family:'Microsoft YaHei'; font-size: 22px; font-weight: 700; } </style> 文本颜色、对齐文本text-align、装饰文本text-decoration、文本缩进text-inde 阅读全文
posted @ 2020-07-25 20:02 知否知否, 阅读(118) 评论(0) 推荐(0) 编辑
摘要: <form> 用户名:<input type="text" name="username"><br> 密码:<input type="password" name="password"><br> 性别:男<input type="radio" name="sex"> 女<input type="ra 阅读全文
posted @ 2020-07-25 15:25 知否知否, 阅读(94) 评论(0) 推荐(0) 编辑
  2020年7月24日
摘要: 标签选择器 <style> p { color:red; font: size 12px; } </style> 类选择器 <style> .green { color:green } </style> <dl> <dt class="green">关注我们</dt> <dd>新浪微博</dd> < 阅读全文
posted @ 2020-07-24 21:10 知否知否, 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 表格1表格的相关标签 <table> <tr>行 <th>表头单元格 <td>单元格 <thead>表头区域标签 <tbody>表格主题区域标签2表格的相关属性 align 表格位置left,center,right border 边框1或“” cellpadding文字距离边框 cellspaci 阅读全文
posted @ 2020-07-24 16:08 知否知否, 阅读(82) 评论(0) 推荐(0) 编辑
摘要: <img src='2.png' /> <img src="image/3.png" 下级目录图片 <img src="../1.png" 上一级目录的图片 <a href="http://www.qq.com" target="_blank">外部链接腾讯</a> 外部链接 <a href="in 阅读全文
posted @ 2020-07-24 15:21 知否知否, 阅读(67) 评论(0) 推荐(0) 编辑
摘要: <strong>我粗不粗</strong> <em>我是倾斜的</em> <del>我是删除线</del> <ins>我是下划线 </ins> <div></div> <span></span> 布局用的,div一个占一行,span一行可以多个 阅读全文
posted @ 2020-07-24 13:32 知否知否, 阅读(73) 评论(0) 推荐(0) 编辑
  2020年7月21日
摘要: with tf.GradientTape() as tape: w = tf.Variable(tf.constant(3.0)) loss = tf.pow(w,2) grad = tape.gradient(loss,w) print(grad) #tf.Tensor(6.0, shape=() 阅读全文
posted @ 2020-07-21 17:42 知否知否, 阅读(102) 评论(0) 推荐(0) 编辑
摘要: a #<tf.Tensor: shape=(4, 2), dtype=float32, numpy= array([[ 0.491424 , 0.6428182 ], [ 2.247138 , 0.2008341 ], [ 0.93056387, 0.01603121], [ 0.33425295, 阅读全文
posted @ 2020-07-21 16:57 知否知否, 阅读(222) 评论(0) 推荐(0) 编辑