Straight Ruler

๐Ÿ“

Shortcodes

Copy and paste codes for Straight Ruler symbol ๐Ÿ“ to use in your websites, apps, blogs, and more.

Unicode
U+1F4CF
HTML Code
📏
HEX Code
📏
CSS Code
\1F4CF
JS/JSON
\u1F4CF
Unix/C/PHP/JAVA
0x1F4CF
URL-encode
%F0%9F%93%8F
copied

Customize Straight Ruler Symbol

Customize ๐Ÿ“ symbol as you like and download Straight Ruler as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
๐Ÿ“
 

How to add Straight Ruler symbol in HTML, CSS, and JS?

Insert ๐Ÿ“ Straight Ruler using HTML

1. Copy-paste Straight Ruler directly:
<span>๐Ÿ“</span>
2. HTML Decimal Code:
<span>&#128207;</span>
3. Hexadecimal Code:
<span>&#x1F4CF;</span>
Preview: ๐Ÿ“

Add Straight Ruler symbol with CSS

.straight-ruler::before {
    content: '\\1F4CF';
}
Preview: Straight Ruler

Straight Ruler JavaScript Code

1. Direct Symbol:
document.querySelector('.straight-ruler').textContent = '๐Ÿ“';
2. Unicode Escape for ๐Ÿ“:
document.querySelector('.straight-ruler').textContent = '\u1F4CF';
Preview: ๐Ÿ“