-
Notifications
You must be signed in to change notification settings - Fork 8.2k
chore(zh-cn): sync Basic HTML Syntax with latest en-US and fix links #27985
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
base: main
Are you sure you want to change the base?
Conversation
```html | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
``` |
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.
[mdn-linter] reported by reviewdog 🐶
```html | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
``` | |
```html | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<!-- __reviewdog__:ChAyZWQ4MzVjZmFlMmI3MzQ5EgptZG4tbGludGVy -->
|
||
文档类型是一个历史遗留问题,需要包含它才能使其他东西正常工作。现在,只需要知道 `<!DOCTYPE html>` 是最短的有效文档声明! | ||
最近,doctype 成为了一个历史遗留物,为了让其他一切正常工作而必须包含它。`<!doctype html>` 是算作有效 doctype 的最短字符序列。你只需要知道这些! |
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.
[mdn-linter] reported by reviewdog 🐶
最近,doctype 成为了一个历史遗留物,为了让其他一切正常工作而必须包含它。`<!doctype html>` 是算作有效 doctype 的最短字符序列。你只需要知道这些! | |
最近,doctype 成为了一个历史遗留物,为了让其他一切正常工作而必须包含它。`<!doctype html>` 是算作有效 doctype 的最短字符序列。你只需要知道这些! |
按 ESC 退出编辑区域,按 Tab 可插入制表符 <code>'\t'</code> | ||
你完成的 HTML 元素 body 的内容应该看起来像这样:html | ||
<h1>一些音乐</h1> | ||
<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.
[markdownlint] reported by reviewdog 🐶
MD033/no-inline-html Inline HTML [Element: h1]
Preview URLs External URLs (2)URL:
|
Description
This PR fully syncs the Simplified Chinese translation of the “Basic HTML Syntax” page with the latest English content and fixes two incorrect internal links.
Motivation
The original zh-CN translation was outdated and missing recent improvements from the en-US version. This update ensures better alignment, completeness, and correctness for Chinese readers. Two internal links were also incorrectly pointing to
/en-US/
and have been fixed to follow localization standards.Additional details
files/zh-cn/learn_web_development/core/structuring_content/basic_html_syntax/index.md
grumpy-cat-small.png
grumpy-cat-attribute-small.png
l10n.sourceCommit
set to3e543cd
Related issues and pull requests
None