How to show HTML/Javascript codes in blogger version 2
Posted by
Blog Solution
Tuesday, December 20, 2011 at 3:58 AM
0
comments
Labels :
Follow this Step :
- Login to Blogger dashboard
- Go to Design Section
- Then select Edit HTML tab
- Ctrl + F search ]]> tag.
- Replace it with Bellow Code of section.
pre { background:#efefef; border:1px solid #A6B0BF; font-size:120%; line-height:100%; overflow:auto; padding:10px; color:#000000 } pre:hover { border:1px solid #efefef; } code { font-size:120%; text-align:left; margin:0;padding:0; color: #000000;} .clear { clear:both; overflow:hidden; }
Preview Image :
After you done it, click the "Preview" button to see if your blog shows or not. If everything’s okay, then click, "Save template".
While creating any Post, If you want to show the special Code in post that CSS code or JavaScript code, what ever may be , Go to Edit HTML tab in Post and create Div section and put your code in Div section like bellow and publish Your Post.
- Mode Edit HTML:
- Mode Compose :
Note:- Before Putting code, Make it Friendly to post Using these tools
Subscribe to:
Post Comments (Atom)