Presentation is loading. Please wait.

Presentation is loading. Please wait.

Frames in XHTML Please use speaker notes for additional information!

Similar presentations


Presentation on theme: "Frames in XHTML Please use speaker notes for additional information!"— Presentation transcript:

1 Frames in XHTML Please use speaker notes for additional information!

2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Header Page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> This is the top... TOP OF SCREEN!!! This is the top header information! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> This is the bottom... BOTTOM OF SCREEN!!! This is the bottom header information! The frameset is divided into rows. The first row will take up 50% of the page and the second row will use * which means the rest of the page.

3 This is hdrtx.html inside the top frame in the page indextbx.html. This is hdrbx.html inside the bottom frame in the page indextbx.html.

4 When you click on source you see the source for the main page with the frameset. To see the source of the page in the frame, right click in the frame and view source.

5

6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Header Page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> This is the right... RIGHT SIDE OF SCREEN!!! This is the right header information! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> This is the left... LEFT SIDE OF SCREEN!!! This is the left header information! The framset is divided into columns with the first column using 50% of the page and the last column using the rest. * means whatever is left.

7

8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Header Page Note that I indented <frame for readability. This will produce the configuration shown on the next slide. The output is broken into columns and then rows.

9

10 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Header Page Three rows have been designated. The first row contains one page. It is 25% of the page. There is a frameset within the second row divided into two columns. Each column contains a page. After the frameset that forms the second row is closed, the next row is a frame that contains one page. It is also 25% although the designation was *.


Download ppt "Frames in XHTML Please use speaker notes for additional information!"

Similar presentations


Ads by Google