+ 7

How can i display html code in webpage, without using<pre>, <textarea>and<code> tag...?

22nd Jul 2017, 8:32 AM
ⓢⓐⓣ
ⓢⓐⓣ - avatar
7 ответов
+ 9
<textarea>
22nd Jul 2017, 8:33 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 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
23rd Jul 2017, 2:39 PM
ⓢⓐⓣ
ⓢⓐⓣ - avatar
+ 3
only view the html code frnd..<textarea> contain edit option.also..
22nd Jul 2017, 8:42 AM
ⓢⓐⓣ
ⓢⓐⓣ - avatar
+ 3
sry frnd no... html have another solution(tag).
22nd Jul 2017, 9:12 AM
ⓢⓐⓣ
ⓢⓐⓣ - avatar
+ 3
<xmp></xmp> this tag best way to display html code..in web page..
23rd Jul 2017, 2:31 PM
ⓢⓐⓣ
ⓢⓐⓣ - avatar
+ 2
have never see it before. :(
23rd Jul 2017, 2:32 PM
Zar Ni Myo
Zar Ni Myo - avatar
+ 1
&amp;lt;html&amp;gt; &amp;lt;body&amp;gt; &nbsp;&nbsp; Do you mean something like this. &amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt; if your answer is yes then use special characters. &amp;lt; for less than &amp;gt; for greater than &amp;nbsp; for space &amp;copy; for copyright symbol and so on... [OR] <code></code>
22nd Jul 2017, 2:50 PM
Zar Ni Myo
Zar Ni Myo - avatar