-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zh-cn]: create doc for HTMLQuoteElement (#23105)
Co-authored-by: A1lo <[email protected]>
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: HTMLQuoteElement | ||
slug: Web/API/HTMLQuoteElement | ||
l10n: | ||
sourceCommit: 7e6e5f5d4c1c984af3d4ebf9399042d19eccea1e | ||
--- | ||
|
||
{{APIRef("HTML DOM")}} | ||
|
||
**`HTMLQuoteElement`** 接口提供用于操作引用元素(如 {{HTMLElement("blockquote")}} 和 {{HTMLElement("q")}},但不包括 {{HTMLElement("cite")}} 元素)的特定属性和方法(除了常规 {{domxref("HTMLElement")}} 接口之外,它还可以通过继承来使用)。 | ||
|
||
{{InheritanceDiagram}} | ||
|
||
## 实例属性 | ||
|
||
_从其父接口 {{domxref("HTMLElement")}} 继承属性。_ | ||
|
||
- {{domxref("HTMLQuoteElement.cite")}} | ||
- : 一个反映 [`cite`](/zh-CN/docs/Web/HTML/Element/blockquote#cite) HTML 属性的字符串,包含引用资源的 URL。 | ||
|
||
## 实例方法 | ||
|
||
_无特定方法;从其父接口 {{domxref("HTMLElement")}} 继承方法。_ | ||
|
||
## 规范 | ||
|
||
{{Specifications}} | ||
|
||
## 浏览器兼容性 | ||
|
||
{{Compat}} | ||
|
||
## 参见 | ||
|
||
- 实现此接口的 HTML 元素:{{HTMLElement("blockquote")}} 和 {{HTMLElement("q")}},但不包括 {{HTMLElement("cite")}}。 |