fix: Update packages and fix local dev (#26907)

<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
This commit is contained in:
Stuart Taylor
2018-10-23 14:18:46 +01:00
committed by mrugesh mohapatra
parent 153e1c9f38
commit 7da04a348b
341 changed files with 17836 additions and 1026 deletions

View File

@@ -0,0 +1,53 @@
---
title: A Target Attribute
localeTitle: Un atributo de destino
---
## Un atributo de destino
El `<a target>` atributo especifica dónde abrir el documento vinculado en una `a` etiqueta (ancla).
#### Ejemplos:
Un atributo de destino con el valor de "\_blank" abre el documento vinculado en una nueva ventana o pestaña.
```html
<a href="https://www.freecodecamp.org" target="_blank">freeCodeCamp</a>
```
Un atributo de destino con el valor de "\_self" abre el documento vinculado en el mismo marco en el que se hizo clic (este es el valor predeterminado y, por lo general, no es necesario especificarlo).
```html
<a href="https://www.freecodecamp.org" target="_self">freeCodeCamp</a>
```
```html
<a href="https://www.freecodecamp.org">freeCodeCamp</a>
```
Un atributo de destino con el valor de "\_parent" abre el documento vinculado en el marco principal.
```html
<a href="https://www.freecodecamp.org" target="_parent">freeCodeCamp</a>
```
Un atributo de destino con el valor de "\_top" abre el documento vinculado en el cuerpo completo de la ventana.
```html
<a href="https://www.freecodecamp.org" target="_top">freeCodeCamp</a>
```
Un atributo de destino con el valor de _"nombre de marco"_ Abre el documento vinculado en un marco con nombre específico.
```html
<a href="https://www.freecodecamp.org" target="framename">freeCodeCamp</a>
```
#### Más información:
Atributo de destino: [w3schools](https://www.w3schools.com/tags/att_a_target.asp)