Chunk

Anchor/es: Difference between revisions

From Joomla! Documentation

FuzzyBot (talk | contribs)
Updating to match new version of source page
Created page with "El código fuente HTML de un ancla tiene la siguiente estructura: <source lang="html4strict"><a name="mi_ancla" title="Mi Ancla"></a></source>Puedes enlazar con un ancla desde..."
Line 1: Line 1:
An anchor is created using the <a> tag in HTML. An anchor allows you to place a bookmark inside an HTML page. In Joomla!, you can place an anchor inside an article (for example, using the [[Content_editors#TinyMCE editor | TinyMCE]] editor). This lets you create a link that will go directly to that point in the article.  
An anchor is created using the <a> tag in HTML. An anchor allows you to place a bookmark inside an HTML page. In Joomla!, you can place an anchor inside an article (for example, using the [[Content_editors#TinyMCE editor | TinyMCE]] editor). This lets you create a link that will go directly to that point in the article.  


The HTML source code for an anchor looks like the following: <source lang="html4strict"><a name="my_anchor" title="My Anchor"></a></source>You can link to an anchor from within the same page using the HTML code <source lang="html4strict"><a href="#my_anchor" ></a></source>Clicking that link will take you directly to the location of the anchor tag.  
El código fuente HTML de un ancla tiene la siguiente estructura: <source lang="html4strict"><a name="mi_ancla" title="Mi Ancla"></a></source>Puedes enlazar con un ancla desde la propia página usando el código HTML <source lang="html4strict"><a href="#mi_ancla" ></a></source>Al pinchar en ese enlace te llevará directamente a donde se encuentre la etiqueta del ancla.  


You can link to an anchor in a different page by appending "#" plus the anchor name to the end of the URL. In the example above, if the URL for the article was <code><nowiki>http://www.mysite.com/my_article.html</nowiki></code>, then you could link directly to the anchor in that page with the URL <code><nowiki>http://www.mysite.com/my_article.html#my_anchor</nowiki></code>.<noinclude>[[Category:Glossary definitions|{{PAGENAME}}]]</noinclude>
You can link to an anchor in a different page by appending "#" plus the anchor name to the end of the URL. In the example above, if the URL for the article was <code><nowiki>http://www.mysite.com/my_article.html</nowiki></code>, then you could link directly to the anchor in that page with the URL <code><nowiki>http://www.mysite.com/my_article.html#my_anchor</nowiki></code>.<noinclude>[[Category:Glossary definitions|{{PAGENAME}}]]</noinclude>

Revision as of 11:52, 5 March 2014

An anchor is created using the <a> tag in HTML. An anchor allows you to place a bookmark inside an HTML page. In Joomla!, you can place an anchor inside an article (for example, using the TinyMCE editor). This lets you create a link that will go directly to that point in the article.

El código fuente HTML de un ancla tiene la siguiente estructura:

<a name="mi_ancla" title="Mi Ancla"></a>

Puedes enlazar con un ancla desde la propia página usando el código HTML

<a href="#mi_ancla" ></a>

Al pinchar en ese enlace te llevará directamente a donde se encuentre la etiqueta del ancla.

You can link to an anchor in a different page by appending "#" plus the anchor name to the end of the URL. In the example above, if the URL for the article was http://www.mysite.com/my_article.html, then you could link directly to the anchor in that page with the URL http://www.mysite.com/my_article.html#my_anchor.

Languages