Forum Moderators: not2easy

Message Too Old, No Replies

How to incorporate name='' inside links?

         

toplisek

8:04 pm on Mar 21, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I like to set another element like name='suppliers' inside link.

Just example:
<a name='suppliers' class=''>Suppliers</a>

Is there some good reference using this element?

lucy24

8:36 pm on Mar 21, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I don't understand exactly what you're trying to do. Can you show the "before" and "after"? What it is now, and what you'd like to change it to.

Incidentally, HTML5 prefers "id" over "name" in <a> elements. So it's safest to use both in tandem; then things will always work.

You don't really mean "class=''" (empty) do you?

toplisek

6:53 pm on Mar 25, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have seen solution in the past to add name='suppliers' but have never seen any article how is actually used. Class is just example.

lucy24

7:46 pm on Mar 25, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



OK, then it's back to the original question: Show some examples of what your code looks like now, and what you would like it to look like. Are you editing your html by hand or is there a CMS involved?

toplisek

2:51 pm on Mar 27, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Sorry lost source. My aim is if there is some solution how to add unique elements and HTML by hand or managed by CMS.