I've a question about internal links. Which one is better? <a href="index.html">anchor</a> <a href="http://www.example.com/index.html">anchor</a> <a href="http://example.com/index.html">anchor</a> Are there any difference between them?
If I were you I'd use: <a href="/index.html">anchor</a> By the way, you have to have that forward slash (/) I believe. The reason I think it's better is let's say you have a large site with hundreds of internal links in it. If you use the <a href="/index.html">anchor</a> example for all your links, you will be better off if you ever decide to change your domain name. You won't have to go back and correct every link on your site, because they will work with any new domain name.
Thanks for your answer. 1st, I use without / and it works well. I never had a problem. Maybe you're wrong, maybe I'll have a problem with somewhere I don't know. 2nd. Your domain change situations is cool. But my main consider is SEO. Which one is better for SEO?