How to use "illegal" characters in an HTML heading. Greater than, less than | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to use "illegal" characters in an HTML heading. Greater than, less than

<h1><span id="a"> <> </span></h1> How can I make <> a part of the heading?

20th Jan 2017, 12:18 AM
Jayden Webb
4 Answers
+ 3
> is &gt; < is &lt;
20th Jan 2017, 12:20 AM
Uran Kajtazaj
Uran Kajtazaj - avatar
0
APPERSANDgt; APPERSANDlt; might not translate, idk.
20th Jan 2017, 12:25 AM
Louis Milotte
Louis Milotte - avatar
0
@Uran Kajtazaj Thanks for clearing that up!
20th Jan 2017, 12:38 AM
Jayden Webb
0
tried < > ? http://www.ascii.cl/htmlcodes.htm haha it show it in html here*.. *note website shows other chars than app in app uran is right but if you view this on the webpage this will show the right answer: for < > use &amp;lt; &amp;gt; for &amp;lt; &amp;gt; use &amp;amp;lt; &amp;amp;gt; haha.. think its time for a report...
20th Jan 2017, 1:18 AM
KiX