0

Issue with the html <code> element.

How do I add a medium size segment of html code as text in a paragraph on my page???

14th Mar 2019, 11:50 PM
Jose Alfredo Cardenas Perez
Jose Alfredo Cardenas Perez - avatar
4 Antworten
+ 3
Alfredo Perez Explain in more detail what exactly you can't do with the <code> tag? 😕
15th Mar 2019, 1:00 AM
Solo
Solo - avatar
+ 2
Alfredo Perez As you can see, the <code> tag only changes the font, you need the <xmp> tag to solve this problem. <p>The <xmp><address>...</address></xmp> element is used to contain any address.</p> <p>And the code should be as following:</p> <xmp> <body> <address> 388A, Road No 22, Jubilee Hills - Hyderabad </address> </body> </xmp>
15th Mar 2019, 1:34 AM
Solo
Solo - avatar
0
I'm trying to build this little test Tech Page and I talk about coding with HTML so I want to put examples of code but haven't been able to. For example this code: https://code.sololearn.com/WvID5tU9344Q/?ref=app
15th Mar 2019, 1:20 AM
Jose Alfredo Cardenas Perez
Jose Alfredo Cardenas Perez - avatar
0
You are awesooome!!! Thank you very very much Vasiliy !!!!!!
18th Mar 2019, 1:42 AM
Jose Alfredo Cardenas Perez
Jose Alfredo Cardenas Perez - avatar