HTML Quotation

In this we had learnt <blockquote>,<q><abbr><address><cite>, and <bdo> HTML elements

HTML Quotation and Citation Elements

TagDescription
<abbr>Defines an abbreviation or acronym
<address>Defines contact information for the author/owner of a document
<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

HTML Comments


HTML comments are not displayed in the browser, but they can help document your HTML source code.


HTML Comment Tags

You can add comments to your HTML source by using the following syntax:

<!– Write your comments here –>


HTML Colors


HTML colors are specified with predefined color names, or with RGB, HEX, HSL, RGBA, or HSLA values.

Background Color

Example:-

<h1 style=”background-color:DodgerBlue;”>Hello World</h1>
<p style=”background-color:Tomato;”>Lorem ipsum…</p>

Ouput:-

Text Color

You can set the color of text:

Hello World

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip exea commodo consequat.

Border Color

You can set the color of borders:

Output:-

Leave a Comment