• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Actual Wizard

Actual Wizard

Great Content From Actual Wizards

  • Blogging
  • Programming
  • Social Media
  • Marketing
You are here: Home / Programming / HTML

Heart Symbol HTML Code with Examples

November 16, 2020 by Kevin Marszalek

If you are creating content for your website, you may want to include a heart symbol on the page.

Including symbols or emojis on a webpage is very simple to do as long as you understand some basic HTML.

Heart Symbol HTML Code Example

Note: The number corresponds to the decimal Code that represents the symbol.

I Love Blogging! ❤

Code Demo:

I Love Blogging! ❤

Heart Symbol CSS Code Example

You can also add hearts to a webpage by utilizing a CSS style.

The content (heart) is specified by its hexadecimal value.

<style>
.my-class:after {
  content: "\1F496";
}
</style> 
<div class="my-class">Thank You!</div>

Code Demo:

Thank You!

List of HTML Heart Symbol Values

SymbolDecimal CodeHex Code (CSS)
☙&#9753;\2619;
♡&#9825;\2661
♥&#9829;\2665
❢&#10082;\2762
❣&#10083;\2763
❤&#10084;\2764
❥&#10085;\2765
❦&#10086;\2766
❧&#10087;\2767
💌&#128140;\1F48C
💏&#128143;\1F48F
💑&#128145;\1F491
💓&#128147;\1F493
💔&#128148;\1F494
💕&#128149;\1F495
💖&#128150;\1F496
💗&#128151;\1F497
💘&#128152;\1F498
💙&#128153;\1F499
💚&#128154;\1F49A
💛&#128155;\1F49B
💜&#128156;\1F49C
💝&#128157;\1F49D
💞&#128158;\1F49E
💟&#128159;\1F49F
🖤&#128420;\1F5A4
😍&#128525;\1F60D
😘&#128536;\1F618
😻&#128571;\1F63B
🧡&#129505;\1F9E1

Filed Under: HTML

Read More From Actual Wizard

  • Understanding the Different Parts of an Email Address
    An email address has four parts; the recipient name, the @ symbol, the domain name, and the top-level domain. …
  • How to Get the Last Element of an Array in JavaScript
    There are a number of different ways to get the last element of an array in JavaScript. Below we will explore …
  • How to use document.write() in JavaScript
    How to use document.write() in JavaScript The document.write() function is commonly used when testing simple …
  • How to Open a New Tab with JavaScript
    Opening a new browser window in a new tab can be done easily in JavaScript. Modern web browsers provide a …

Primary Sidebar

More posts from this section

  • PX to EM Converter – Online CSS Font Size Tool
  • How to Hide the URL Address in the Browser Status Bar
  • Heart Symbol HTML Code with Examples
  • HTML Trademark Symbol Code Example
  • Prevent a Phone Number from Wrapping to a New Line in CSS HTML
  • Html Tutorial Hello World Example with Code
  • Force a File to Download Instead of Opening it in a Browser with HTML

Copyright © 2025 ActualWizard.com

  • About
  • Terms of Service
  • Privacy Policy
  • Cookie Policy