Saturday, November 24, 2012

Embed HTML codes in Blogger

Donno whether I have mentioned this issue before though I had did it in my previous posts...

How do you embed HTML codes in Blogger?

I like the simple and stupid method provided by SimpleCode.

Essentially, copy the code you want to embed into the "Enter Markup textbox and press the "Process" button.  The code you need will be shown in the "Cut n' Paste" textbox.  


One thing you need to remember is that, make sure you switch to the HTML view when pasting the converted codes into your blogpost....


Otherwise, you would still be looking at gibberish like this:


<code>
&lt;embed type="application/x-shockwave-flash" src="https://picasaweb.google.com/s/c/bin/slideshow.swf" width="400" height="267" flashvars="host=picasaweb.google.com&noautoplay=1&hl=en_US&feat=flashalbum&interval=1&RGB=0x000000&feed=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F117440132470710026818%2Falbumid%2F5814335340638005665%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"&gt;&lt;/embed&gt;
</code>



rather than what you intend to show...
<embed type="application/x-shockwave-flash" src="https://picasaweb.google.com/s/c/bin/slideshow.swf" width="400" height="267" flashvars="host=picasaweb.google.com&noautoplay=1&hl=en_US&feat=flashalbum&interval=1&RGB=0x000000&feed=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F117440132470710026818%2Falbumid%2F5814335340638005665%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>

to present the following:

Of course, you can also go more high tech and play with the blogger template itself by creating a new class to format your codes.

Yet, since I hardly encounter this issue, I am set with the simplecode method.

Bon Chance!

1 comment:

  1. If so, then you're not alone. Many people that use their smart phones to surf the internet are interested in knowing how they can gain access to the hidden web.
    You can visit our website: dark web linksYou can visit our website: dark web links

    ReplyDelete