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