SPEED | A | B | C | D | E | F | H | I | K | L | | M | N | O | P | S | T | U | V | W | X | FINDER |
|
|
Contents
HTML Elements (i - k)
<li> bullet<link><link> elements. Typical uses are to indicate authorship, related indexes and glossaries, older or more recent versions, etc. The most common use is to point to a stylesheet for the page - the last example shows how to do this.
href="URL"
Used to point to a related resource, such as a stylesheet or the author's e-mail address.
type="MIME type"
Used to define the MIME type of the document referred to.
rel="text"
Describes the relationship of the referenced file to the document.
rev="text"
Describes the relationship of the document to the referenced file, ie. the reverse of rel.
![]()
<link rel="author" href="mailto:rrutter@woodhill.co.uk">
<link rel="previous" href="http://www.woodhill.co.uk/html/html2i.htm">
<link rel="stylesheet" href="stylesheet2.css" type="text/css">
<listing><pre> and <xmp>. Used to render blocks of text in a fixed-width font and so is suitable for text that has been formatted on screen. It should be rendered so that a limit of 132 characters will fit on a line.
I do not recommend the use of <listing> for formatting a few words at a time, as unpredictable results are occasionly produced. Use <code> or <tt> as an alternative.
<listing>
FOR x=1 TO 10
PRINT "The square of ";x;" is ";x^2
NEXT x
</listing>
![]()
lists <ol>, <ul>, <li>, <dt>, <dd><map> image map definitionname attribute and <area> tag. For more information, see the section dedicated to Image maps.
name="text"usemap attribute of the <img> tag displaying the image map.
![]()
<map name="definition1">
definition using the <area> tag
</map>
<marquee><img> tag as well as some of its own specific ones. To apply the <font> element to text within a marquee, you must place the <font> tags outside of the <marquee> tags.
width=pixels | percentheight=pixels | percenthspace=pixelsvspace=pixelsalign="top | middle | bottom"behaviour="scroll | slide | alternate"behavior is set to scroll then the text starts hidden, scrolls on to the screen and off again before repeating. This is the default. Slide starts the hidden, scrolls it onto and across the screen, stopping it once it touches the other side. Alternate bounces the text back and forth within the marquee.
direction="left | right"direction to left scrolls the text from left to right, setting it to right scrolls the text from righ tto left.
loop=number | infiniteinfinite.
scrollamount=pixelsscrolldelay=millsecondsbgcolor="#rrggbb | colorname"![]()
Wham! <marquee align="middle" width=50% behavior="alternate">Club Tropicana drinks are free</marquee> Fantastic!<BR>
Fantastic! <FONT SIZE=+1>
<marquee align="middle" width=50% behavior="scroll" direction="right" loop="6" bgcolor="white">Fun and sunshine there's enough for everyone</marquee>
</FONT> Wham!<BR>
Wham! <marquee align="middle" width=50% scrollamount=10 scrolldelay=300>Fun and sunshine there's enough for everyone</marquee> Fantastic!
![]()
<menu> menu list<meta><title> element; although some search engines make use of the description and keywords types, and consequently they are well worth considering. You can also use <meta> tags to specifiy how your page should be cached. The PICS content rating system operated by RSAC (and employed by MS Internet Explorer) also makes use of <meta> tags.
There is one further useful and exciting side of <meta>. Using the http-equiv and content attributes, you can get an HTML page to automatically jump to another page or file after a specified time delay. This means if you wish to redirect users from an old page to a new one, you can do so automatically by adding the appropriate <meta> command. Similarly you can automatically load a sound file on entering a document.
The <meta> command must be placed in the <head> tags.
http-equiv="refresh"content="number; url=URL"![]()
<head>
<meta http-equiv="refresh" content="10; url=html2ii.htm#meta">
</head>
![]()
http-equiv="pragma"content="no-cache"![]()
<head>
<meta http-equiv="pragma" content="no-cache">
</head>
![]()
http-equiv="expires"content="date"![]()
<head>
<meta http-equiv="expires" content="Fri, 11 Apr 1997 17:46:01 GMT">
</head>
![]()
name="description | keywords"contents is a description or a list of keywords.
content="text | comma separated list" name attribute, contents provides a description of the document or list of keywords separated by commas.
![]()
<meta Name="description" Content="All the HTML elements, attributes and extensions. Teach yourself with clear explanations and examples for every single command.">
<meta Name="keywords" Content="HTML commands, writing web pages, extensions, attributes, tags, forms, tables, frames, authoring">
![]()
<multicol> multiple columnscols=numberwidth=pixels|percentwidth attribute of <table>, this is used to specify the width of the entire set of columns in pixels or as a percentage of the browser window.
gutter=pixels
![]()
<MULTICOL COLS=3 WIDTH=80% GUTTER=15>
The Crate Application and Research Project was set up to promote crates in today's society. Modern attitudes to the crate have become somewhat jilted, especially since the sexual revolution of The Sixties. The Great British Red Crate used to be held in huge esteem by men and women from all classes. For instance, in the mid-Forties in Cheshunt, Hampshire, a crate was voted into the Office of Mayor for nearly three years running until meeting which a tragic accident involving a blowtorch. In 1951 the people of Bradninch, Devon, saw the first crate to be made a head schoolteacher.
</MULTICOL>
![]()
Contents![]() HTML Elements (n - z) ![]() |
| Sizzling HTML Jalfrezi | |
| ©1997 Richard Rutter | ![]() |
| rrutter@woodhill.co.uk | |