How To Show HTML TEXT in Blogger Posts

As many visitors ask how to embed html text in a way that it is displayed as it is in the published post and also their visitors can copy the content, so here's a way to do that quite easily:

The main problem that bloggers face is that, typing/pasting the html code in either Edit html or Compose sections during posting a blog entry is that, after publishing they dont find the code, rather the code lines are simply missing from their original place.

The reason for this to occur is that if you try to type the HTML as it is (example
), the web browser will interpret that as an instruction to display what follows in a new line (line break) but not display the HTML.

What you can do is:

change the "<" symbol with &lt; , and also the symbol ">" with &gt; , but as to do all this manually is quite difficult, so you can use this website tool for simply converting the html code into embeddable text:

Now you can copy this embeddable text to your blog post.

0 comments:

Post a Comment

 

Support By Blogger