HTML provides a number of elements for marking up quotations and citations, including:
<abbr> : Describes an acronym or abbreviation
<address>: specifies address
<bdo>: Defines the text direction
<blockquote>:Defines a section that is quoted from another source
<cite>: Defines the title of a work
<q>: Defines a short inline quotation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<!DOCTYPEÂ html> <html> <head> <title>Title</title> </head> <body> <!-- blockquote--> <blockquote cite="https://www.example.com"> <p>This is a block of quoted text.</p> </blockquote> <!-- abbr--> <p>The <abbr title="World Health Organization">WHO</abbr> is a specialized agency of the United Nations.</p> <!-- address--> <address> Written by Shrikant.<br> Visit us at:<br> tutorialflow.com<br> Box 123, <br> India </address> </body> </html> |
1 2 3 4 5 6 7 8 9 10 11 12 |
<!DOCTYPEÂ html> <html> <head> <title>Title</title> </head> <body> <!-- q tag--> <p>In his famous speech, Martin Luther King Jr. said <q cite="https://www.example.com">I have a dream</q>.</p> <!-- bdo tag--> <bdo dir="rtl">This text will be written from right to left</bdo> </body> </html> |
HTML Comment Tag
comments are usefull to write description ,TODO or document the information.
Syntax:
<!– Write your comments here –>
1 2 3 4 5 6 7 8 9 10 |
<!DOCTYPEÂ html> <html> <head> <title>Title</title> </head> <body> <!-- my comment--> <p>sample paragraph </p> </body> </html> |