HTML Entity - Backslash

Last Updated:

Backslash

\
unicodeU+0005C
hex code\
html code\
html entity\
css code\0005C

Example

The following example will demonstrate how to use 'Backslash' 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: "\0005C"; } </style> </head> <body> <p>Backslash using Hexa Decimal: &#x5c;</p> <p>Backslash using HTML Code: &#92;</p> <p>Backslash using HTML Entity: &bsol;</p> <p id="point">Backslash using CSS Entity: </p> </body> </html>

Browser Support

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

Share this Page

Meet the Author