Re: a name vs. span id?



On May 26, 1:29 pm, Jim Moe <jmm-list.AXSPA...@xxxxxxxxxxxxxx> wrote:
On 05/26/08 11:27 am, yawnmoth wrote:> Is there any reason to use <a name="..."> over <span id="..."> (or
div / img / whatever)?

It depends. What is the context of the question?

None, really. I was viewing the HTML source of some webpage, looking
for an anchor name I could link to and didn't find one. I did,
however, find an id, and, just for kicks and giggles, decided to use
that after the # and it worked, to my surprise.

All the webpages / webapps I've worked, thus far, on have used anchor
name. I don't plan on updating those applications but I might do
future ones with id's, instead.

I'm not really sure how many contexts there could be for a question
such as this?
.



Relevant Pages

  • Re: a name vs. span id?
    ... I was viewing the HTML source of some webpage, ... for an anchor name I could link to and didn't find one. ...
    (comp.infosystems.www.authoring.html)
  • New custom link bar button
    ... program whenever the context of that menu item is not ... An example would be the Edit menu would not ... Open the Front Page program but do not open a webpage. ... prior to Front Page letting you add a new Custom Link Bar? ...
    (microsoft.public.frontpage.client)
  • Re: Is anybody out there??
    ... <snip some for clear context> ... > Seeing as this group doesn't have a webpage ... > I'm thinking of writing one. ...
    (uk.culture.nostalgia.1980s)
  • Re: toppers "bookmark" question answered (topper sidesteps)
    ... What piece of crap program are you using that uses the wrong ... Anchor: Clickable text in a HTML document that will take you to a different part of the same webpage, or to a specific anchored section of a different webpage on a different site. ...
    (misc.transport.trucking)
  • Re: Linking to locations on the webpage
    ... You don't use the # sign in the anchor. ... blue color, then use the hot spot link tool to create the link. ... webpage at http://www.vanusa.org/events/ ... saving the page it truncates the page. ...
    (microsoft.public.publisher.webdesign)