Chemistry 524 HTML Primer

Physical Styles <B> Bold <I> Italic <U> Underlined <TT> Monotype font, usually Courier <S[TRIKE]> Strike through style. HTML 3.0 tag. <SUP> Stands for 'superscript'. HTML 3.0 tag. <SUB> Stands for 'subscript'. HTML 3.0 tag. All physical styles must end with </...>, for example </B> Change textsize <FONT [SIZE=n|+n|-n] [COLOR=color] [FACE=font1,font2...]> n is a number between 1 (smallest text) and 7 (largest). You can also increase and reduce the size, for example +3. COLOR is the color of the text. FACE is a comma-separated list of fontnames. If the first font isn't installed on the computer, the second font will be used, and so on. You can also change the default textsize with the BASEFONT tag, which is described in the first chapter. (IE NS) <Hn [...]> Change the size of a header. n is a number between 1 (largest) and 6 (smallest). When starting a new header, it will always begin in a new line. The text will normalize after the headers end. Must end with </Hn> Some HTML 3.0 parameters are available, such like ALIGN, DINGBAT, NOWR and CLEAR. More information about these parameters can be founded in the Links and Paragraphs chapters. <BIG> Makes the text big. HTML 3.0 tag. Must end with </BIG>. <SMALL> Makes the text small. HTML 3.0 tag. Must end with </SMALL>. Logical Styles <EM> Emphasized text text. Shows up in italic. <CITE> Titles.Shows up in italic. <CODE> Machinecode. Shows up in a typewriter font e.g. courier. <KBD> Stands for 'user keyboard entry', when you want the user to type in a text. Shows up in a typewriter font, e.g. courier. Sometimes bold. <COMMENT> Text within this tag won't show up in a newer browser. <!-- Text --> Comments between <! and > are ignored by the browser. <SAMP> Stands for 'computer status message'. Shows up in a typewriter font, e.g. Courier. <STRONG> Strongly emphasized text. Shows up in bold. <VAR> Stands for 'variable'. Shows up in italic. <XMP> Stands for example, shows up in a typewrier font. <ADDRESS> Shows u in italic. Use it in the end of the document to display the authors email address, for example. <BLOCKQUOTE> Use it to separate a text from the rest of the page. <HYPE> A Netscape-joke that only works on Macintosh versions. NS <PLAINTEXT> Temporarily turn off the HTML and displays the source. Not recommended to use. Must end with </PLAINTEXT>. <PRE [WIDTH=n]> Make the browser to use the same textstyles as in the HTML code, including wordwraps. WIDTH=n sets the maximum length of a line in characters. Link tags (<A HREF>) works within a <PRE> text. <SPAN STYLE=cssAtributes> Defines style sheet formattings to the text, please see the Style sheets-chapter. <BLINK> Use it to make the text blink. NS <DFN> Defines a text. Shows up in italic. HTML 3.0 tag. <LISTING> Works like the <TT> tag. <Q> Stands for "Short quotation". HTML 3.0 tag. <PERSON> HTML 3.0 tag. Shows up the same as normal text in most browsers. <AU> Stands for "Author name". HTML 3.0 tag. All logical styles must end with </...>, for example </EM> Multi columns <MULTICOL COLS=n [GUTTER=n] [WIDTH=n]> This is a Netscape extension, added in Netscape 3.0. The text within this tag will show up in columns. COLS is the number of columns, GUTTER the space between the columns in pixels, usually 10, and WIDTH the width of the columns in pixels. All columns has the same width. NS Scrolling text <MARQUEE...> An auto-scrolling text. The following parameters can be used: IE WIDTH=n|n% HEIGHT=n|n% Sets the width and height of the marquee. VSPACE=n HSPACE=n Defines the space between the vertical and horizontal ends of the marquee. ALIGN=TOP|MIDDLE|BOTTOM Sets the align of the marquee. BEHAVIOR=SCROLL|SLIDE|ALTERNATE Defines the method for the marquee to be used. SCROLL scrolls the text from one side to the other and is the default value. SLIDE does the same, but stops when the text has reached the other side, and is still displayed. ALTERNATE bounces the text bteween the sides. DIRECTION=LEFT|RIGHT Defines the side to start from. BGCOLOR=color Defines the background color for the marquee. LOOP=n|INFINITE Defines the number of loops for the text. INFINITE lopps until the page is closed. SCROLLAMOUNT=n Sets the number of pixels between succeeded drawn text scrolls. SCROLLDELAY=n Sets the number of miliseconds between succeeded drawn scrolls. Color names COLOR=#rrggbb|colorname Colors can be specified either by its RGB (red-green-blue) value or by a name. There is sixteen supported colornames: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white and yellow. You may change the color with the <BASE> and <FONT> tags.