Page 241 - DCAP109_GRAPHIC_TOOLS
P. 241

Graphic Tools




                    Notes          where the new document is supposed to appear is called the target. There are two types of
                                   targets:

                                   z   Explicit: the name assigned to a frame in the frameset.
                                   z   Implicit: a name which describes the target frame’s relationship to  the frame containing
                                       the original hyperlink.
                                   Syntax: <link target=”_blank or _self or _parent or _top or framename”>

                                   _blank - Load in a new window
                                   _self - Load in the same frame as it was clicked
                                   _parent - Load in the parent frameset
                                   _top - Load in the full body of the window

                                    framename - Load in a named frame

                                   10.4.2 Creating a Site using Frames

                                   The concept of creating a site using frames is discussed below.

                                   Inline Frames

                                   An inline frame is used to embed another document within the current HTML document. For
                                   this it makes use of the <iframe> tag in HTML.





                                     Notes  To deal with browsers that do not support <iframe>, add a text between the opening
                                     <iframe> tag and the closing </iframe> tag.

                                   The <iframe> tag has the attributes listed below:
                                   z   Name: Specifies the name of an <iframe>
                                   z   Height: Specifies the height of an <iframe> in pixels
                                   z   Width: Specifies the width of an <iframe> in pixels

                                   z   Scrolling: Specifies whether or not to display scrollbars in an <iframe>. It takes in three
                                       value- yes, no and auto.
                                   z   Frameborder: Specifies whether or not to display a border around an <iframe>. It contains
                                       the values 0 or 1.
                                   z   Align: Specifies the alignment of an <iframe> according to surrounding elements. It can
                                       take five values- left, right, top, middle and bottom.




                                      Task  Create a website using the frames.










          234                               LOVELY PROFESSIONAL UNIVERSITY
   236   237   238   239   240   241   242   243   244   245   246