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 <br/>), 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 , and also the symbol “>” with , 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:
converts special HTML characters to their entities version inside user entered data such as a TEXTAREA before the
form is submitted. Specifically:
- ‘<‘ becomes ‘<’
- ‘>’ becomes ‘>’
- ‘”‘ (double quote) becomes ‘"’
- ”’ (single quote) becomes ‘'’
- ‘&’ becomes ‘&’
This helps prevent potentially harmful or disruptive HTML tags from being posted to your
form.
NOTE: After copying and pasting the converted text please remember to change these code snippets from the the overall code : and (starting and ending code letters) with these <blockquote> and </blockquote>