Chapter 6 Frames and Image Maps Frame sets and frames Image Maps.

Slides:



Advertisements
Similar presentations
Frames.
Advertisements

CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.
Image Maps and Graphics Internet Basics and Far Beyond! Mrs. Wilson.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
1 DePaul University SNL 262 Web Page Design Frames! - Chapt 20 Yet Another Way to Divide Up The Screen. Instructor: David A. Lash.
1 Web Page Design Frames! - Chapt 20 Yet Another Way to Divide Up The Screen. Using HTML and JavaScript to Develop Website.
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
Create a Web Site with Frames
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Chapter 6 Working with Frames.
 You've probably come into contact with web sites in which the browser window seemingly allowed you to move around between several different pages. 
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
Frameset. FrameSet With frames, we can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each.
XHTML1 Topics Work with the Frameset Document Type Definition (DTD) Create frames Use the target and base attributes Create nested frames Format frames.
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
1 Advanced Frame Options Using NORESIZE  By default, users may resize frames unless you specify the NORESIZE attribute in the tag  Examples:
FRAMES. With frames, we can display more than one HTML document in the same browser window. Each HTML document is called the same browser window. Each.
© 2004, Robert K. Moniot Chapter 5 Introduction to HTML, Continued.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
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.
Chapter 12 FRAMES. HOW FRAMES WORK When you view a framed page in a browser, you are actually looking at several HTML documents at once. The key to making.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 7: Working with Frames Kelly L.
Working with HTML Frames The Good, The Bad & The Ugly.
CSCE 102 – Chapter 6 (Web Design and Layout) CSCE General Applications Programming Benito Mendoza Benito Mendoza 1 By Benito Mendoza.
Week 11 Creating Framed Layouts Objectives Understand the benefits and drawbacks of frames Understand and use frame syntax Customize frame characteristics.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 2 Outline frameset Element 5.10 Nested frameset s.
1 Week Four– Advance HTML 2 Dr. Fadi Safieddine. 2 Lecture Content Basic HTML Tables Using based Feedback form Creating and Using Image Maps Nested.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Chapter 8 HTML Frames. 2 Principles of Web Design Chapter 8 Objectives Understand the benefits and drawbacks of frames Understand and use frames syntax.
Web111a_chapt05.ppt HTM: Section 5 Frames A section of the browser window capable of displaying an entire web page Display multiple web pages on the screen.
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.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
The Web Wizard’s Guide to HTML Chapter Seven Frames.
HTML: Tables & Frames Internet Technology.
Lesson 8. Dividing the screen horizontally Horizontal Frames.
1 Review of HTML Elements. 2 The tag These tags are marked as comments in HTML. Any text between these two comment tags will.
Image Map You can define a region on your image as clickable. Add usemap=“mapname” parameter to your image. Add a tag to your html where name of map tag.
 You can also divide an image into regions that link to different documents depending on where someone clicks.  This is called an imagemap, and any.
FRAMES. Frames allow you to divide the page into several rectangular areas and to display a separate document in each rectangle. Each of those rectangles.
Web Page Design Frames! Yet Another Way to Divide Up The Screen. Using HTML and JavaScript to Develop Website.
Week 9: HTML Tables and Frames HNDIT11062 – Web Development.
Basic Webpage Design Mark-up html document with images.
HTML FRAMES With Frames, you can display more than one Web page in the same browser window.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
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.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
REEM ALMOTIRI Information Technology Department Majmaah University.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
Jozef Goetz, © 2011 Pearson Education Copyright (c) 2007Prentice-Hall. All rights reserved.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
Lesson 9. Test 1 How was the test ? Assignment 1 (must complete satisfactorily even if you do not get any marks for it !!!!!!)
CS-3432 Electronic Commerce Lecture – 9 Sikandar Shujah Toor
Introduction to HTML.
Client-Side Internet and Web Programming
HTML Structure II (Frame)
Creating Links – Lesson 3
FRAMES.
Programming the Web using XHTML and JavaScript
Client-Side Internet and Web Programming
Table of Contents Creating Frames Frameset Tag and its attributes
Table of Contents Creating Frames Frameset Tag and its attributes
Table of Contents Creating Frames Frameset Tag and its attributes
Creating an Image Map.
Project 4 Creating an Image Map.
Creating Frames on a Web Page
Presentation transcript:

Chapter 6 Frames and Image Maps Frame sets and frames Image Maps

Chapter 6 Frame Basics Frames divide a page into separate entities.

Chapter 6 Frame Basics A frame-based page requires a separate file for the frame set (basic.html) and each frame (frame1.html, frame2.html)

Chapter 6 The Frame Set Page The … tags form a container for the frame set. A tag is required for each frame. … tags specify alternate text for non-frame browsers. A Frame set page may use three tags. The first two tags are required.

Chapter 6 The Frameset Page <FRAMESET COLS = “20%, *”> This frame set divides the page vertically. The first frame occupies 20% of the width. The second frame uses the remaining 80%.

Chapter 6 The Tag SRC= “” : Specifies URL of the frame. NAME= “” : Name is a TARGET of an tag. NORESIZE : Don’t resize frame. SCROLLING = “NO”| “YES” | “AUTO” : Specifies presence of scrollbars. The tag contains these attributes.

Chapter 6 The Tag <FRAME SRC = “frame1.html” NAME = “leftFrame”> The tag indicates the source for the leftmost frame.

Chapter 6 The TARGET Attribute The left frame contains tags specifying the right frame as the target. <A HREF = “illinois.html” TARGET = “rightFrame” > Illinois

Chapter 6 Horizontal Frames <FRAMESET ROWS = “50%,*” BORDER = “0”> This frame set divides the page horizontally. A BORDER value of 0 removes the border.

Chapter 6 Combined Frames <FRAMESET ROWS = “50%,*” COLS = “50%,*”> This frame set divides the page horizontally and vertically.

Chapter 6 Combined Frames <FRAMESET ROWS = “25%,*” BORDER = “0%”> <FRAMESET COLS = “25%,25%,25%, *”> The first frame set is used to place the directions in the top frame and the check lists in the bottom.

Chapter 6 Combined Frames <FRAMESET ROWS = “25%,*” BORDER = “0%”> <FRAMESET COLS = “25%,25%,25%, *”> The second frame set divides the top frame into four frames.

Chapter 6 Image Maps The … tags form a container for the tags. The tags define the clickable regions. The tag contains the source image for the map. An image map contains clickable regions that are used to load pages into a frame. Tags uses for image maps are:

Chapter 6 Image Maps The top frame contains the image map.

Chapter 6 Image Maps The tag forms a container for the clickable regions. …

Chapter 6 The Tag SHAPE defines the shape of the area. COORDS lists the coordinates for the shape. ALT contains alternate text. HREF contains the file to be loaded when the region is clicked. TARGET loads the page into a frame. An tag can contain these attributes:

Chapter 6 Rectangular Areas A rectangular area requires (x,y) coordinates for the top left and lower right corners.

Chapter 6 Circular Areas A circular area requires (x,y) coordinates for center point and the radius.

Chapter 6 Polygonal Areas A polygonal area requires (x,y) coordinates for each point on the polygon. The first and last points should be the same.

Chapter 6 Default Areas A default area is used to handle mouse clicks that fall outside any region. The default area for the shapes image map is:

Chapter 6 The Tag The tag links the image map and the image. The tag for the shapes image map is: