Skip to content

Commit

Permalink
Remove docs for the <blink> element
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 committed May 23, 2023
1 parent 9da0b6e commit f599b5f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 54 deletions.
1 change: 0 additions & 1 deletion files/zh-cn/_redirects.txt
Expand Up @@ -2317,7 +2317,6 @@
/zh-CN/docs/Web/HTML/Element/Video/loadeddata_event /zh-CN/docs/Web/API/HTMLMediaElement/loadeddata_event
/zh-CN/docs/Web/HTML/Element/basefont /zh-CN/docs/Web/CSS/CSS_Fonts
/zh-CN/docs/Web/HTML/Element/bgsound /zh-CN/docs/Web/HTML/Element/audio
/zh-CN/docs/Web/HTML/Element/blink /zh-CN/docs/orphaned/Web/HTML/Element/blink
/zh-CN/docs/Web/HTML/Element/content /zh-CN/docs/Web/HTML/Element/slot
/zh-CN/docs/Web/HTML/Element/keygen /zh-CN/docs/orphaned/Web/HTML/Element/keygen
/zh-CN/docs/Web/HTML/Element/spacer /zh-CN/docs/orphaned/Web/HTML/Element/spacer
Expand Down
4 changes: 0 additions & 4 deletions files/zh-cn/_wikihistory.json
Expand Up @@ -33539,10 +33539,6 @@
"xgqfrms-GitHub"
]
},
"orphaned/Web/HTML/Element/blink": {
"modified": "2019-03-23T22:20:26.966Z",
"contributors": ["teoli", "hoyt"]
},
"orphaned/Web/HTML/Element/keygen": {
"modified": "2019-04-05T05:50:18.178Z",
"contributors": ["Ende93"]
Expand Down
42 changes: 0 additions & 42 deletions files/zh-cn/orphaned/web/html/element/blink/index.md

This file was deleted.

1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/index.md
Expand Up @@ -229,7 +229,6 @@ Web 组件是一种与 HTML 相关联的技术,简单来说,它允许开发
| {{HTMLElement("acronym")}} | 允许作者明确地声明一个字符序列,它们构成一个单词的首字母缩写或简略语。 |
| {{HTMLElement("bgsound")}} | 设置一个音频文件,以在使用页面时在后台播放;请使用 {{HTMLElement("audio")}} 代替。 |
| {{HTMLElement("big")}} | 以比周围文本大一号的字体渲染其封闭的文本(例如,`medium``large`)。最大不超过浏览器允许的最大字体。 |
| {{HTMLElement("blink")}} | 使包含其中的文本缓慢闪烁。 |
| {{HTMLElement("center")}} | 以水平居中的形式显示包含在元素中的块级或内联内容。 |
| {{HTMLElement("content")}} | [Web 组件](/zh-CN/docs/Web/API/Web_components)技术套件的废弃部分——用于 [Shadow DOM](/zh-CN/docs/Web/API/Web_components/Using_shadow_DOM) 内部作为插入点,并且不可用于任何正常的 HTML。现在已被 {{HTMLElement("slot")}} 元素代替,它在 DOM 中创建一个位置,Shadow DOM 会插入这里。 |
| {{HTMLElement("dir")}} | 被作为一个文件和/或文件夹的目录的容器,可能还有用户代理应用的样式与图标。请不要使用此过时的元素;请使用用于列表的 {{HTMLElement("ul")}} 元素代替,包含文件列表。 |
Expand Down
Expand Up @@ -5,9 +5,9 @@ slug: Web/JavaScript/Reference/Global_Objects/String/blink

{{JSRef}} {{deprecated_header}}

**`blink()`** 方法创建使字符串闪烁的 {{HTMLElement("blink")}} HTML 元素
**`blink()`** 方法创建一个字符串,其在 `<blink>str</blink>` 中嵌入字符串,这使得字符串在旧版浏览器中闪烁

> **警告:** 闪烁文本被多种普及标准否决。 `<blink>`元素自身是非标准的,并且已废弃!
> **警告:** 闪烁文本被多种普及标准否决。`<blink>` 元素自身是非标准的,并且已废弃!
## 语法

Expand All @@ -17,11 +17,11 @@ str.blink()

### 返回值

包含 {{HTMLElement("blink")}} HTML 元素的字符串。
包含 `<blink>` HTML 元素的字符串。

## 描述

`blink()`方法将字符串嵌入 `<blink>` 标签中: `"<blink>str</blink>"`.
`blink()`方法将字符串嵌入 `<blink>` 标签中:`"<blink>str</blink>"`

## 示例

Expand All @@ -46,7 +46,7 @@ console.log(worldString.strike()); // <strike>Hello, world</strike>

{{Compat}}

## 相关链接
## 参见

- {{jsxref("String.prototype.bold()")}}
- {{jsxref("String.prototype.italics()")}}
Expand Down
Expand Up @@ -332,7 +332,7 @@ otherwise my code is unreadable.";
- {{jsxref("String.prototype.big()")}} {{Deprecated_Inline}}
- : {{HTMLElement("big")}}
- {{jsxref("String.prototype.blink()")}} {{Deprecated_Inline}}
- : {{HTMLElement("blink")}}
- : `<blink>`
- {{jsxref("String.prototype.bold()")}} {{Deprecated_Inline}}
- : {{HTMLElement("b")}}
- {{jsxref("String.prototype.fixed()")}} {{Deprecated_Inline}}
Expand Down

0 comments on commit f599b5f

Please sign in to comment.