Note that iframes are available in HTML5.

Slides:



Advertisements
Similar presentations
Creating Frames. Frames allow you to view more than one Web page at a time. You can split the browser window horizontally and vertically. You can also.
Advertisements

Frames.
HTML/XML XHTML Authoring. Creating Tables  Table: An arrangement of horizontal rows and vertical columns. The intersection of a row and a column is called.
17/10/11. 2  The form element ( ) is used to include a number of form elements together so that they can be referenced by some other code in order to.
COS 125 Day 25. Agenda  Assignment #7 Due  Final capstone progress report due next class  Assignment #8 Posted Due April 25 One more to go  Exam #5.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 4: Tables and Frames.
CS 142 Lecture Notes: HTMLSlide 1 Introduction There are several good reasons for taking CS142: Web Applications: ● You will learn a variety of interesting.
1Frames Recognize a web page that uses a frameRecognize a web page that uses a frame Identify advantages and disadvantages of using framesIdentify advantages.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
The Power of Tables They aren't just for sitting stuff on anymore...
Chapter 6 Working with Frames.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
1 Advanced Frame Options Using NORESIZE  By default, users may resize frames unless you specify the NORESIZE attribute in the tag  Examples:
HTML Essentials Frames and Frame Tags. Introduction A frame used to be an effective design tool Utilized space effectively by subdividing screen One idea:
1 Web Developer & Design Foundations with XHTML Chapter 5 Key Concepts.
Using images with XHTML Please use speaker notes for additional information!
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
XHTML Instructor: Charles Moen CSCI/CINF XHTML  A stricter version of HTML  Extensible HTML  The XHTML specification is maintained by the World.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
Getting Started with HTML Please use speaker notes for additional information!
Frame Page A Frame Page does the following: –Defines the size of each frame. –Defines how the window will be broken up – rows or columns. –Specifies which.
1 HTML Frames
Frames in XHTML Please use speaker notes for additional information!
1 Web Developer Foundations: Using XHTML Chapter 5 Key Concepts.
XHTML1-1 Extensible HyperText Markup Language (XHTML) Part 2 Xingquan (Hill) Zhu
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 6.
HTML Concepts and Techniques Fifth Edition Chapter 6 Using Frames in a Web Site.
Jozef Goetz, © 2011 Pearson Education Copyright (c) 2007Prentice-Hall. All rights reserved.
 2003 Prentice Hall, Inc. All rights reserved. Introduction to HTML: Frames Outline 1 Introduction 2 frameset Element 3 Nested frameset s 4 Web Resources.
Using Frames in a Website GMU November 12-13, 2004.
HTML: Tables & Frames Internet Technology.
Images and Tables ables.asp.
1 HTML Frames
HTML Frames. Advantages to Using Frames n flexibility in design n information in different Web pages n remove redundancy. n site easier to manage. n update.
Frames. Dividing a page, called frameset, into frames, allow the visitor to see more than one page at a time Each frame contains its own Web page, and.
INTRODUCTORY Tutorial 9 Creating Frames. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Decide when to use frames for a Web site Learn.
1 HTML Frames
Jozef Goetz, © 2011 Pearson Education Copyright (c) 2007Prentice-Hall. All rights reserved.
Chapter 4 Frames and Cascading Style Sheets. Frames Frames divide a browser window into two or more separate pieces or panes, with each pane containing.
What is XHTML? XHTML stands for Extensible Hypertext Markup Language
CSE 102 Introduction to Web Design and Programming
CSE 102 Introduction to Web Design and Programming
FRAMES.
Using the Internet to publish data and applications
Introduction to HTML5.
XHTML
HTML Extras.
XHTML Review Anita Philipp Updated Spring 2016.
Introduction There are several good reasons for taking CS142: Web Applications: You will learn a variety of interesting concepts. It may inspire you to.
CS 142 Lecture Notes: Rails Controllers and Views
Here.. here. Pardon my "art". Shows how to make a background image Pardon my "art"! Shows how to make a background image. The image.
This shows a frameset that includes two pages in columns
Instructor: Charles Moen
HTML Tables & Frames Internet Technology.
CIS44.
CS 142 Lecture Notes: Rails Controllers and Views
HTML Frames
Introduction to HTML5.
Using tables in HTML Goes in order with Examples at my site.
This shows the frameset container page which holds two additional pages in rows - the first row uses 50% of the page and the last row uses the rest. Note.
Cascading Style Sheets
XHTML 7-May-19.
XHTML Basics.
Introduction to HTML5.
XHTML 29-May-19.
محمد احمدی نیا XHTML محمد احمدی نیا
HTML Tables & Frames Internet Technology.
Creating a Timetable.
Creating Web Documents
Presentation transcript:

Note that iframes are available in HTML5. Frames have been phased out of HTML5 so we are looking at them under XHTML. For the examples I am covering look under XHTML and then frames. Note that iframes are available in HTML5.

<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr"> <head> <title>Header Page</title> </head> <frameset rows="50%,*"> <frame src="hdrtx.html" name="hdrtop" /> <frame src="hdrbx.html" name="hdrbottom" /> </frameset> </html> The top four lines wrapping onto the fifth are about XHTML and they say that it is using a frameset. The frameset says rows=”50%,* which means the top row uses 50% and the rest uses what is left. Within the frameset we are setting a frame for each of the rows. The top row will contain the page hdrtx.html and the bottom row will contain the page hdrbx.html. Note that each of these are entire pages that you can see at my site under frames. Then the frameset is closed. So the frameset is made up in this example of two rows each containing a page and each given a name that can be used in more advanced examples.

Here we have cols instead of rows and again each contains a page Here we have cols instead of rows and again each contains a page. When you view page source you see this code. On the next page we will view frame source of one of the pages and see the code for that page.

I am viewing the source of the page in the frame which is hdrlx.html.

You can follow which is which through the name. This is hdrtx You can follow which is which through the name. This is hdrtx.html name = “hdrtop”

See next page

The example on the previous page has three rows and the middle row is divided into two columns. First I used frameset to layout the three rows with 25%, 50%, *. In the first row I put hdrtx.html Then I made the second row a frameset with two columns so each of those columns contains a page. The left column contains hdrlx.html and the right column contains hdrrx.html. Then I closed the frameset. Note that this frameset was nested in the original framset. Next I dealt with the third row which contains hdrbx.html and then I closed the outer frameset.

Second: I want you to experiment with frames Second: I want you to experiment with frames.Try a nested frame with one row on the top and one row on the bottom and the bottom one divided into 3 columns. The frame assignment you have is to have two rows but the bottom row is divided so it has 3 columns. You can show different pages in each of the four areas or you can show the same page in each of the four areas.