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???
4 Respuestas
+ 3
Alfredo Perez
Explain in more detail what exactly you can't do with the <code> tag? 😕
+ 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>
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
0
You are awesooome!!!
Thank you very very much Vasiliy !!!!!!