HTML frameset tags - HTML framework frames - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

21.1. HTML frameset tags

Frameset tags - on behalf of HTML framework
  • 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%" <frameset rows => 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*" <frameset Cols => content </ frameset> 

Three examples of the framework

Definition of a line 2 * 3 framework

  <frameset Rows = "30%,70%" cols = "33%,34%,33%" /> content </ 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*" <frameset Rows => content </ frameset> 

Examples of the complex framework

Nesting framework, the framework can be multi-nested

  <frameset Cols = "33%, 33%, 34%" /> first frame <! - The second frame -> "40%, 50%" <frameset rows => the first second the second frame a frame of the second line </ frameset> third frame </ frameset> 

Examples of the framework of nested