How do I display this ► Play (Forward) or Solid right arrow symbol in html?
-
Is there something like &play; I can use? – Ben Feb 14 '12 at 17:11
-
28Just for guys who need the other directions too: ▲ ▲ ► ► ▼ ▼ ◄ ◄ – Avatar Jun 25 '15 at 06:31
-
How do you show it in JavaScript ? – David Spector Jun 18 '20 at 18:51
-
6Another character is this: ▶, given by `▶` – Krokodil Dec 08 '20 at 21:29
7 Answers
Yes, ►
, but it might not look the same in all browsers.

- 92,861
- 21
- 134
- 171
-
4Characters should not be expected to look the same, but this character, BLACK RIGHT-POINTING POINTER (U+25BA), is of simple shape, and font designers have little reason to do anything exotic with it. It has good font coverage, including very common fonts like Arial: http://www.fileformat.info/info/unicode/char/25ba/fontsupport.htm – Jukka K. Korpela Feb 14 '12 at 18:45
-
8
-
11Be careful, everyone. 25BA looks squished on some devices because it's a "pointer" and not a "triangle." If you're looking for an equilateral triangle, use 25B6. Here's a chart: http://www.w3schools.com/charsets/ref_utf_geometric.asp – Steve Chab Jan 16 '15 at 21:33
-
Is there any code for back button I am using the above code as forward button as ► + | ? – Rahul Apr 16 '15 at 06:29
If you need to use it in CSS, as in
li:before {
content: '\25BA';
}
This is the CSS conversion of ►
A helpful tool for these conversions: evotech.net/articles/testjsentities.html

- 591
- 5
- 5
-
3You got a type there, it should be `content:'\25BA';` and not `content='\25BA';` – Timo Ernst Aug 07 '15 at 13:20
-
►
from Wolfram Alpha

- 1
- 1

- 9,479
- 6
- 46
- 64
-
Holy cow. I logged in to say thanks for teaching me this about wolfram alpha. – jeremyosborne Oct 17 '12 at 15:22
-
1Regarding the suggested edit (I don't have enough reputation to reject it): The point is that you can paste the symbol into WolframAlpha and don't need to know the HTML representation. The form in which I posted was fully intentional. Please revert to the original version. – Till Hoffmann Jul 30 '14 at 23:04
-
Here's all the other symbols http://www.wolframalpha.com/input/?i=characters+9632+through+9727&lk=1 – Matthew Lock Dec 03 '14 at 03:18
I tried using the ascii code but didn't like it as it always looked stretched.
Instead, I found an ingenious easily customizable solution online, that uses css and only manipulates the border property:
.play {
border-top: 10px solid white;
border-bottom: 10px solid white;
border-left: 20px solid black;
height: 0px;
}
<div class="play"></div>

- 619
- 1
- 8
- 25
-
1
-
3also this codepen is crucial for explaining how this works: https://codepen.io/chriscoyier/pen/lotjh – Sgnl Aug 02 '17 at 03:41
Here's a long list of what you can use:
-
3Yes it is, under Unclassified Characters (http://brucejohnson.ca/SpecialCharacters.html#unclassified). – jonmorgan Feb 14 '12 at 17:17
You can use Bootstrap glyphicons.
<span class="glyphicon glyphicon-play"></span><br>
<span class="glyphicon glyphicon-play-circle"></span><br>
<span class="glyphicon glyphicon-triangle-right"></span><br>
Remember to also include Bootstrap and jQuery in the <head>
element.
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js">
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
JSFiddle explaining this: https://jsfiddle.net/canada/dfr90pac/
Well, you could use an image and display it in the <img>
tags. On their click event, you could write some JavaScript code. You could search the images in Google.

- 947
- 2
- 21
- 45