From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/html/element/q/index.html | 122 +++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 files/ja/web/html/element/q/index.html (limited to 'files/ja/web/html/element/q/index.html') diff --git a/files/ja/web/html/element/q/index.html b/files/ja/web/html/element/q/index.html new file mode 100644 index 0000000000..e7ed497c2d --- /dev/null +++ b/files/ja/web/html/element/q/index.html @@ -0,0 +1,122 @@ +--- +title: ': 行内引用要素' +slug: Web/HTML/Element/q +tags: + - Citation + - Cite + - Element + - HTML + - HTML text-level semantics + - Q + - Quotation + - Quotation Marks + - Reference + - Web + - quote +translation_of: Web/HTML/Element/q +--- +
{{HTMLRef}}
+ +

HTML の <q> 要素 は、その内容が行内の引用であることを表します。最近の多くのブラウザーでは、文字列を引用符で囲むように実装しています。この要素は、段落区切りをまたがない短い引用のためのものです。長文の引用には、 {{HTMLElement("blockquote")}} 要素を使用してください。

+ +
{{EmbedInteractiveExample("pages/tabbed/q.html", "tabbed-shorter")}}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
コンテンツカテゴリフローコンテンツ, 記述コンテンツ, 知覚可能コンテンツ
許可されている内容記述コンテンツ
タグの省略{{no_tag_omission}}
許可されている親要素記述コンテンツを受け入れるすべての要素
暗黙の ARIA ロールNo corresponding role
許可されている ARIA ロールすべて
DOM インターフェイス{{domxref("HTMLQuoteElement")}}
+ +
+

注: 最近の多くのブラウザーは、<q> 要素内の文字列の周りに自動的に引用符を追加します。古いブラウザーでは引用符を追加するためにスタイル規則が必要な場合があります。

+
+ +

属性

+ +

この要素はグローバル属性を持ちます。

+ +
+
{{htmlattrdef("cite")}}
+
この属性の値は、引用した情報の引用元文書やメッセージの URL です。この属性は、引用文の文脈や参照先を説明する情報を指すためのものです。
+
+ +

+ +
<p>According to Mozilla's website,
+  <q
+  cite="https://www.mozilla.org/en-US/about/history/details/">Firefox 1.0
+  was released in 2004 and became a big success.</q></p>
+
+ +

{{EmbedLiveSample('Example')}}

+ +

仕様書

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('HTML WHATWG', 'semantics.html#the-q-element', '<q>')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'textlevel-semantics.html#the-q-element', '<q>')}}{{Spec2('HTML5 W3C')}}
{{SpecName('HTML4.01', 'struct/text.html#h-9.2.2', '<q>')}}{{Spec2('HTML4.01')}}初回定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("html.elements.q")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf