Home  >  Article  >  Web Front-end  >  html框架

html框架

WBOY
WBOYOriginal
2016-05-30 16:59:461652browse

1、框架的概念

  框架:将一个浏览器窗口划分成若干个小窗口

2、框架集合框架页

  框架集:主要用来划分窗口的。

  框架页:主要用来指定窗口默认显示的网页地址。

一个简单实例:该frame将窗体分成了左右两栏,左栏200像素,右栏全部

 

效果

frameset 属性

  1、cols:划分左右框架。

    cols="180,*,180" //分为左中右结构。还可以用百分比

  2、rows:划分上下型框架

    rows:"180,*"//上部180像素,下部全部

  3、frameborder:是否显示框架边框线,取值:1和0

  4、border:边框线的粗细。

  5、bordercolor:边框线颜色。

frame框架页的属性

  1、src:该小窗口中,默认显示的网页地址。

  2、noresize:不能调整小窗口的大小。 noresize:=“noresize”

  3、scrolling:是否显示滚动条,取值:yes no auto

  4、name:指当前小窗口的名字。改名字是给标记的target属性来使用。例如:

解释:标记的链接文件news ,在abc的frame显示,效果:

html框架

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn