|
Posted by jake on 10/06/95 11:25
In message <BF3B50CB.166BE%dorayme@optusnet.com.au>, dorayme
<dorayme@optusnet.com.au> writes
>Anyone know this please? Is the construction
>
><a id="something"></a>
>
>without anything between opening and closing
>tags kosher? That is, put at the place one wants the referring
>link to target. It seems to work ok in strict 4.01, but I have
>in the past avoided it. But if it is acceptable practice with no
>bad cons, it is mighty convenient (able to be simply cut and
>paste into the page just above the bit you want the link to go
>to).
>
>Or should one have to wrap it around something like a bit of
>text or an image:
>
><h1><a id="something">This should appear</a></h1>
>
>dorayme
>
I would tend to use :
<h1><a name="something" id="something">INTRODUCTION.</a></h1>
( name="something" keeps it compatible with older browsers which don't
support 'id')
Or occasionally:
<div style="width:100%;">
<h1><a name="something" id="something">INTRODUCTION.</a></h1>
</div>
On the occasions when the page has to work 'keyboard-only' on IE and
behave like other browsers when tabbing from link-to-link.
regards.
--
Jake
(jake@gododdin.demon.co.uk .... just a spam trap.)
Navigation:
[Reply to this message]
|