The frames layout
The HTML document that explains the frameset document or layout has a different setup to make than an HTML document within frames. The standard document divided into head section and body. The frameset document will be considered from the head and a frameset that place in the body. The frameset section from a document will specify the views of layout in the main user of the agent window. Moreover, the frameset section is also able to contain with a “no frames” elements for providing the alternate content to user agents that do supports with frames or they are configured to not display the frames.
Specifying the information of frame target
Set the default target for links
In a condition where there are several links in a document designated for the same target, and then the author is also possible for specify the target once and then dispense with “target” attribute from each of the elements. This will be done by setting the “target” attributes from the base elements.
Targeting the semantics
The user agents of HTML document should determine the “target” frame that will load a link resource based on the following precedence (from the top priority to the lowest) with the keys:
- If there is an element that has its “target” attribute set to the known frame, then when the elements are activated the resource is designed should be loaded into the target frame
- If the element does not have the “target” attributes but it has the “base” element then the “base” element target attributes will determine the frame.
- If the element or the base element refers to a specified target then the resource id designated with the element should be loaded with the frame that contains with the element
- If there any “target” attribute refers to the unknown frame of F then user agent needs to create a new window and frame and assign the frame with name F and then load the resources that designated by the element within the new frame.
The element of no frames
The “no frames” element will specify the content that should be displayed only by the user agents that not support the frames or element that configured to not display the frames. The user agents can supports the frames should only display the content from the “no frames” target when configured with not to display frames. The user agents should not support the frames should display the content from the “no frames” title in any case.
Strategy for your website