Aha~ when you know how... its actually very simple
All the code can not be just copy and paste on the post, it will consider as function. What you need to do is, to convert the code into escaped code, so that it can be show as "Text"
Then... how to convert to "escaped code" ?
Just that simple... All the codes will be displayed nicely on your post~
Read this blog for more...
Display HTML / JavaScript code in Blogger - How to
All the code can not be just copy and paste on the post, it will consider as function. What you need to do is, to convert the code into escaped code, so that it can be show as "Text"
Then... how to convert to "escaped code" ?
- Got to this site ---> Text -> HTML Entities Encoder
- There are two boxes, copy your code into first box (Source Text), the escaped code will be generated in the next one.
- Copy the generated escaped code, and paste it on your post.
Just that simple... All the codes will be displayed nicely on your post~
Read this blog for more...
Display HTML / JavaScript code in Blogger - How to
全站熱搜
留言列表