Improving the translation error in the title and example (#24396)

The original title of this document is "一个标签"`, means "one tag" in Chinese, so I change it to "A标签" to enhance the translation quality.

In the example, I have fixed some descriptions for target attribute that may mislead readers due grammatical errors.
This commit is contained in:
Cara
2019-01-04 02:02:21 +08:00
committed by Jingyi Ding
parent 48670347b9
commit 404bf1511b

View File

@ -1,8 +1,10 @@
--- ---
title: A Tag title: A Tag
localeTitle: a 标记
localeTitle: A标签
--- ---
## a 标记 ## A标签
`<a>`标签或_锚_元素创建指向另一个页面或文件的超链接。为了链接到不同的页面或文件 `<a>`标签还必须包含一个`href`属性,该属性指示链接的目的地。 `<a>`标签或_锚_元素创建指向另一个页面或文件的超链接。为了链接到不同的页面或文件 `<a>`标签还必须包含一个`href`属性,该属性指示链接的目的地。
@ -30,6 +32,7 @@ localeTitle: a 标记
`_blank` :根据用户的偏好,在新选项卡或新窗口中打开链接。 `_self` :在同一框架中打开链接(默认行为)。 `_parent` 打开父框架中的链接例如当用户单击iframe中的链接时。 `_top` :打开窗口整个主体中的链接。 `framename` :打开指定框架中的链接。 `_blank` :根据用户的偏好,在新选项卡或新窗口中打开链接。 `_self` :在同一框架中打开链接(默认行为)。 `_parent` 打开父框架中的链接例如当用户单击iframe中的链接时。 `_top` :打开窗口整个主体中的链接。 `framename` :打开指定框架中的链接。
#### 例: #### 例:
```html ```html
@ -41,6 +44,7 @@ localeTitle: a 标记
#### 更多信息: #### 更多信息:
* [HTML <a>elementMDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) * [HTML <a>元素MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a)
* [tagw3schools](https://www.w3schools.com/tags/tag_a.asp) * [标签w3schools](https://www.w3schools.com/tags/tag_a.asp)
* [taghtmlreference.io](http://htmlreference.io/element/a/) * [标签htmlreference.io](http://htmlreference.io/element/a/)