Tried to show html codes, like button codes on your sites, but failed? Infact the codes turned to show the button rather than the codes, right? I usually use the following to display them
- It’s really simple… just replace;
< part with <
> part with >
- So, your codes which was something like these;
<img src=”something” alt=”">
…. will be like these instead;
<img src=”something” alt=”">
- And it’s always best to have them inside the <code> and <pre> tags… so it will look something like this;
<code>
<pre>
<img src=”x” alt=”">
</pre>
</code>
<pre>
<img src=”x” alt=”">
</pre>
</code>
- You can also customize the tag with CSS ;)
pre {
text-align: …;
padding-left: …;
width: …;
color: …;
background-color: …;
}
text-align: …;
padding-left: …;
width: …;
color: …;
background-color: …;
}
Comment?
»
Leave a comment
ajwa . Naj . Wawa . 26 . 











