Date: 2019-01-30 02:53 pm (UTC)
manna: (Default)
From: [personal profile] manna
If you want to show example HTML with the angled brackets, you can do it with HTML entities.

&lt; gives you a <
&gt; gives you a >
&amp; gives you a &

So the HTML looks like this:

&lt;ul&gt;
&lt;li&gt;Cobb&lt;/li&gt;
&lt;li&gt;Arthur&lt;/li&gt;
&lt;li&gt;Ariadne&lt;/li&gt;
&lt;li&gt;Eames&lt;/li&gt;
&lt;/ul&gt;

And displays like this:

<ul>
<li>Cobb</li>
<li>Arthur</li>
<li>Ariadne</li>
<li>Eames</li>
</ul>

But how did I get those HTML entities themselves to display without converting into characters, you ask?

I used the &amp; entity to create the initial ampersand character! So that &amp; in the previous sentence was coded as &amp;amp;. And &amp;amp;amp; displays as &amp;amp; etc.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

thisweekmeta: initials TWM in white on a dark blue background (Default)
This Week in Meta

February 2019

S M T W T F S
      12
345 6789
101112 13141516
17181920212223
2425262728  

Style Credit