Skip to content

Commit

Permalink
[zh-cn]: format image (#23237)
Browse files Browse the repository at this point in the history
  • Loading branch information
btea authored Aug 25, 2024
1 parent 590f4be commit 2b62ee2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions files/zh-cn/web/api/htmlimageelement/image/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ slug: Web/API/HTMLImageElement/Image

{{ APIRef("HTML DOM") }}

**`Image()`**函数将会创建一个新的{{domxref("HTMLImageElement")}}实例。

它的功能等价于 {{domxref("Document.createElement()", "document.createElement('img')")}}
**`Image()`** 构造函数用于创建一个新的 {{domxref("HTMLImageElement")}} 实例。它的功能等价于 {{domxref("Document.createElement()", "document.createElement('img')")}}。

## 语法

Expand Down

0 comments on commit 2b62ee2

Please sign in to comment.