English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
: <mark> tag
Online Example
Example <!doctype html> <html> <head>-8"> <meta charset="UTF3codebox.com)</title>/title> </head> <body> <h1>Heading 1</h1> <p>This is the content that would appear under Heading 1./p> <p>The Road Runner always says, <q>Beep Beep</q>./">.</q>./p> <p>Or does the Road Runner say, <q cite="https://www.oldtoolbag.com">Meep Meep</q>?</p> </body> </html>Test to see ‹/›
In this HTML5In the HTML document example, we created two <q> tags. The first <q> tag contains the text 'Beep Beep'. The second <q> tag contains the text 'Meep Meep' and uses the cite attribute.
IEFirefoxOperaChromeSafari
All major browsers support the <q> tag.
The <q> tag defines a short quote.
For long block quotes, please use the <blockquote> tag.
Browsers often insert quotes around such quotes.
Please use <blockquote> Used to mark a block quote from another source.
Attribute | Value | Description |
---|---|---|
cite | URL | Specifies the URL of the referenced source. |
<q> tag supports HTML global attributes.
<q> tag supports HTML event attributes.