User login
Navigation
Popular content
Recent blog posts
Active forum topics
Who's new
Who's online
There are currently 0 users and 3 guests online.
|
How to create a linkPutting a link to another web page into an article is easy, but requires a little bit of HTML code. There are three different kinds of links:
There are two ways to create such links. The very simple way is to just write the address without any further ado. The Content Management System automatically recognizes such links from their http:// or similar prefix or from the www. prefix and makes it clickable. Examples: http://elephantvoices.org/, www.elephantvoices.org The more difficult way is needed if you want some other display text to be clickable. The display text will automatically be colored to make it recognizable as a link. Code template you can copy and modify: <a href="put the destination web address (URL) here">put the display text here</a> Example code: <a href="http://www.elephantvoices.org/">Click here to go to ElephantVoices.</a> Working example: Click here to go to ElephantVoices. The very simple way works just the same. For the other methods use the very same code as above, but it is better to omit http://elephanttrust.org. The web address always begins with a slash and can look like "/node/41". Example code: Have a look at <a href="/node/41">Cynthia's page</a>. Working example: Have a look at Cynthia's page. This is not very different from the link type described above, except that the URL points not to a node on this CMS, but to a file. Follow these steps:
You can submit your work before finishing, if you're interrupted, but the HTML tag <a href="...">...</a> should either be complete or not there at all. Unfinished HTML tags cause problems. This is only needed for very long pages, for example to construct a little table of contents like in Wikipedia, where readers can click to jump down to a chapter. The link looks like this (note the double cross/hash/sharp character before the link name): <a href="#ch-11-tag">Chapter 11</a> The destination has to be tagged like this: <a name="ch-11-tag">Chapter 11</a> You can write anything into the tag name. The only condition is that the href attribute value at the link minus the double cross/hash/sharp character is identical to the name attribute value at the destination. By the way, this article itself is an example for in-page links. The table of contens at the top uses this function. |
1 hour 50 min ago
2 hours 11 min ago
15 hours 6 min ago
2 days 7 hours ago
3 days 6 hours ago
3 days 9 hours ago
1 week 21 hours ago
1 week 3 days ago
1 week 6 days ago
1 week 6 days ago