<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1040886" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1040886</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Use a textarea when you want</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-can-i-show-html-code-a-web-page#comment-1229249</link>
    <description> &lt;p&gt;Use a textarea when you want the users to make edits to the code. If that&#039;s not necessary I&#039;d suggest just put it in a block element.&lt;/p&gt;
 </description>
     <pubDate>Thu, 20 Mar 2008 15:06:45 +0000</pubDate>
 <dc:creator>Jack Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1229249 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>If you mean a textarea,</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-can-i-show-html-code-a-web-page#comment-1229235</link>
    <description> &lt;p&gt;If you mean a textarea, well, the same issues apply. You still need to use &amp;amp;lt; etc. even when displaying in a textarea.&lt;/p&gt;
 </description>
     <pubDate>Thu, 20 Mar 2008 05:06:13 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1229235 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thanks guys, would I be</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-can-i-show-html-code-a-web-page#comment-1229230</link>
    <description> &lt;p&gt;Thanks guys, would I be better using a text box or is that a no no?&lt;/p&gt;
 </description>
     <pubDate>Wed, 19 Mar 2008 10:46:01 +0000</pubDate>
 <dc:creator>caffinephil</dc:creator>
 <guid isPermaLink="false">comment 1229230 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Jack Michaelson raises an</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-can-i-show-html-code-a-web-page#comment-1229224</link>
    <description> &lt;p&gt;&lt;strong&gt;Jack Michaelson&lt;/strong&gt; raises an interesting point.&lt;/p&gt;
&lt;p&gt;All &quot;latin&quot; encodings (ISO-8859-?), as well as UTF-8 share the same characters in the first 127 places, so no entities are needed to display them when using the usual 8-bit editors most of us employ. For displaying European accented characters in the 192-255 character range, the named entities are preferred and have worked since HTML 2.0. Entities in the range 160-191 are newer, and it is in respect of these that you may have read the caution, as the numbered version always works.&lt;/p&gt;
&lt;p&gt;Eight bit encoding is limited to 256 characters (0-255), but Unicode supports a far bigger range than this, which is why you see entities like &amp;amp;8220; for example. I prefer to use an editor and an FTP client that supports UTF-8. Oh, and you need your server to send the appropriate header. This way you can enter every character &quot;natively&quot; which makes text far easier to read, especially if, like me, you like typographic niceties like &quot;curly quotes.&quot; But that&#039;s just me.&lt;/p&gt;
&lt;p&gt;To get back to the original question - &amp;amp;lt; &amp;amp;gt; &amp;amp;quot; and &amp;amp;amp; are part of both the HTML and XML languages, so are preferred for marking up code.&lt;/p&gt;
&lt;p&gt;Sorry about the long post, but character encoding seems to be one of the least understood aspects of making web pages.   &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/plain.png&quot; title=&quot;Plain&quot; alt=&quot;Plain&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 19 Mar 2008 04:33:57 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1229224 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Greg K wrote:

actually, use</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-can-i-show-html-code-a-web-page#comment-1229220</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Greg K wrote:&lt;/strong&gt; actually, use the the following:&lt;/p&gt;
&lt;p&gt;&amp;amp;lt; (less than, the left angle bracket)&lt;br /&gt;
&amp;amp;gt; (greater than, the right angle bracket)&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I remember using the decimals in stead of the entity reference has better chances (as in 100% compared to 99% or so) to work.&lt;br /&gt;
I can&#039;t remember where I&#039;ve read that of course &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/plain.png&quot; title=&quot;Plain&quot; alt=&quot;Plain&quot; class=&quot;smiley-content&quot; /&gt;, anyone?&lt;/p&gt;
 </description>
     <pubDate>Tue, 18 Mar 2008 21:41:50 +0000</pubDate>
 <dc:creator>Jack Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1229220 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>To the above, add &quot;&amp;amp;&quot; to</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-can-i-show-html-code-a-web-page#comment-1229218</link>
    <description> &lt;p&gt;To the above, add &quot;&amp;amp;amp;&quot; to replace any ampersand (&amp;amp;).&lt;/p&gt;
 </description>
     <pubDate>Tue, 18 Mar 2008 20:43:56 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1229218 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>actually, use the the</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-can-i-show-html-code-a-web-page#comment-1229217</link>
    <description> &lt;p&gt;actually, use the the following:&lt;/p&gt;
&lt;p&gt;&amp;amp;lt; (less than, the left angle bracket)&lt;br /&gt;
&amp;amp;gt; (greater than, the right angle bracket)&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Tue, 18 Mar 2008 16:19:11 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1229217 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>yep, there is. In stead of</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-can-i-show-html-code-a-web-page#comment-1229213</link>
    <description> &lt;p&gt;yep, there is. In stead of typing&lt;br /&gt;
&lt;code&gt;&amp;#039;&amp;lt;tag&amp;gt;&amp;#039;&lt;/code&gt;, you type &lt;code&gt;&amp;#039;&amp;amp; #60;tag&amp;amp; #62;&amp;#039;&lt;/code&gt;, without the spaces&lt;/p&gt;
 </description>
     <pubDate>Tue, 18 Mar 2008 14:33:15 +0000</pubDate>
 <dc:creator>Jack Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1229213 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
