Chemistry 524 HTML Primer

Links <A HREF="[url][#anchor]" [TARGET=text]>text or picture</A> Stands for "anchor". URL is the path to the linked file, usually a page, picture or a sound. #ANCHOR is a specified part of a linked page. To link to an email address, use HREF=mailto:email where email is the address. Read about the TARGET parameter beneth. You may also check out the FORM tag for another way to send email. <A NAME="text">text or picture</A> Defines a new anchor on a page. "text" will not show up for the user and can be anything at all. To link to the anchor from the same page, use <A HREF=#text>. TARGET=text TARGET can be specified in different tags, for example the link (A) and the FORM tags. It is used to open a link in a specified frame or window named "text". Some special variables can also be used. "_self" will open the link into the current frame (or window), "_top" which will open it in the current window but not in a frame (used for externals link in frame pages), "_blank" which will open a new window and "_parent" which will open it in the frame or window that contains the FRAMESET tags for the current frame. To stop using frames, use the "_parent" parameter, and be sure to not capitalize the code! IE NS The linked text will show up in a different color, usually blue (or magneta if the user has visited the linked site before). You can change the color with the BODY command, see the chapters menu. Pictures will have a blue or magneta border, usually one dot width. You can change the width, or remove the entire border, with the IMG tag, see the "Pictures" chapter. To scan the pages for broken links and missing anchors, I've another program named LinkChecker. The program can be downloaded from http://www.calles.pp.se/nisseb/html_linkchecker.html.