1 Advanced HTML Joshua S. Simon Collective Technologies.

Slides:



Advertisements
Similar presentations
Frames How to make a page that uses frames. Preview There used to be a time that frames were frowned upon because most browsers did not support them Nowadays.
Advertisements

Frames.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
HTML Frames HTML frames are used to divide your browser window into multiple sections where each section can load a separate HTML document. A collection.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
Frames 1 Lecture HTML: Frames and Miscellaneous Tags.
XP 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial 5.
1 DePaul University SNL 262 Web Page Design Frames! - Chapt 20 Yet Another Way to Divide Up The Screen. Instructor: David A. Lash.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
The Power of Tables They aren't just for sitting stuff on anymore...
Create a Web Site with Frames
Web Technologies Lecture # 5 : HTML Frames. Objectives n Create/control appearance & placement of frames n Control the behavior of hyperlinks on pages.
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.
Lecture on: Frames. FRAMES VERSUS TABLES Frames allow part of the page, usually a navigation bar, to stay put.
XP Tutorial 5New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial.
XHTML1 Topics Work with the Frameset Document Type Definition (DTD) Create frames Use the target and base attributes Create nested frames Format frames.
XP 1 Tutorial 5 Using Frames in a Web Site. XP 2 Tutorial Objectives  Describe the uses of frames in a Web site  Lay out frames within a browser window.
XP Using Frames in a Web Site Ali Alfayly. XP Tutorial Objectives Create frames for a Web site Control the appearance and placement of frames Control.
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.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
CIS67 Foundations for Creating Web Pages Professor Al Fichera Reference for CIS127 and CIS 137.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
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.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
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.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
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.
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.
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.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
Tutorial 8 Designing a Web Site with Frames. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore the uses of frames.
Windows and frames and the anchor tag. Frames Independent, scrollable portions of a Web browser window, with each frame capable of containing its own.
1 HTML Frames
© Marty Hall, Larry Brown Web core programming 1 HTML Frames.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
Week 9: HTML Tables and Frames HNDIT11062 – Web Development.
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.
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Working with Frames.
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
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.
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.
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.
Introduction to HTML.
FRAMES.
Tutorial 8 Designing a Web Site with Frames
Designing a Web Site with 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
Tutorial 8 Designing a Web Site with Frames
HTML Frames
Presentation transcript:

1 Advanced HTML Joshua S. Simon Collective Technologies

2 Overview  Working with frames  Using server-side includes  Extensions to HTML  Netscape Navigator  Microsoft Internet Explorer

3 Working with frames  Be careful:  easy to confuse the user  easy to confuse yourself

4 Using frames  Use the FRAMESET container in lieu of BODY  FRAMESET options:  COLS splits the pane into columns  ROWS splits the pane into rows  BORDER defines the thickness in pixels of the border around the frame  BORDERCOLOR defines the color of the border around the frame

5 Examples of frames  defines two columns, at 10% and 90% of the screen width  defines three rows, at 40 pixels, 20% of the screen length, and the rest of the screen length

6 What about non-FRAME users?  NOFRAMES container provides means to  notify users that the page requires frames  give users option of downloading newer browser  Download Navigator to use frames.

7 Complex frames example  Download Navigator to use frames.

8 FRAME tag  The HTML source for the contents of a specific frame (or pane) is in the FRAME tag:

9 FRAME tag options  SRC -- The HTML source to load  MARGINHEIGHT -- Space in pixels between the top and bottom of a frame and its contents  MARGINWIDTH -- Space in pixels between the left and right of a frame and its contents  NORESIZE -- Disable the resize handle

10 FRAME tag options, continued  NAME -- The name of the frame (pane), so you can refer to it by name from other frames  SCROLLING -- Whether or not to provide a scroll bar; one of:  YES -- Provide a scroll bar  NO -- Don’t provide a scroll bar  AUTO -- Provide a scroll bar only if it’s needed

11 Targeting specific frames  You can target a frame that’s been named:  From inside left.html you can say Place a new frame on the right.

12 Reserved frame names  _blank loads the source document into a new browser window  _self loads the source document into the same window  _parent loads the source document over the parent document  _top loads the source document at the top, over all the frames in this window

13 Using server-side includes  Server parses HTML first, like C preprocessor ( cpp )  Two major types:  exec  include  Must be explicitly enabled on the server

14 exec directive   No spaces in “comment” tags  program should be in /cgi-bin or another CGI-allowed directory

15 include directive   No spaces in “comment” tags  File must be in same directory as HTML file that includes it (no subdirectories or absolute paths)

16 Extensions to HTML  Netscape Navigator  Microsoft Internet Explorer

17 Navigator extensions  BLINK  Client pull  FONT FACE  MULTICOL  SPACER

18 BLINK  Causes text to blink on and off  Click here if you’re annoyed with blinking text  Users hate it  Never use it

19 Client pull  Uses the META tag in the header to force a reload   url is URL to load when time seconds have elapsed

20 FONT FACE  Allows developer to specify font face  User must have font installed  Name must match (“HELVETICA” and “Helvetica” are different)  Recommendation: Use Portable Display Format (PDF) instead

21 MULTICOL  Provides multiple-column text   COLS -- Number of columns  GUTTER -- Number of pixels between columns  Recommendation: Use PDF or TABLE s instead

22 SPACER  Specify pixels of white space 

23 Internet Explorer extensions  MARQUEE  BGSOUND  IFRAME  In-line video  Style sheets

24 MARQUEE  Use the “destination display” field for other purposes  BEHAVIOR -- How the marquee should behave; one of:  SCROLL -- Slide across and off the screen  SLIDE -- Slide onto the screen and stay there  ALTERNATE -- Bounce back and forth in the window

25 MARQUEE continued  DIRECTION -- The direction to scroll or slide; one of:  LEFT -- Scroll from left to right  RIGHT -- Scroll from right to left  LOOP -- How many times to repeat the marquee

26 MARQUEE continued  SCROLLAMOUNT -- Number of pixels between each successive draw of marquee text  SCROLLDELAY -- Number of milliseconds between redraws

27 BGSOUND  Play a background sound 

28 IFRAME  Create a free-floating frame   url -- contents of the frame  h -- height in pixels  w -- width in pixels

29 In-line video   Options include:  CONTROLS -- Include graphical controls under the movie  LOOP -- The number of times the movie replays  START -- Either FILEOPEN, for when the file has downloaded, or MOUSEOVER, for when the user clicks on it

30 Style sheets  DO NOT USE.  Violates proposed HTML specifications  Specially-formatted comment tag that only MSIE understands  STYLE container between HEAD and BODY  DIV container to use defined styles in BODY text

31 Questions