Created
September 18, 2016 04:49
-
-
Save SIRHAMY/d12e8d6d7e2b7bda691298c283eea8dd to your computer and use it in GitHub Desktop.
React/JSX: Put greater than and less than symbol in HTML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div>{"<"} Less than, {">"} greater than </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice one, you can also use:
Reserved html characters with how to write them:
" : "
' : '
& : &
< : <
> : >