You are here: Re: Display same-page linked item on top - How to? « HTML « IT news, forums, messages
Re: Display same-page linked item on top - How to?

Posted by dorayme on 08/15/07 02:07

In article <a52ap4-hoe.ln1@xword.teksavvy.com>,
"Chris F.A. Johnson" <cfajohnson@gmail.com> wrote:

> On 2007-08-14, Richard wrote:
>
> > But I got this "name" attribute from
> > http://www.w3schools.com/html/html_links.asp,
> > where it claims:
> ><quote>
> ><a name="tips">Useful Tips Section</a>
> >
>
> That usage is not recommended however; it is generally considered
> better to use the "id" attribute instead.

One reason it is better is that it is simpler to use/type.
Another is to avoid having to code to avoid hover effects on
"named anchors" which are really not appropriate. These hover
effects and other effects can easily creep in from the css sheet
which generally specifies anchors. You will find id_ing much
cleaner and simpler to use for the purpose.

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация