How to specify a valid anchor name (to make a link)

Permalink
I am editing my newly purchased theme, and want to add a link. But my link is not being accepted.

I am asked to PLEASE SPECIFY A VALID ANCHOR NAME.

What is a valid anchor name?

Please help.

tamarosher
View Replies:
jero replied on at Permalink Reply
jero
An anchor is created like this

<a name="MYANCHOR"></a>

To use the anchor, you would specify it in in a link like this

<a href="#MYANCHOR">Click here</a>
or
<a href="http://www.example.com/index.php/example#MYANCHOR">

The usual gotcha is to forget the # when using