+ 7
How can i display html code in webpage, without using<pre>, <textarea>and<code> tag...?
7 ответов
+ 9
<textarea>
+ 5
It has been deprecated since HTML3.2 and was not implemented in a consistent way. It was completely removed from the language in HTML5.
link:https://developer.mozilla.org/en/docs/Web/HTML/Element/xmp
+ 3
only view the html code frnd..<textarea> contain edit option.also..
+ 3
sry frnd no... html have another solution(tag).
+ 3
<xmp></xmp> this tag best way to display html code..in web page..
+ 2
have never see it before. :(
+ 1
&lt;html&gt;
&lt;body&gt;
Do you mean something like this.
&lt;/body&gt;
&lt;/html&gt;
if your answer is yes then use special characters.
&lt; for less than
&gt; for greater than
&nbsp; for space
&copy; for copyright symbol and so on...
[OR]
<code></code>