<q>
HTML <q> Tag
Instance
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> </head> <body> <p>WWF's goal is to: <q>Build a future where people live in harmony with nature.</q> We hope they succeed.</p> </body> </html>
Run Example»
Click the "Run Instance" button to view the online instance
Browser support
All major browsers support< q> tag.
Tag definition and usage instructions
<q> The tag defines a short reference.
Browsers often insert quotation marks around such references.
Tips and Notes
Tips: Please use <blockquote> to mark a block quote taken from another source.
Differences between HTML 4.01 and HTML5
None.
Properties
Properties | Value | Description |
---|---|---|
cite | URL | Specifies the source URL of the citation. |
Global attributes
<q> tag supports global attributes of HTML.
Event attributes
<q> tag supports HTML event attributes.