Sorry but they are only in Unicode. :(
Big ones:
U+25B2
(Black up-pointing triangle ▲)
U+25BC
(Black down-pointing triangle ▼)
U+25C0
(Black left-pointing triangle ◀)
U+25B6
(Black right-pointing triangle ▶)
Big white ones:
U+25B3
(White up-pointing triangle △)
U+25BD
(White down-pointing triangle ▽)
U+25C1
(White left-pointing triangle ◁)
U+25B7
(White right-pointing triangle ▷)
There is also some smalller triangles:
U+25B4
(Black up-pointing small triangle ▴)
U+25C2
(Black left-pointing small triangle ◂)
U+25BE
(Black down-pointing small triangle ▾)
U+25B8
(Black right-pointing small triangle ▸)
Also some white ones:
U+25C3
(White left-pointing small triangle ◃)
U+25BF
(White down-pointing small triangle ▿)
U+25B9
(White right-pointing small triangle ▹)
U+25B5
(White up-pointing small triangle ▵)
There are also some "pointy" triangles. You can read more here in Wikipedia:
http://en.wikipedia.org/wiki/Geometric_Shapes
But unfortunately, they are all Unicode instead of ASCII. If you still want to use ASCII, then you can use an image file for it of just use ^
and v
. (Just like the Google Maps in the mobile version this was referring to the ancient mobile Google Maps)
As others also suggested, you can also create triangles with HTML, either with CSS borders or SVG shapes or even JavaScript canvases.
CSS
div{
width: 0px;
height: 0px;
border-top: 10px solid black;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: none;
}
SVG
<svg width="16" height="10">
<polygon points="0,0 16,0 8,10"/>
</svg>
JavaScript
var ctx = document.querySelector("canvas").getContext("2d");
// do not use with() outside of this demo!
with(ctx){
beginPath();
moveTo(0,0);
lineTo(16,0);
lineTo(8,10);
fill();
endPath();
}