HTML Entity - Colon

Last Updated:

Colon

:
unicodeU+0003A
hex code:
html code:
html entity:
css code\0003A

Example

The following example will demonstrate how to use 'Colon' HTML entity using HTML and CSS. For a complete reference, go to our HTML Entities.

HTML Online Compiler
<!DOCTYPE html> <html> <head> <style> #point:after{ content: "\0003A"; } </style> </head> <body> <p>Colon using Hexa Decimal: &#x3a;</p> <p>Colon using HTML Code: &#58;</p> <p>Colon using HTML Entity: &colon;</p> <p id="point">Colon using CSS Entity: </p> </body> </html>

Browser Support

Devicedesktopmobile
Browsergoogle chromesafarifirefoxinternet Exploreredgeoperagoogle chromesafarifirefoxedgeoperaandroid webviewsamsung internet
:YesYesYesYesYesYesYes?YesYesYesYes?

Share this Page

Meet the Author