Blogger Information
Blog 10
fans 0
comment 0
visits 9511
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
0506作业
Tyrrell
Original
411 people have browsed it

1.创建一个html页面、编写html代码实现自己的‘个人简历

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>Document</title>
  8. <style>
  9. table {
  10. border: 1px #9A9997 solid;
  11. }
  12. td {
  13. border: 1px #9A9997 solid;
  14. height: 1.8rem;
  15. width: 10rem;
  16. }
  17. th {
  18. border: 1px #9A9997 solid;
  19. text-align: left;
  20. }
  21. .jz{
  22. text-align: center;
  23. }
  24. .zwpj,
  25. .gzms {
  26. height: 11rem;
  27. text-align:left;
  28. vertical-align: top;
  29. }
  30. table .Lightblue {
  31. background: #a5c6ed;
  32. }
  33. table .Light {
  34. background-color: #e7eefb;
  35. }
  36. </style>
  37. </head>
  38. <body>
  39. <table cellspacing="0" cellpadding="5px">
  40. <!-- 基本资料 -->
  41. <tr class="Lightblue">
  42. <td colspan="5"></td>
  43. <!-- <td></td>
  44. <td></td>
  45. <td></td>
  46. <td></td> -->
  47. </tr>
  48. <tr>
  49. <th colspan="5" class="Light">------ 基本资料 ------</th>
  50. <!-- <td></td>
  51. <td></td>
  52. <td></td>
  53. <td></td> -->
  54. </tr>
  55. <tr>
  56. <td>姓名:</td>
  57. <td>马晓旭</td>
  58. <td>性&nbsp;&nbsp;&nbsp;别:</td>
  59. <td></td>
  60. <td rowspan="7"></td>
  61. </tr>
  62. <tr>
  63. <td>学历:</td>
  64. <td>中专</td>
  65. <td>身&nbsp;&nbsp;&nbsp;高:</td>
  66. <td>168CM</td>
  67. <!-- <td></td> -->
  68. </tr>
  69. <tr>
  70. <td>籍贯:</td>
  71. <td>广东</td>
  72. <td>出生年月:</td>
  73. <td>1991-1-1</td>
  74. <!-- <td></td> -->
  75. </tr>
  76. <tr>
  77. <td>毕业学校:</td>
  78. <td colspan="2">汕头科技中学</td>
  79. <!-- <td></td> -->
  80. <td></td>
  81. <!-- <td></td> -->
  82. </tr>
  83. <tr>
  84. <td>主修专业:</td>
  85. <td colspan="2">管理学 => 会计学</td>
  86. <!-- <td></td> -->
  87. <td></td>
  88. <!-- <td></td> -->
  89. </tr>
  90. <tr>
  91. <td>工作经验:</td>
  92. <td></td>
  93. <td>目前年薪:</td>
  94. <td>保密/年</td>
  95. <!-- <td></td> -->
  96. </tr>
  97. <tr>
  98. <td>有效证件:</td>
  99. <td>身份证</td>
  100. <td>证件号码:</td>
  101. <td>**********</td>
  102. <!-- <td></td> -->
  103. </tr>
  104. <tr class="Lightblue">
  105. <td colspan="5"></td>
  106. <!-- <td></td>
  107. <td></td>
  108. <td></td>
  109. <td></td> -->
  110. </tr>
  111. <!-- 求职意向 -->
  112. <tr>
  113. <th colspan="5" class="Light">------ 求职意向 ------</th>
  114. <!-- <td></td>
  115. <td></td>
  116. <td></td>
  117. <td></td> -->
  118. </tr>
  119. <tr class="Lightblue">
  120. <td>寻求职位:</td>
  121. <td colspan="4">出纳员,会计文员</td>
  122. <!-- <td></td>
  123. <td></td>
  124. <td></td> -->
  125. </tr>
  126. <tr>
  127. <td>求职地区:</td>
  128. <td colspan="2">罗湖区 福旺区</td>
  129. <!-- <td></td> -->
  130. <td>工资待遇:</td>
  131. <td>面议</td>
  132. </tr>
  133. <tr>
  134. <td >自我评价:</td>
  135. <td colspan="4" class="zwpj">自我评价</td>
  136. <!-- <td></td>
  137. <td></td>
  138. <td></td> -->
  139. </tr>
  140. <tr class="Lightblue">
  141. <td colspan="5"></td>
  142. <!-- <td></td>
  143. <td></td>
  144. <td></td>
  145. <td></td> -->
  146. </tr>
  147. <!-- 培训教育 -->
  148. <tr>
  149. <th colspan="5" class="Light">------ 教育培训 -----</th>
  150. <!-- <td></td>
  151. <td></td>
  152. <td></td>
  153. <td></td> -->
  154. </tr>
  155. <tr class="jz">
  156. <td>起止时间:</td>
  157. <td colspan="2">就读院校名称:</td>
  158. <!-- <td></td> -->
  159. <td>主修专业:</td>
  160. <td>学历:</td>
  161. </tr>
  162. <tr class="jz">
  163. <td>2009.09-2012.07</td>
  164. <td colspan="2">汕头百欣科技中专</td>
  165. <!-- <td></td> -->
  166. <td>会计电算化</td>
  167. <td>中专</td>
  168. </tr>
  169. <tr>
  170. <td colspan="5" class="Lightblue"></td>
  171. <!-- <td></td>
  172. <td></td>
  173. <td></td>
  174. <td></td> -->
  175. </tr>
  176. <!-- 工作经验(1) -->
  177. <tr>
  178. <th colspan="5" class="Light">------ 工作经验()1 ------</th>
  179. <!-- <td></td>
  180. <td></td>
  181. <td></td>
  182. <td></td> -->
  183. </tr>
  184. <tr class="jz">
  185. <td>就职公司:</td>
  186. <td colspan="2">深圳XX电器有些公司</td>
  187. <!-- <td></td> -->
  188. <td>公司行业:</td>
  189. <td>其他</td>
  190. </tr>
  191. <tr class="jz">
  192. <td>就职时间:</td>
  193. <td colspan="2">2011年12月到如今</td>
  194. <!-- <td></td> -->
  195. <td>就职部门:</td>
  196. <td>财务部</td>
  197. </tr>
  198. <tr class="jz">
  199. <td>公司性质:</td>
  200. <td colspan="2">其他</td>
  201. <!-- <td></td> -->
  202. <td>就职职位:</td>
  203. <td>出纳员</td>
  204. </tr>
  205. <tr>
  206. <td>工作描述:</td>
  207. <td colspan="4" class="gzms">工作描述XXX</td>
  208. <!-- <td></td>
  209. <td></td>
  210. <td></td> -->
  211. </tr>
  212. <tr>
  213. <td colspan="5" class="Lightblue"></td>
  214. <!-- <td></td>
  215. <td></td>
  216. <td></td>
  217. <td></td> -->
  218. </tr>
  219. <!-- 联系方式 -->
  220. <tr>
  221. <td colspan="5" class="Light">----- 联系方式 -----</td>
  222. <!-- <td></td>
  223. <td></td>
  224. <td></td>
  225. <td></td> -->
  226. </tr>
  227. <tr>
  228. <td>联系电话:</td>
  229. <td colspan="4">134*******</td>
  230. <!-- <td></td>
  231. <td></td>
  232. <td></td> -->
  233. </tr>
  234. <tr>
  235. <td>联络手机:</td>
  236. <td colspan="4">134*******</td>
  237. <!-- <td></td>
  238. <td></td>
  239. <td></td> -->
  240. </tr>
  241. <tr>
  242. <td>电子邮件:</td>
  243. <td colspan="4">*******@163.com</td>
  244. <!-- <td></td>
  245. <td></td>
  246. <td></td> -->
  247. </tr>
  248. </tr>
  249. </table>
  250. </body>
  251. </html>

2.使用背景图定位属性,实现如下效果、提供格式本身代码、

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>Document</title>
  8. <style>
  9. .jgg div {
  10. width: 100px;
  11. height: 100px;
  12. }
  13. .jgg .jgg-top div:first-of-type {
  14. background: url("jgg.jpg") -10px -8px;
  15. }
  16. .jgg .jgg-top div:nth-of-type(2) {
  17. background: url("jgg.jpg") -340px -8px;
  18. }
  19. .jgg .jgg-top div:last-of-type {
  20. background: url("jgg.jpg") -670px -8px;
  21. }
  22. .jgg .jgg-middle {
  23. position: relative;
  24. left: 100px;
  25. top: -100px;
  26. }
  27. .jgg .jgg-middle div:first-of-type {
  28. background: url("jgg.jpg") -120px -8px;
  29. }
  30. .jgg .jgg-middle div:nth-of-type(2) {
  31. background: url("jgg.jpg") center;
  32. }
  33. .jgg .jgg-middle div:last-of-type {
  34. background: url("jgg.jpg") -780px -8px;
  35. }
  36. .jgg .jgg-bottom {
  37. position: relative;
  38. top: -200px;
  39. left: 200px;
  40. }
  41. .jgg .jgg-bottom div:first-of-type {
  42. background: url("jgg.jpg") -230px -8px;
  43. }
  44. .jgg .jgg-bottom div:nth-of-type(2) {
  45. background: url("jgg.jpg") -560px -8px;
  46. }
  47. .jgg .jgg-bottom div:last-of-type {
  48. background: url("jgg.jpg") -890px -8px;
  49. }
  50. </style>
  51. </head>
  52. <body>
  53. <div class="jgg">
  54. <div class="jgg-top">
  55. <div></div>
  56. <div></div>
  57. <div></div>
  58. </div>
  59. <div class="jgg-middle">
  60. <div></div>
  61. <div></div>
  62. <div></div>
  63. </div>
  64. <div class="jgg-bottom">
  65. <div></div>
  66. <div></div>
  67. <div></div>
  68. </div>
  69. </div>
  70. </body>
  71. </html>


3.使用html列表标签、配合css列表属性实现如下效果

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>Document</title>
  8. <style>
  9. div {
  10. width: 600px;
  11. }
  12. h1 {
  13. text-align: center;
  14. color: #eb118b;
  15. }
  16. ul {
  17. color: #eb118b;
  18. font-weight: bolder;
  19. }
  20. li:first-of-type {
  21. height: 50px;
  22. border-top: 3px solid #000;
  23. }
  24. li {
  25. height: 50px;
  26. border-bottom: 1px solid #958e8e;
  27. line-height: 50px;
  28. list-style: inside url("lbtb.png");
  29. }
  30. li:last-of-type {
  31. border: none;
  32. }
  33. </style>
  34. </head>
  35. <body>
  36. <div>
  37. <h1>学习猿地</h1>
  38. <ul>
  39. <li>老师都是大型互联网公司的总监以上职位,名校毕业,老司机</li>
  40. <li>课程是最全的,有着一套精品,不需要再找任何其他学习资料弥补</li>
  41. <li>集中精力在这一套全栈课程中,做好每一节课,不断迭代打造精品</li>
  42. <li>课程以项目贯穿式讲解需要的技术,知其然知其所以然</li>
  43. <li>课程是专门为零基础到精通的目标设计,有基础的可选择内容学习</li>
  44. <li>学习系统模拟面授的过程,通关式学习效果却超过面授几倍</li>
  45. <li>服务号,有大牛指导,有同学之间互动,有全面的资料下载</li>
  46. <li>最好的课程价格却是行业最低的,低几倍甚至几十倍</li>
  47. </ul>
  48. </div>
  49. </body>
  50. </html>


4.制作如下效果 并且实现鼠标移动时变换背景颜色

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>Document</title>
  8. <style>
  9. nav {
  10. width: 100%;
  11. height: 40px;
  12. background: red;
  13. }
  14. nav a {
  15. color: #fff;
  16. line-height: 40px;
  17. padding: 11.5px 20px;
  18. text-decoration: none;
  19. }
  20. nav a:hover {
  21. background: rgb(126, 126, 126);
  22. }
  23. </style>
  24. </head>
  25. <body>
  26. <nav>
  27. <a href="" target="_blank">首页</a>
  28. <a href="" target="_blank">前沿</a>
  29. <a href="" target="_blank">前端</a>
  30. <a href="" target="_blank">后端</a>
  31. <a href="" target="_blank">云计算</a>
  32. <a href="" target="_blank">产品设计</a>
  33. <a href="" target="_blank">关于我们</a>
  34. </nav>
  35. </body>
  36. </html>

4.2制作如下效果 并且实现鼠标移动时变换背景颜色

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>Document</title>
  8. <style>
  9. ul li {
  10. height: 30px;
  11. width: 250px;
  12. list-style: none inside;
  13. line-height: 30px;
  14. text-indent: 1rem;
  15. }
  16. ul li:hover {
  17. background: #b9b9b9;
  18. color: #c81c29;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <ul>
  24. <li>家用电器</li>
  25. <li>手机/运营商/数码</li>
  26. <li>电脑/办公</li>
  27. <li>家居/家具/家装/厨具</li>
  28. <li>男装/女装/童装/内衣</li>
  29. <li>美妆/个护清洁/宠物</li>
  30. <li>女鞋/箱包/钟表/珠宝</li>
  31. <li>男鞋/运动/户外</li>
  32. <li>房产/汽车/汽车用品</li>
  33. <li>母婴/玩具乐器</li>
  34. <li>食品/酒类/生鲜/特产</li>
  35. <li>艺术/礼品鲜花/农资绿植</li>
  36. <li>医药保健/计生情趣</li>
  37. <li>图书/文娱/教育/电子书</li>
  38. <li>机票/酒店/旅游/生活</li>
  39. <li>理财/众筹/白条/保险</li>
  40. <li>安装/维修/清洗/二手</li>
  41. <li>工业品</li>
  42. </ul>
  43. </body>
  44. </html>
Correcting teacher:PHPzPHPz

Correction status:unqualified

Teacher's comments:内容写的挺好的,注意博文标题符合实际内容 ,最好把第一个简历也能配上效果图
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post