Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

link to a page location?

0 views
Skip to first unread message

Dale

unread,
Jul 23, 2022, 4:45:59 PM7/23/22
to
Hi,

I know how to link a page from another page.

I learned here how provide a link to an image/location on a page.

<img id=metaphysicsdegree
src="https://www.dalekelly.org/metaphysicsdegree.jpg">

I am looking for how to provide a link to just to a plain location on a
page. No image or anything.

--
Mystery? -> https://www.dalekelly.org/

😉 Good Guy 😉

unread,
Jul 23, 2022, 5:06:08 PM7/23/22
to
On 23/07/2022 21:45, Dale wrote:
Hi,

I know how to link a page from another page.

I learned here how provide a link to an image/location on a page.

<img id=metaphysicsdegree src="https://www.dalekelly.org/metaphysicsdegree.jpg">

I am looking for how to provide a link to just to a plain location on a page. No image or anything.


You have asked this umpteen times but you are too lazy to keep notes for your reference so click on these links umpteen times to make sure your brain can respond:

<https://way2tutorial.com/html/html_internal_links.php>
<https://way2tutorial.com/html/html_internal_links.php>
<https://way2tutorial.com/html/html_internal_links.php>
<https://way2tutorial.com/html/html_internal_links.php>
<https://way2tutorial.com/html/html_internal_links.php>
<https://way2tutorial.com/html/html_internal_links.php>
<https://way2tutorial.com/html/html_internal_links.php>


Arrest
Dictator Putin

We Stand
With Ukraine

Stop Putin
Ukraine Under Attack



--
Similar to Windows 11 Home edition, Windows 11 Pro edition now requires internet connectivity during the initial device setup (OOBE) only. If you choose to setup device for personal use, MSA will be required for setup as well. You can expect Microsoft Account to be required in subsequent WIP flights.

Now this is not the end. It is not even the beginning of the end. But it is, perhaps, the end of the beginning

Jukka K. Korpela

unread,
Jul 23, 2022, 5:10:20 PM7/23/22
to
Dale wrote:

> I learned here how provide a link to an image/location on a page.
>
> <img id=metaphysicsdegree
> src="https://www.dalekelly.org/metaphysicsdegree.jpg">

I suppose you mean linking to a page, say foo.html, containing such an
element, with a link with href=foo.html#metaphysicsdegree. Yes, that’s
the way, though linking to an image is somewhat obscure. It is usually
better to link to an element containing an image and its caption or
explanation

> I am looking for how to provide a link to just to a plain location on a
> page. No image or anything.

In modern HTML, you don’t really link to a location but an element.
Simply assign an id attribute to any element and use it the same way as
for an image. Say...

<p id=mystic>It is not mystic how the world is. It is mystic that it is.</p>

And then just use, say,
<a href=foo.html>The principle of mysticismi</a>

Jukka K. Korpela

unread,
Jul 23, 2022, 5:17:43 PM7/23/22
to
Jukka K. Korpela wrote:

> <p id=mystic>It is not mystic how the world is. It is mystic that it
> is.</p>
>
> And then just use, say,
> <a href=foo.html>The principle of mysticismi</a>

Oops, of course I meant

<a href=foo.html#mystic>The principle of mysticism</a>

Dale

unread,
Jul 23, 2022, 5:31:29 PM7/23/22
to
Thank You !!!!

Will attempt it and get back.

Dale

unread,
Jul 23, 2022, 6:00:59 PM7/23/22
to
On 7/23/2022 5:31 PM, Dale wrote:
> On 7/23/2022 5:17 PM, Jukka K. Korpela wrote:
>> Jukka K. Korpela wrote:
>>
>>> <p id=mystic>It is not mystic how the world is. It is mystic that it
>>> is.</p>
>>>
>>> And then just use, say,
>>> <a href=foo.html>The principle of mysticismi</a>
>>
>> Oops, of course I meant
>>
>> <a href=foo.html#mystic>The principle of mysticism</a>
>>
>
> Thank You !!!!
>
> Will attempt it and get back.
>

Works !!!!

Thank You Again !!!!

Will update my website !!!!

Lewis

unread,
Jul 24, 2022, 1:29:17 AM7/24/22
to
In message <tbhmm5$3jv8$1...@dont-email.me> Dale <da...@dalekelly.org> wrote:
> Hi,

> I know how to link a page from another page.

> I learned here how provide a link to an image/location on a page.

> <img id=metaphysicsdegree
> src="https://www.dalekelly.org/metaphysicsdegree.jpg">

> I am looking for how to provide a link to just to a plain location on a
> page. No image or anything.

<span id='foobar'>

<a href='url/to/page.html#foobar'>


--
'But it'll kill him!' 'It could have been worse.' 'What?' 'It could
have been us.'

Lewis

unread,
Jul 24, 2022, 1:31:15 AM7/24/22
to
In message <slrntdpm5a....@zephyrus.local> Lewis <g.k...@gmail.dontemailme.com> wrote:
> In message <tbhmm5$3jv8$1...@dont-email.me> Dale <da...@dalekelly.org> wrote:
>> Hi,

>> I know how to link a page from another page.

>> I learned here how provide a link to an image/location on a page.

>> <img id=metaphysicsdegree
>> src="https://www.dalekelly.org/metaphysicsdegree.jpg">

>> I am looking for how to provide a link to just to a plain location on a
>> page. No image or anything.

> <span id='foobar'>

> <a href='url/to/page.html#foobar'>

(of course you can do this with any tag, span is just a good one since
it has no properties.)

--
So what do you say? Wanna go back in time, save my friends, and unfuck history
for old time’s sack?

Arno Welzel

unread,
Jul 24, 2022, 3:44:01 AM7/24/22
to
Dale:

> Hi,
>
> I know how to link a page from another page.
>
> I learned here how provide a link to an image/location on a page.
>
> <img id=metaphysicsdegree
> src="https://www.dalekelly.org/metaphysicsdegree.jpg">
>
> I am looking for how to provide a link to just to a plain location on a
> page. No image or anything.


<a href="https://domain.example#location">Jump to location</a>

And at the target:

<p id="location">This is where you can jump to</a>




--
Arno Welzel
https://arnowelzel.de

Dale

unread,
Jul 24, 2022, 6:23:52 AM7/24/22
to
On 7/24/2022 1:31 AM, Lewis wrote:
> In message <slrntdpm5a....@zephyrus.local> Lewis <g.k...@gmail.dontemailme.com> wrote:
>> In message <tbhmm5$3jv8$1...@dont-email.me> Dale <da...@dalekelly.org> wrote:
>>> Hi,
>
>>> I know how to link a page from another page.
>
>>> I learned here how provide a link to an image/location on a page.
>
>>> <img id=metaphysicsdegree
>>> src="https://www.dalekelly.org/metaphysicsdegree.jpg">
>
>>> I am looking for how to provide a link to just to a plain location on a
>>> page. No image or anything.
>
>> <span id='foobar'>
>
>> <a href='url/to/page.html#foobar'>
>
> (of course you can do this with any tag, span is just a good one since
> it has no properties.)
>


Thank You !!!!

Dale

unread,
Jul 24, 2022, 6:24:08 AM7/24/22
to
Thank You !!!!

Dale

unread,
Aug 7, 2022, 1:03:56 PM8/7/22
to
An update successful.

https://www.dalekelly.org/weblog.html
0 new messages