XHTML - Anti-frame structure
Frame structure will allow several pages at the same time displayed in the browser within a page. We do not recommend that you use it to design Web site.
The handbook after more closely linked, we recommend that you read from the first quarter onwards.
Frame label <frameset> </ frameset>
Framework allows you to a browser window open, and more than two pages. You can understand it, <frameset> fact is a large <table>, but the entire page is the main <table>, and every cell contents are an independent web site.
Frame points to the column ( "cols" and "rows" attribute)
As we said frame structure can be understood as a web-cell forms, then there must be a column. Cols attribute which will be divided into several pages out, and rows attribute trip will be divided into several pages. Below look at an example.
<html> <frameset Rows="25%,75%" /> <frame src="1.html" /> <frame src="3.html" /> </ frameset> </ html>
Among them, "rows =" 25%, 75%, "said the page is divided into two, because it has two attribute values, and they were the size of a high degree of pages of the 25% and 75%. Click here to see above code display. framework labels <frame>
In the above example has been used by <frame> tag, it is the src attribute this framework will be that the content. In this example in the framework of the two can drag a small proportion of the change, if you want to use their size can be fixed noresize = "noresize" attribute.
:<frame> Labelling is an empty label to be added a "/" to comply with the requirements of XHTML. NOTE: <frame> label is an empty label to be added a "/" to comply with the requirements of XHTML.
On the label <noframe>
The label only when the browser does not support frame structure, will play a role, as it is almost all Internet users browser support frame structure, we are here not on the label. If you want to understand the relevant content on the network can access HTML manual.
Frame and DTD
Pages framework of the DTD and the general Web pages. Statement as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd" />
Enter the next section: XHTML Tutorial - form
