Welcome ðŸŽ‰

logo

ReactLMS

Search
Light Mode
Contact Us

2 min to read

Contact us

No results for your search.
Sorry, an unexpected error occurred

Concept


The <q> tag in HTML is used to format short quotations within a text paragraph.

When using this tag, the quotation will be displayed in double quotes.


How to use


<p>Nguyễn Văn A đã nói: <q>Thành công đến từ sự kiên nhẫn và nỗ lực.</q></p>






Result

Nguyễn Văn A đã nói: Thành công đến từ sự kiên nhẫn và nỗ lực.


Tag <q> can also be combined with other attributes to customize the display. Here are some common attributes:

cite: This attribute is used to specify the source of the quotation.

Example

<q cite="https://example.com">Trích dẫn</q>






Result:

Trích dẫn

title: This attribute is used to display a tooltip or additional information when hovering over the quotation.

Example

<q title="Nguyễn Văn A">Trích dẫn</q>






Result

Trích dẫn



Read more
On This Page