Compo

Topics: HTML, Web page, World Wide Web Pages: 9 (1064 words) Published: June 20, 2013
2/20/2013

COMP03
Introduction to WWW

Midterms Notes 1
(Links and Frames)

HTML Links
Hyperlink - a word, group of words or image that can be clicked in order to jump to another document. - defined by the anchor tag () By default: • An unvisited link is underlined and blue • A visited link is underlined and purple • An active link is underlined and red

AMACC East Rizal 3rd Tri 2012-13

-

COMP03 – Introduction to WWW

-

/aago

1

2/20/2013

HTML Links
Syntax: Link Text

where: href  The address that the link will go to when clicked target  The manner which the browser will display it name  Defines an internal bookmark of the page. This is for linking to a specific part of the page values: blank  the target URL will open in a new window _self  the target URL will open in the same frame as it was clicked _parent  the target URL will open in the parent frameset _top  the target URL will open in the full body of the window

AMACC East Rizal 3rd Tri 2012-13

-

COMP03 – Introduction to WWW

-

/aago

HTML Links

AMACC East Rizal 3rd Tri 2012-13

-

COMP03 – Introduction to WWW

-

/aago

2

2/20/2013

HTML Frames
Frames - are used to display multiple HTML documents in a single browser window - allows division of a window into several rectangular areas where separate documents are displayed in each rectangle - a frames page does not have a body. It is a composite of multiple HTML documents

Header Frame
Left Frame

Main Frame

AMACC East Rizal 3rd Tri 2012-13

-

COMP03 – Introduction to WWW

-

/aago

HTML Frames
Issues to consider in planning frames: * What information will be displayed in each of the frames? * How do you want the frames placed on the Web page? What is the size of each frame? * Which frames will be static – that is, always showing the same content? * Which frames will change in response to hyperlink being clicked? * What Web pages will users see first when they access the site? * Do you want to allow users to resize the frames and change the layout of the page?

AMACC East Rizal 3rd Tri 2012-13

-

COMP03 – Introduction to WWW

-

/aago

3

2/20/2013

HTML Frames
Creating a Frame Layout * Frame layout is defined using the tag. General Syntax: Page Title Frame Definitions Note: When tag is used, omit the tag because a page with frames displays the content of other pages.

AMACC East Rizal 3rd Tri 2012-13

-

COMP03 – Introduction to WWW

-

/aago

HTML Frames
Specifying a Frame Size and Orientation The tag has two properties: 1. ROWS – used to create frames that are laid out in rows Frame #1 Frame #2 Frame #3

2. COLS – used to create frames that are laid out in columns Frame #1 Frame #2 Frame #3

AMACC East Rizal 3rd Tri 2012-13

-

COMP03 – Introduction to WWW

-

/aago

4

2/20/2013

HTML Frames : Frameset Tag Attributes
Syntax:
start of frames using frame tag
Attributes 1. cols Definition Specifies the number columns and the width of each column Ex: Specifies the number rows and the width of height of each row Ex: Sets the width of the border in pixels drawn around the frames Specifies in pixels the amount of space between frames Determines whether or not scrollbars are displayed in all the frames Possible Values * Percent relative to the width of the window or containing frame * Number of pixels * Percent relative to the height of the window or containing frame * Number of pixels Number of pixels Number of pixels yes, no, auto

2. rows

3. border 4. framespacing 5. scrolling

AMACC East Rizal 3rd Tri 2012-13

-

COMP03 – Introduction to WWW

-

/aago

HTML Frames
Specifying a Frame Source The tag used to specify the page that will be inserted into a frame is the tag. General Syntax: Note: * Choose only one layout for a single tag, either rows or columns. * Both properties cannot be used at once. * To create a grid of frames on the Web...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Compo Essay
  • Essay&Compo
  • Unseen Compo Research Paper
  • School Compo Essay
  • Why Is The CPU The Most Important Compo Essay
  • dse english compo about PE lessons Essay
  • Compo: I Witnessed a Fight at the Food Court Essay
  • Essay on Feminism and Fairy Tales

Become a StudyMode Member

Sign Up - It's Free