+ 2

How to write code as output???

https://code.sololearn.com/W6ex7rqoMU7N/?ref=app write it down how to!

5th Oct 2017, 12:23 PM
(BøɍƝ ťọ̄ Ćọɗë)
(BøɍƝ ťọ̄ Ćọɗë) - avatar
8 Respostas
+ 1
u can put ur code between xmp tag.
5th Oct 2017, 1:06 PM
Saeed Soltani
Saeed Soltani - avatar
+ 2
If you're saying that you want to present a fragment of HTML as code in an HTML page (for example) with <code>tag, then you need to "escape" the HTML tags so that the web client doesn't attempt to parse them. To do this, you should use the entity &gt;for the greater-than angle bracket, and &lt; for the less-than bracket
5th Oct 2017, 1:44 PM
Saeed Soltani
Saeed Soltani - avatar
+ 1
#saeed soltani thanks bro but what is <code> use for??? as i have seen through challange questions!
5th Oct 2017, 1:39 PM
(BøɍƝ ťọ̄ Ćọɗë)
(BøɍƝ ťọ̄ Ćọɗë) - avatar
+ 1
auhm!? didn't understand that! .
5th Oct 2017, 1:55 PM
(BøɍƝ ťọ̄ Ćọɗë)
(BøɍƝ ťọ̄ Ćọɗë) - avatar
+ 1
i want to show my ful written code from <!doctype html to </html> at end! on output screen or at user's screen then how do i? i know we can see code by developing tool ->console but i just want codes as output
5th Oct 2017, 1:56 PM
(BøɍƝ ťọ̄ Ćọɗë)
(BøɍƝ ťọ̄ Ćọɗë) - avatar
5th Oct 2017, 1:08 PM
Saeed Soltani
Saeed Soltani - avatar
0
so whats problem in here?
8th Oct 2017, 12:05 AM
(BøɍƝ ťọ̄ Ćọɗë)
(BøɍƝ ťọ̄ Ćọɗë) - avatar