You find or develop code for blogger, javascript, PHP, CSS, HTML, etc., and want to share it with your readers. Yet, when they copy and paste the code to use, it won’t work. They poke and punch the code but it won’t work.
The posting about making HTML code appear in the blog posting and to do that, you have to change the character orders from HTML code with certain notation. The characters that are often used as seen below:
Characters | Notation (Name Code) | Notation (Number Code) | Remarks |
< | < | < | less-than sign |
> | > | > | greater-than sign |
& | & | & | and |
" | " | " | Double quote |
± | ± | ± | Plus minus sign |
Space | |   | nonbreaking space |
© | © | © | copyright |
® | ® | ® | Registered |
In order to make you understand, I will give you a sample. For example, in the posting you want to writes like below;
Copy and paste the code below:
<b:if cond='data:blog.pageType == "item"'> <style>.fullpost{display:inline;}</style> <p><data:post.body/></p> <b:else/> <style>.fullpost{display:none;}</style> <p><data:post.body/> <a expr:href='data:post.url'><strong>Read more...</strong></a></p> </b:if>
In your posting, if you want to post it like that, then you can’t write it like that because the posting of the code won’t appear. But, the effects of the code you write will appear. What should we do than? As I write in the table, you have to change the characters of order with thenotation replacement. So, you must write in the post like below;
But you can use some tool convert code automatic very simple and fast
code before use tool
and after
0 comments:
Post a Comment