HTML Tag
The tag is used to indicate that the contained text is a short quote, which is a Inline elements are displayed in the browser as content enclosed in quotation marks. Please refer to the following example:
Mark a short quote
<p>WWF's goal is to: <q>Build a future where people live in harmony with nature.</q> We hope they succeed.</p>
Tag definition and usage instructions
tag defines a short quote.
Browsers often insert quotation marks around such references.
Tips and Notes
Tip: The tag represents a short quote, while the
tag represents a long text quote. .
Tip: Please use the
tag to mark a block quote taken from another source.Global attributes
tag supports global attributes of HTML.Event attributes
tag supports HTML event attributesThe above is the detailed content of How to use html q tag. For more information, please follow other related articles on the PHP Chinese website!