-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zh-cn: sync the translation of the second two articles in Get started with the web
#23807
zh-cn: sync the translation of the second two articles in Get started with the web
#23807
Conversation
Preview URLs
Flaws (32)URL:
URL:
External URLs (1)URL:
(comment last updated: 2024-10-04 07:39:54) |
files/zh-cn/learn/getting_started_with_the_web/html_basics/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/learn/getting_started_with_the_web/html_basics/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/learn/getting_started_with_the_web/html_basics/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/learn/getting_started_with_the_web/html_basics/index.md
Outdated
Show resolved
Hide resolved
…ex.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ex.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ex.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ex.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
都需要翻译,代码部分仅在有配套的 GitHub 实时示例时,不需要进行全内容的翻译(仅翻译不影响对应关系的注释等内容) 加粗效果如果无法正常应用,请使用 Markdown 原生语法的链接代替,并将加粗的样式放到链接文字内: 我想要加粗一个[**链接**](https://example.com),那我应该这么写。 |
尝试了你说的加粗效果的方法,但还是没法正确显示,你帮忙看一下这个部分。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请注意这些问题
files/zh-cn/learn/getting_started_with_the_web/dealing_with_files/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/learn/getting_started_with_the_web/dealing_with_files/index.md
Outdated
Show resolved
Hide resolved
|
||
这个元素的主要部分有: | ||
|
||
1. **开始标签**(Opening tag):包含元素的名称(本例为 p),被大于号、小于号所包围。表示元素从这里开始或者开始起作用——在本例中即段落由此开始。 | ||
2. **结束标签**(Closing tag):与开始标签相似,只是其在元素名之前包含了一个斜杠。这表示着元素的结尾——在本例中即段落在此结束。初学者常常会犯忘记包含结束标签的错误,这可能会产生一些奇怪的结果。 | ||
1. **开始标签**(Opening tag):包含元素的名称(本例为 p),及包围名称的**大于号**、**小于号**。这表示元素从这里开始或者开始起作用——在本例中即段落由此开始。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
英文文档用的是给“尖括号”加粗,可以调整一下翻译+样式
3. 由引号所包围的属性值。 | ||
1. 属性与元素名称(或上一个属性,如果元素有超过一个属性的话)之间的一个空格。 | ||
2. 属性名,后接一个等号。 | ||
3. 引号包围的属性值。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上一处,调整一下翻译
files/zh-cn/learn/getting_started_with_the_web/html_basics/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/learn/getting_started_with_the_web/html_basics/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/learn/getting_started_with_the_web/html_basics/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/learn/getting_started_with_the_web/html_basics/index.md
Outdated
Show resolved
Hide resolved
|
||
> **备注:** `href` 这个名字可能开始看起来有点令人费解,代表超文本引用( **h**ypertext **ref**erence)。 | ||
> **备注:** `href` 这个名字可能一开始看起来有点令人费解,代表超文本引用(_**h**ypertext **ref**erence_)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
翻译尽量与原文对齐,请修改
files/zh-cn/learn/getting_started_with_the_web/html_basics/index.md
Outdated
Show resolved
Hide resolved
…ex.md Co-authored-by: A1lo <[email protected]>
…les/index.md Co-authored-by: A1lo <[email protected]>
…les/index.md Co-authored-by: A1lo <[email protected]>
…ex.md Co-authored-by: A1lo <[email protected]>
…ex.md Co-authored-by: A1lo <[email protected]>
…ex.md Co-authored-by: A1lo <[email protected]>
…ex.md Co-authored-by: A1lo <[email protected]>
已经根据评论意见进行了修改。 |
不好意思,刚刚发现有一条建议被隐藏了,就没有应用。 |
…d with the web` (mdn#23807) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: A1lo <[email protected]>
Description
更新
web 入门
的第三篇和第四篇文章。更新的时候,对
代码
部分中的英文是否要翻译不是很确定,所以我保留了原样;对嵌入的图片的 alt 是否要翻译也不是很确定,也是保留了原样。欢迎提出建议。
Motivation
Additional details
Related issues and pull requests