From İzmir to the digital world.

Setting Link Targets in Line with W3 Standards

Web & Software 1 min read

When creating a personal website meeting W3C standards, there are different ways to open links such as Facebook and Twitter icons in another window. I am sharing this in case it is useful to you.

Our link that does not meet SEO and W3 requirements:

<a href=”http://127.0.0.1:8082” target=”_blank”>HOMEROS BİLİŞİM</a>

Using the following approach instead of opening the link as shown above makes it meet W3 standards, which brings advantages.

<a href=”http://127.0.0.1:8082” onclick=”window.open(this.href); return false;”>HOMEROS BİLİŞİM</a>

I hope this has been helpful.

Services, projects, products and knowledge base