It is used to add a quote in a sentence, rather than a text block. It is supported by Firefox and Internet Explorer version 8 onwards only. It has cite attribute same as <blockquote> tag. Text in the opening <q> tag and the closing </q> tag is enclosed in double quotes as shown
HTML code <p> Then she said, <q>Hello!</q>.</p> | Browser output |
Apply for HTML Certification
https://www.vskills.in/certification/certified-html-designer