SPEED | A | B | C | D | E | F | H | I | K | L | | M | N | O | P | S | T | U | V | W | X | FINDER |
|
|
Contents
<a> anchorname=text![]()
<a name="bgsound">Background Sound</a>
hrefname
attribute), to remote locations, or to a destination within a remote document. The
live area will be any text and images located
between the tags.
![]()
This link takes you to the <a TARGET="_top"
href="http://www.ctcc.gov.za/ccchome.html">Cape Town <img
src="graphics/cape_sm.jpg"></a> home page. The border around the graphic
indicates that it is a live link. <br>
Check out this document's section on <a href="#bgsound">Background
Sound.</a> <br>
This link takes you to the <a
href="http://www.woodhill.co.uk/setup/sterolab/sterolab.htm#facts">Facts</a>
section of my Stereolab page. <br>
<a href="sounds/blakmeat.wav">"I think that you boys..."</a> [Sound file 63K]
![]()
home page.
The border around the graphic indicates that it is a live link. href with mailto:user@domain.comhref attribute to allow the reader to mail you. You can
specify multiple recipients by separating using commas (,) to separate
addresses.
Netscape lets you specify the subject line by including the
?subject= syntax, as shown in the first example. NCSA
Mosaic achieves this by use of the title attribute, as in the second example. As well as
mailto: other variations may be used, including
gopher:// and ftp://.
![]()
Mail me at <a href="mailto:rrutter@woodhill.co.uk?subject=Sizzling HTML Jalfrezi is
groovy">rrutter@woodhill.co.uk</a>.
Mail me at <a href="mailto:rrutter@woodhill.co.uk" title="Sizzling HTML Jalfrezi is
groovy">rrutter@woodhill.co.uk</a>.
![]()
title="text"title attribute is used to provide a title for a link. This could be useful
for graphics, plain text, FTP and Gopher links which do not have titles. NSCA
Mosaic also uses the title attribute with the mailto: attribute.
![]()
Cape Town is towered over by <A HREF="graphics/cape_sm.jpg" TITLE="Cape Town
and Table Mountain">Table Mountain</A>.
![]()
target=frame_name | window_name![]()
<a target="contents">
rel=text1,text2href attribute. This allows
you to specify the relationship(s) of the link to the current page as defined by a comma
separated list.
![]()
<a rel="next">
rev=text1,text2rel attribute but describes
the link in the reverse direction.
![]()
<a rel="previous">
<address>
<address>
University of Bath<br>
Claverton Down<br>
Bath<br>
UK<br>
</address>
![]()
<applet ...><area> image map area<map> tags. An arbitrary number
of <area> tags may be specified. If two areas intersect, the one which
appears first in the map definition takes precedence in the overlapping region. For more
information, see the section dedicated to Image maps.
shape="rect | circle | poly |
default"coords attribute.
coords="x1,y1,x2,y2 | x,y,r |
x1,y1,x2,y2,x3,y3..."shape attribute, except when it is set to
default.
href="URL"nohreftarget=frame_name | window_name![]()
<area shape="rect" coords="2,3,86,30" TARGET="_top"
href="http://www.yahoo.com/">
<area shape="circle" coords="160,15,16" TARGET="_top"
href="http://www.netscape/">
<area shape="polygon" coords="273,0,252,3,245,11" target="contents" TARGET="_top"
href="http://www.woodhill.co.uk/setup/welcome.htm">
<area shape="default" nohref>
<b> bold<strong>.
Cars are <b>not</b> toys. They are 1 ton killing machines.
![]()
<base>href=URL
target=window_nametarget
establishes a default window_name to which all links in the document will be
targetted. This default is overridden by specific instances of the target attribute in individual
anchor tags.
![]()
<base href="http://www.provider.com/user/document.htm" target="contents">
<basefont><font> element.
color=#hexvalue|colournameface=fontname1,fontname2,...size=value
![]()
<basefont color="purple" size=2>
<font size=+1>Tottenham Hotspur</font>
<basefont face="Gill Sans,Lucida Sans,Arial" size=4>
<font size=+1>Chelsea</font>
![]()
<bgsound> background soundsrc="URL"<sound> element.
loop="n | infinite"n=-1, or if loop=infinite, it will play
indefinitely.
![]()
<bgsound src="sounds/blakmeat.wav" loop="2">
<big><big> can be used around the <sup> and <sub> tags to keep the
sub/superscripted text at the same size as the default, as opposed to slightly smaller. See also
<FONT>.
What you really need is a <big>triple fried egg chilli chutney</big> sandwich.
![]()
<blink>
Blinking flip: <blink>flip</blink>
![]()
<blockquote><cite>.
The best bit was when when Hamlet said,
<blockquote>
To be, or not to be.<br>
That is the question.<br>
</blockquote>
But then everyone knows that.
![]()
To be, or not to be.But then everyone knows that.
That is the question.
<body><body> element contains all the information which is
part of the document, as opposed to information about the document,
which should be in the <head>.
The <body> tag should be placed directly after the closing head tag,
</head>. The closing body tag, </body> should be
placed as the pen-ultimate line of the document, directly before the </html> tag.
![]()
<html>
<head>
<title>A Shell Document</title>
</head>
<body>
The document in here
</body>
</html>
bgcolor=#hexcolour, text=#hexcolour,
link=#hexcolour, vlink=#hexcolour,
alink=#hexcolourtext controls the main body text,
link controls unvisited links, vlink controls visited links and
alink controls active links. All of these attributes are optional.
The colours are described in hexidecimal.![]()
<body bgcolor="#ffffd8" text="#000000" link="#0000ff" vlink="#ff0000"
alink="#00a000">
background=URL![]()
<body background="graphics/brick.jpg" text="#FFFFFF">
![]()
bgproperties=fixed![]()
<body bgproperties="fixed" background="graphics/watermrk.jpg">
leftmargin=pixels,
topmargin=pixelsNesting list tags, such as <UL>
also indents text. Using list elements without the list item tag, <LI> will therefore have a similar effect
to leftmargin. This method works for both MSIE and
Netscape.
![]()
<body topmargin="50" leftmargin="60">
<br> break![]()
This text is on one line.<br>
This text is on the next line.
clear=left|right|all![]()
<img align=right src="graphics/cliff.gif">
This text is on one line.<br clear="all">
This text is on the line below the graphic.
This text is on one line.
Contents![]() HTML Elements (c - h) ![]() |
| Sizzling HTML Jalfrezi | |
| ©1997 Richard Rutter |
![]() |
| rrutter@woodhill.co.uk | |