<A NAME="name"> <A HREF="url">text</A> Defines either a hyperlink or a named section in a document. Must contain either a NAME attribute or an HREF attribute, or both. REF="relationship" - defines the relationship between this document and the HREF URL. REV="relationship" - defines the relationship between the HREF URL and this document. It is the opposite (REVerse) of REF. TITLE="name" - indicates the TITLE of the document pointed to by the HREF URL. This can also apply to a frame name if you're using frames Preset TARGET names are..... _blank - loads the link into a new blank window. _self -loads the link into the same window. _parent - loads the link into the parent of this document. _top - loads the link into the full browser window (great for getting people unstuck from FRAMESETs). Area <AREA SHAPE="shape" ALT="text" CO-ORDS="x1,y1,x2,y2......" HREF="URL"> Only valid within MAP tags, defines areas that act as hotspots within an image. Normally a map will have multiple AREA tags for multiple links. SHAPE attribute can be one of RECT, CIRCLE, POLY or DEFAULT. DEFAULT - maps all areas not already specified in another AREA tag (no co-ordinates are required). CO-ORDS gives the co-ordinates, in pixels, measured from the upper left corner of the image, of the attributes of a shape. RECT - co-ordinates in the form x1,y1,x2,y2,x3,y3,x4,y4 corresponting to left-top and right-bottom. CIRCLE - x,y,radius - where x,y is the co-ordiate position of the centre point of the circle. POLY - x1, y1, x2, y2, ... xn, yn. for each point of the polygon in turn. NOHREF - clicks here will not cause a link to be followed. This can also apply to a frame name if you're using frames Preset TARGET names are..... _blank - loads the link into a new blank window. _self -loads the link into the same window. _parent - loads the link into the parent of this document. _top - loads the link into the full browser window (great for getting people unstuck from FRAMESETs). Background Sound <BGSOUND SRC="URL"> Calls a .wav, .au or .mid file to be played when the page loads up. LOOP="n" - causes the file to be played n times. (n must be a whole number above zero). LOOP="INFINITE" - is annoying. Base Font <BASEFONT SIZE="number"> Defines the base size that relative FONT changes (e.g. FONT="+2") are based on. (Default is 3.) Blink <BLINK> text </BLINK> One of the all-time nasty tags.... it makes text flash on and off. Blink is a Netscape Only tag. Comment <!-- comment text --> Allows you to add headings into your HTML code that aren't displayed on the page. This can be useful when creating and editing large documents. Embed <EMBED attributes> text </EMBED> Embeds a plugin into a document. text - is the alternative text to be displayed. SRC="URL" - locates the object to be embedded. UNITS=units - either PIXELS or EN - defines whether sizes are specified in pixels or en units. HEIGHT="height" - specifies the height of the object in either pixels or en units. WIDTH="width" - specifies the width of the object in either pixels or en units. NAME="name" - indicates the name used by other objects or elements to refer to this object. PALETTE=#rrggbb|#rrggbb - sets first foreground and then background colours. Escape Sequences Used to enter characters such as <, >, &, and " into HTML documents. There are escape sequences available for most characters- a list can be found on our Resources Page. Use a space or semi-colon(;) after the mnemonic to indicate the end of the escape sequence; using a space will insert a space between the special character and the next part of the text, while using a semi-colon will not. Frame <FRAME attributes> The frame tag appears inside the FRAMESET tag and specifies one frame in the frameset. The attributes are: SRC="URL" The URL of the source document to be displayed in this frame. If the frame does not specify a source it will be displayed as blank space. NAME=" name" - name allocated to this frame. NAME is used by the TARGET attribute in the A, BASE, AREA, and FORM tags to load documents to this frame. MARGINWIDTH=number - the left and right margin thickness in pixels. MARGINHEIGHT=number - the top and bottom margin thickness in pixels. SCROLLING=YES or NO or AUTO forced the browser to show or hide scrollbars AUTO lets the browser decide. NORESIZE - stops the user from resizing the frame.. Frame Set <FRAMESET attributes> frame specifications </FRAMESET> The FRAMESET tag replaces the BODY tag in a document and is used to split the documents window into a set of smaller frames. FRAMESET tags can be nested to create more complicated frame layouts. NOFRAME tags can also be placed in a frameset. FRAMESET attributes are: ROWS="heights" - specifies a list of values for the rows, each one can be specified as a percentage or a pixel value splitting the frameset vertically into frames based on these values. You can specify "*" too - these rows will have any remaining space split between them. COLS= widths"specifies a list of values for the columns, each one can be specified as a percentage or a pixel value splitting the frameset horizontally into frames based on these values. You can specify "*" too - these columns will have any remaining space split between them. Floating Frame <IFRAME attributes> content <IFRAME> Inserts a frame into your document like an image. This frame can contain another complete html document. ALIGN="align" - sets the alignment of the frame or of the surrounding text. FRAMEBORDER="number" - renders a 3-D edge border around the frame. HEIGHT="height" - controls the height (in pixels) of the floating frame. WIDTH="width" - controls the width of the floating frame, in pixels. MARGINHEIGHT="height" - controls the margin height for the frame, in pixels. MARGINWIDTH="width" - controls the margin width for the frame, in pixels. NAME="name" - provides a target name for the frame. SCROLLING=yes or no - toggles scrollbars on and off. SRC=src - defines the source file for the frame. Inline Image <IMG SRC="URL"> Displays an image referred to by a URL and must contain at least an SRC attribute. SRC="URL" - calls the image source, usually a GIF, PNG or JPEG file. ALT="text" - text to be displayed by a browser that does not display images. ISMAP="url" - sets the image as a server side image map. ALIGN="align" - should be one of TOP, MIDDLE, or BOTTOM. START=FILEOPEN - starts playing the resource when it is opened. START=MOUSEOVER - starts playing the resource when the user places the mouse over it. Java Applet <APPLET attributes> content </APPLET> Runs a Java applet in a page. Content consists of optional PARAM tags, ordinary text and markup to be displayed by browsers that cannot run Java applets, and a TEXTFLOW tag if no ordinary text and markup is included. The attributes of the APPLET tag are: CODEBASE="base" - sets the base directory for pathing to applets.. CODE="code" - URL of the applet. NAME=" name" - the name of the applet. ALIGN="align" - either LEFT, RIGHT, TOP, MIDDLE, or BOTTOM. ALT="text" - alternative text to be displayed by browsers that do not support applets. HEIGHT="height" - height of the applet in pixels. WIDTH="width" - width of the applet in pixels. HSPACE="n" - leaves a space n pixels wide either side of the applet. VSPACE="n" - leaves a space n pixels wide above and below the applet. DOWNLOAD="n" - assign numbers to applets to determine the order in which they are downloaded. Map <MAP NAME="name"> AREA tags </MAP> Defines a client side image map, contains the AREA tags which set out the co-ordinates for the image hotspots. Marquee <MARQUEE> text </MARQUEE> Much maligned tag that makes a line of text scroll on a page. ALIGN="align" - should be one of TOP, MIDDLE, or BOTTOM. BGCOLOR="#rrggbb" - sets the background colour of the scroll box. DIRECTION="direction" - LEFT or RIGHT, the direction the text moves. HEIGHT="height" - specifies the height of the box in pixels. WIDTH="width" - specifies the width of the box in pixels. VSPACE="n" - leaves a space n pixels wide above and below the box. HSPACE="n" - leaves a space n pixels wide either side of the box. LOOP="n" - a whole number greater than zero or INFINITE sets the message to repeat n times. SCROLLAMOUNT="n" - sets the amount of pixels to offset the text by in each redraw. SCROLLDELAY="n" - sets the time in milliseconds between each redraw BEHAVIOR="behavior" - sets the way the text moves, should be one of SCROLL, SLIDE or ALTERNATE. SCROLL - text slides in and out again, then repeats. SLIDE - text slides in and stops, then repeats. ALTERNATE - text bounces from left to right repeatedly. No Break <NOBR> text </NOBR> Defines a block of text with no line breaks except those explicitly requested with BR or WOBR. No Frames <NOFRAMES> something shown instead </NOFRAMES> Specifies HTML that can be displayed in browsers which do not support frames. the contents are ignored by browsers that understand frames. Object <OBJECT> content </OBJECT> Used to place specific items such as .wav, .avi and java applets in HTML. Parameters <PARAM NAME="name" VALUE="value"> Only valid in an APPLET tag, passes parameters to the applet, which gets them with the getParameter() method. Script <SCRIPT LANGUAGE="language"> content </SCRIPT> Identifies script code. Can either be code to be executed at this point or later in the document. Normally only Javascript although Explorer versions 3 onward recognise VBScript. Usually functions are defined within these tags in the HEAD of the document so that they can be called from anywhere on the page. White Space <SPACER attributes> Creates an area of white space within the document. The attributes for this tag are: TYPE="type" - one of HORIZONTAL, VERTICAL or BLOCK. SIZE="pixels" - use when TYPE is HORIZONTAL or VERTICAL to specify the size of the spacer in pixels. WIDTH="width" - use when TYPE is BLOCK to specify the width of the spacer in pixels. HEIGHT="height" - use when TYPE is BLOCK to specify the height of the spacer in pixels. ALIGN="align" - use when spacer is a BLOCK- one of LEFT, RIGHT, TOP, TEXTTOP, MIDDLE, ABSMIDDLE, BASELINE, BOTTOM, or ABSBOTTOM. | Tag List <!-- &tag; A ADDRESS APPLET AREA B BASE BASEFONT BGSOUND BIG BLINK BLOCKQUOTE BODY BR CAPTION CENTER CITE CODE COL COLGROUP DD DFN DIR DL DT EM EMBED FONT FORM FRAME FRAMESET Hn HEAD HR HTML I IFRAME IMG INPUT TYPE=CHECKBOX INPUT TYPE=FILE INPUT TYPE=HIDDEN INPUT TYPE=IMAGE INPUT TYPE=PASSWORD INPUT TYPE=RADIO INPUT TYPE=RANGE INPUT TYPE=RESET INPUT TYPE=SCRIBBLE INPUT TYPE=SELECT INPUT TYPE=SUBMIT INPUT TYPE=TEXT ISINDEX KBD LI LINK LISTING MAP MARQUEE MENU META MULTICOL NOBR NOFRAMES OBJECT OL P PARAM PLAINTEXT PRE SAMP SCRIPT SMALL SPACER STRIKE STRONG SUB SUP TABLE TBODY TD TEXTAREA TFOOT TH THEAD TITLE TR TT U UL VAR WBR XMP |