Puede usar elementos de <code>anchor</code> para vincular contenido fuera de su página web.
elementos de <code>anchor</code>
necesitan una dirección web de destino denominada atributo <code>href</code> . También necesitan texto de anclaje. Aquí hay un ejemplo:
<code><a href="https://freecodecamp.org">this links to freecodecamp.org</a></code>
Entonces su navegador mostrará el texto <strong>"esto enlaza a freecodecamp.org"</strong> como un enlace que puede hacer clic. Y ese enlace lo llevará a la dirección web <strong>https://spanish.freecodecamp.org</strong> .
Crear una <code>a</code> elemento que une a <code>http://freecatphotoapp.com</code> y tiene "fotos del gato" como su <code>anchor text</code> .
testString: 'assert(/http:\/\/(www\.)?freecatphotoapp\.com/gi.test($("a").attr("href")), "You need an <code>a</code> element that links to <code>http://freecatphotoapp<wbr>.com</code>");'
- text: Asegúrese de que su <code>a</code> elemento tiene una etiqueta de cierre.
testString: 'assert(code.match(/<\/a>/g) && code.match(/<\/a>/g).length === code.match(/<a/g).length,"Makesureyour<code>a</code> element has a closing tag.");'
```
</section>
## Challenge Seed
<sectionid='challengeSeed'>
<divid='html-seed'>
```html
<h2>CatPhotoApp</h2>
<main>
<imgsrc="https://bit.ly/fcc-relaxing-cat"alt="A cute orange cat lying on its back.">
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>