Blogger Information
Blog 16
fans 0
comment 0
visits 13240
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
iframe内联框架 && CSS基础
小雨丶
Original
481 people have browsed it

iframe内联框架

a链接中的target=’iframe标签的name的值’

<a href="http://pic.netbian.com/" target="data">点击打开高清壁纸网站</a>
<iframe srcdoc="显示内容" frameborder="0" name="data" width="100%" height="600px"></iframe>

iframe作业
  1. <div class="header">网站管理后台</div>
  2. <div class="aside">
  3. <a href="http://www.baidu.com/" target="content">百度一下</a>
  4. <a href="http://pic.netbian.com/" target="content">高清壁纸</a>
  5. </div>
  6. <div class="main">
  7. <iframe srcdoc="显示左侧栏快" name="content" frameborder="0" width="100%" height="100%"></iframe>
  8. </div>

CSS基础

样式种类
  1. 浏览器默认样式
  2. 继承父元素的样式
  3. 用户自定义外联样式——link引入样式
  4. 用户自定义内部样式——style标签内样式
  5. 用户自定义内联样式——标签style属性样式
  6. 级别:外联 < 内部 < 内联
CSS选择器
  1. 标签选择器——标签{样式}
  2. 属性选择器——标签【属性】{样式}
  3. 类选择器——#IdName{样式}
  4. ID选择器——.className{样式}
  5. 级别:标签选择器<类选择器<ID选择器
  6. (同级别写在后边的样式会顶替前边的相同样式)
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
Author's latest blog post