HTML Entity - Horizontal Bar

You are Here:

Horizontal Bar

unicodeU+02015
hex code―
html code―
html entity―
css code\02015

Example

The following example will demonstrate how to use 'Horizontal Bar' 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: "\02015"; } </style> </head> <body> <p>Horizontal Bar using Hexa Decimal: &#x2015;</p> <p>Horizontal Bar using HTML Code: &#8213;</p> <p>Horizontal Bar using HTML Entity: &horbar;</p> <p id="point">Horizontal Bar using CSS Entity: </p> </body> </html>

Reminder

Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in HTML.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author