Change Font Size: Previous / Next / Directory List
21.1. HTML frameset tags
- Frameset the label is paired to
<frameset>, </ frameset>end - When using the framework of the page there should not be labelling
body - The framework should be used to declare their support for the framework document type
<DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Frameset / / EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- frameset.dtd " /> - Attribute:
-
Cols- defined level framework for the value of a px or Percentage -
Rows- definition of a vertical framework of a value for px or Percentage
-
- Trackback Address: http://www.nt22.com/xhtml-html/tag_frameset/
Example
Definition of the uplink and downlink, and they each page is 50%
"50%, 50%"<framesetrows=>content</ frameset>
From top to bottom, each occupying 50% of the sample framework
Definition of the level before, during, and after the out, as 250 px pixels, and after the forefront are accounted for the remaining 25% and 75%
"1*,250,3*"content<framesetCols =></ frameset>
Three examples of the framework
Definition of a line 2 * 3 framework
<framesetRows="30%,70%"cols=content"33%,34%,33%" /></ frameset>
2 to 3 examples of the framework
Below this example we assume that the pages 1000 px, and the first line of 30% of 300 px, in the acts of 400 px, and the remaining 300 px was following two distribution, "2 *" is the double meaning of "*" equivalence "1 * "Therefore, in the next 100 px acts, acts under 200 px
"30%,400,*,2*"<framesetRows=>content</ frameset>
Examples of the complex framework
Nesting framework, the framework can be multi-nested
<framesetCols ="33%, 33%,first frame34%" /><! - The second frame ->"40%, 50%"<framesetrows=>the first second the second frame a frame of the second line</ frameset>third frame</ frameset>
