Blogger Information
Blog 40
fans 0
comment 1
visits 24384
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
第3章 1210-内联构架元素与CSS入门,学习心得、笔记
努力工作--周工--Robin
Original
388 people have browsed it

今天所学心得、笔记

1、用iframe写一个简单的小后台

  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport"
  6. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <title>简易小后台</title>
  9. <link rel="stylesheet" href="style/layout.css" />
  10. </head>
  11. <body>
  12. <!--头部-->
  13. <header><h1>&lt;小后台页眉&gt;</h1></header>
  14. <!--侧边栏、主体内容区-->
  15. <div class="container">
  16. <!--侧边栏-->
  17. <aside>
  18. <h1>&lt;侧边栏&gt;</h1>
  19. <h1><a href="page1.html" target="content">第一页</a></h1>
  20. <h1><a href="page2.html" target="content">第二页</a></h1>
  21. <h1><a href="page3.html" target="content">第三页</a></h1>
  22. <h1><a href="page4.html" target="content">第四页</a></h1>
  23. <h1><a href="page5.html" target="content">第五页</a></h1>
  24. </aside>
  25. <!--主体内容区-->
  26. <main>
  27. <iframe src="page1.html" name="content"></iframe>
  28. </main>
  29. </div>
  30. <!--页脚-->
  31. <footer><h1>&lt;小后台页脚&gt;</h1></footer>
  32. </body>
  33. </html>

代码效果截图

" class="reference-link">

2、css优先级理解

内联样式 > ID选择器 > 伪类=属性选择器=类选择器 > 标签选择器[div、p] > 通用选择器(*) > 继承的样式


3、例图示表元素样式的四个来源

Correcting teacher:天蓬老师天蓬老师

Correction status:qualified

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