en fr

Links / hyperlinks

A link can refer to:

  • a URL outside the current site
  • a page within the current site
  • a specific position in a page, inside or outside the current site

A link can be put on different types of elements.

A target outside the site

It requires the full URL of the target (like http://websico.com/p75.html). Websico opens the target page in a new window for the components allowing a link (Title, Image, Bloc), and let you the choice for a rich text.

Inside the current site

Use only the last part of the page URL (eg. p75.html) to preserve the current path and language. Websico opens the target page in the same window for the components allowing a link (Title, Image, Bloc), and let you the choice for a rich text.

A position in a page

It can refer to any identified HTML element. It requires two operations: one on the source, the other in the target HTML text.

Source: 
create a link to something inside or outside the current site, and add '#target' to the URL (eg. p75.html#anchor1)

Target HTML text: if the wanted target is not identified (id="xxx"), create a raw text just before the wanted target and insert:
<a id="target"></a> (eg. <a id="anchor1"></a>)

Special cases

The address of the homepage of a site can be designated with a simple "/" for the main language and "/fr" for example if "fr" is used language.


In a multilingual website, it is not necessary to specify the language in the address, except to change it.

Example:
- to create a link from page .../fr/p75.html to page .../fr/p56.html, just use the last part of the address "p56.html", the system remains in the language of the original page.

- to create a link from page .../fr/p75.html to page to .../en/p56.html, use "/en/p56.html".

Links style

The links have their own appearance, distinct from classical text. See style settings.