Subscribe:

Ads 468x60px

Saturday, August 4, 2012

How to add HTML Code in Website or Blogs



How to add HTML Code in Website or Blogs

Long back, I came across a doubt about how to add html/xhtml or other markup tags as it is in any blog or website. because web browser by default interpret it as normal tag and render it as normal html form(we want in text form). There are few methods.

Method 1)

Go to this free website Simplebits.com
In the "Enter Markup" textbox enter the html code which you want to see as it is in text form in your website/blog. Click Process. You will find in "Cut n Paste" textbox similar code (with converstion of  < as "& lt;"  > as "& gt;" new-line as <br/>). Paste this in your blog/website.



That's Done ! 


Method 2)


  1. Browse to https://gist.github.com/
  2. Add a Gist Description (optional)
  3. Add a filename with an extension (extension will be used to add syntax highlighting for .java, .html, .cpp etc )
  4. Add your code snippet which need to be added to your blog post
  5. Click “Create Public Gist” button
  6. Click on the “embed” link and copy the script generated.
This is all from Gist side. Now to Blogger,

     7. Paste the script where you need to add the code snippet
     8. Make sure to select the option “Interpret typed HTML” under Post Options -> Compose Settings

Here is how an example html/java code looks like after this 8 Steps above,



That's Done !
[Please like/share/comment if you find it useful !]

43 comments:

  1. People on the student loans people. An overly-sensitive caveman that has nothing
    to do with the men dating from the Web sites. However, the
    Student Loans People is always harmful - it's been quite instructive in Jonathan's career.
    They are absolutely immersed in chat, Facebook, Gmail,
    Linked In updates by spoken word. In 2006, a poll conducted
    by the Office for National Statistics and published in August, 71 percent of 16 to 24-year-olds in the UK has a broader remit.


    Also visit my homepage; Private Student Loans for People

    ReplyDelete
  2. laser treatment rosacea La Habra Heights

    My homepage :: Millsap rosacea specialist

    ReplyDelete
  3. Well I sincerely enjoyed studying it. This tip procured by you is very constructive for correct planning.
    website design

    ReplyDelete
  4. Foods from the grocery store might last you all month, whereas
    the organic versions of those same foods at the health food store may only last you half
    the month. Gluten is the protein commonly found in Barley, Wheat
    and Rye. Instead of focusing on a futuristic goal such
    as losing 10 pounds, focus on what you are doing every day to become healthier.



    Also visit my weblog; gluten free wendy's

    ReplyDelete
  5. Unlocking is the process of utilizing different networks on your
    device. Aside from that the phone also lacks a video recorder.
    Also there are apps that are a must as they assist in the
    overall overall performance of the iPhone.

    Feel free to visit my web-site ... ifunbox (wiki.banished.pl)

    ReplyDelete
  6. I constantly spent my half an hour to read this blog's content daily
    along with a mug of coffee.

    Feel free to surf to my homepage ... Electronic cigarette
    (media.lyonopenlab.org)

    ReplyDelete
  7. Good blog post. I absolutely love this website. Thanks!



    Feel free to surf to my web site - Breitling Watches

    ReplyDelete
  8. Younger workers will 401k 2014 contribution max need his/her permission first.
    San Antonio and you will pay an income for the country should
    be. This depends a lot of good friends. This is an important decision that refuses to disclose visitor
    401k 2014 contribution max logs for the fund was most likely get
    back in their lives. One thing that we who employ you get everything you can utilize
    after retiring, he would detail his plan as well as some other services.
    40 ILCS 15/1 2008; 40 ILCS 5/14-132 emphasisadded.

    Take a look at my blog ... When Can You Take 401K Without Penalty

    ReplyDelete
  9. I have to thank you for the efforts you've put in writing this site.

    I'm hoping to view the same high-grade content
    from you in the future as well. In fact, your creative writing abilities has motivated me to get my own blog now ;)

    Look into my site; dummy monitor plug

    ReplyDelete
  10. It's in fact very difficult in this full of activity life to listen news on TV, therefore I simply use world
    wide web for that purpose, and obtain the latest news.


    Here is my web-site; Générateur De Code PSN Gratuit

    ReplyDelete
  11. I every time used to study pece of writing in news papers but now as I am a user of internet
    thus from now I am using net for posts, thanks to web.


    Here is my webpage ... tick and flea treatment for dogs

    ReplyDelete
  12. hello there and thank you for your info – I've definitely picked up something new from right here.
    I did however expertise some technical points using this site, as I
    experienced to reload the website a lot of times previous to I could get it
    to load correctly. I had been wondering if your web host is OK?
    Not that I'm complaining, but sluggish loading instances times will very frequently affect your placement in google and can damage your high quality score if
    ads and marketing with Adwords. Well I am adding this
    RSS to my e-mail and can look out for a lot more of your respective intriguing content.

    Make sure you update this again soon.

    Feel free to visit my web blog sbobet link

    ReplyDelete
  13. Thank you for every other informative website. Where else could I am getting that kind of information written in such an ideal approach?
    I've a venture that I'm just now working on, and I've been at the
    glance out for such information.

    Stop by my webpage underwear size chart fruit of the loom

    ReplyDelete
  14. Interesting blog. It would be great if you can provide more details about web designing. Thanks you sharing us.....
    Web design & Web development in India

    ReplyDelete
  15. Hi I like your blog. Its simply good. Thank for the sharing with us..keep posting….!

    Seo Company in India & Top Seo Company in India

    ReplyDelete
  16. this was important blog but same information about web designing is missing from here to know about web designingvisit here

    ReplyDelete
  17. Valuable information and excellent design you got here! I would like to thank you for sharing your thoughts and time with us!Contact Us For more details.

    Website Development Company Delhi

    ReplyDelete
  18. A simple but quite an effective code to work with ...thanks for a great post.

    ReplyDelete
  19. It is very informative. You have given a fresh outlook on the topic. I would definitely share this on other platforms as well.
    To make your car battery last long, really long, you can buy online amaron battery at best price in jaipur that matches your vehicle and your requirements.

    ReplyDelete
  20. Nice Blog! Knowledgeable post you have shared. Thank you for sharing. Keep sharing On.

    Application Development

    ReplyDelete
  21. was very impressed by this post, this site has always been pleasant news. Thank you very much for such an interesting post.
    Web design company in chennai
    Web development company in chennai

    ReplyDelete
  22. nice blog for beginners.thank you.
    web programming tutorial
    welookups

    ReplyDelete
  23. This is really a great piece of information. Great work Om Sao. For learning more about Web Designing in Lucknow you can walk in to Web Designing Training in Lucknow
    to get the best hands on training in Lucknow.

    ReplyDelete
  24. You have done a great job. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site.
    https://designeroutletsales.com/

    ReplyDelete
  25. Hello, i am glad to read the whole content of this blog and am very excited and happy to say that the webmaster has done a very good job here to put all the information content and information at one place. More info please visit :-
    Top IT Company in Delhi NCR.
    Web Development Company in Delhi NCR
    Magento Web Development Delhi NCR
    PHP Web Development Company Delhi NCR
    Static Website Development Delhi NCR
    Dynamic Website Development in Delhi NCR

    ReplyDelete
  26. Bowie set about (Michael Kors Outlet Online) conserving drifts began to allow 1977. Bowie doesn carry official method educating truthfully (Coach Outlet Online) delivers gone (Ray Ban Outlet Store) by as time goes by to function on drifts in incorporate a well known parades of fat tuesday concerning Rex, Orpheus, Endymion and as well as Zulu. Paying attention to music out (New Jordan Releases 2020) of her paint spattered earphones outfit has a resemblance to fitzgibbons a protecting Pollock (Coach Outlet Store Online) uses Bowie the style and design (Cheap Yeezys For Sale) appears the krewe to their with glides to illegal copies greater it on a machine.

    Williams opened up the (Coach Outlet Clearance Sale) degeneration for Rhyner long (Yeezy Boost 350 Cheap) time post about the Ticket's The Hardline consistant getting some shut-eye moreover substance operate. On the dismissive cure for Williams due to trail

    ReplyDelete
  27. Hey! Amazing work. If you are searching for genuine QuickBooks Customer Service Number dial 1-855-756-1077 for immediate help.

    ReplyDelete
  28. I am genuinely thankful to the holder of this web page who has shared this wonderful paragraph at at this place.Keep posted regularly.If you face any type of problem or error using QuickBooks, contact:QuickBooks Support phone numberanytime For best solution.

    ReplyDelete
  29. I just added this site to my google reader, excellent stuff. Cannot get enough! allbarefootrunninggenuine

    ReplyDelete
  30. Thanks for sharing superb information. Your web-site is very cool. I’m impressed by the info that you’ve on this website. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for more articles. expert-fiscal

    ReplyDelete