Skip to main content

How to Insert HTML-CSS-Javascript Codes in Blogger Posts As Plain Text


Dear readers,

Putting a code in blogger HTML can be pain staking , but here is a simple way to go about it. Lets get it started.

This post is for those that are using blogger platform, and want to insert HTML, JavaScript and CSS source codes in your posts.  I am sure a lot of bloggers are facing this problem. I myself didn't find it easy at first, but with much practice I got it.


You try to insert Html code or JavaScript in Blogger posts you will either get an error message or by chance if your post is published then it will not give the desirable result's which was expected .You can use HTML Encoders but they will never give an attractive look to your codes.

How To Insert HTML, CSS, JavaScripts Codes in Blogger Posts? This is one of a most common question which arrives in users minds. It has been a biggest headache for many Blogger (Blogspot) users.

Still many Blogspot users are unable to discover why they cannot display HTML coding as plain text in there posts.

So today I will show you how you can easily insert any HTML coding in you Blogger Posts. We will insert all of our HTML codes in a Stylish Box which will make our coding look different from the all other text present in our post.

Here is an Example of how you code will look like 

Insert CSS Style Sheet in Blogger Template:

First we will insert the CSS style Sheet to stylize our quote box.

Go to Blogger >> Your Blog >> Template >> EDIT HTML >> Proceed

And now Search For  ]]></b:skin>
 With (CTRL+F)
After you find  ]]></b:skin> just above it paste the following coding

.post blockquote {
background: #C8EFFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiazgpqT3RVYwuthENc8cQXPKxUl3Q_xlAd83LDtnv4UMBJunopyPbRYAKjUkIyB_eohEcNfPwFkid8AAdJ3PvFp19IlMGVgxLBrM1RS3Podif3OGlHz1jTJjpqKLnELhOiVXjmp13sCSU/s1600/1.png);
background-position:top left;
background-repeat:repeat-y;
margin: 0 20px;
padding: 10px 20px 10px 45px;
border-top: 2px solid #DDD;
border-right: 5px solid #666;
border-left: 2px solid #DDD;
border-bottom: 5px solid #666;
font-size: 0.9em;
}
.post blockquote p {
margin: 0;
padding: 0 0 15px;
}
.blockquote {
font: 18px normal  sans-serif,Tahoma;
padding-top: 10px;
margin: 5px;
text-indent: 65px;
}
.blockquote div {
display: block;
padding-bottom:10px;
}
.blockquote p {
margin: 0;
padding-top:10px;
}
Now After pasting the above code save your template by pressing Save Template Button

Inserting HTML, CSS or JavaScript Coding in Blogger Post as Plain Text:

Now in order to display the HTML, CSS or JavaScript coding in your Blogger post we'll use a blogger tool called "QUOTE". This tool is available in your Blogger Post Editor which will make your HTML Coding appear as plain text,

First Go To Blogger >> Your Blog >> Create a New Post >>

Now Just paste the HTML, CSS or JavaScript coding in the Blogger Post editor

Now Select the HTML, CSS or JavaScript coding which you pasted previously.

Now After Selecting the HTML, CSS, or JavaScript coding just Press the "QUOTE" button Which is at the

"Top Right" of you "Blogger Post Editor Tool Bar" Remember: Press the Button only once.

And Now go to your blog post and it will give a picture perfect finish. So that's how you can Display HTML, CSS or JavaScript coding in Blogger Posts. You can also use this "QUOTE" Tools to highlight important quotations.If you Feel any Difficulties feel free to ask.Till then Peace, Blessing and happy Quoting.

Comments

Popular posts from this blog

Naughty Nicki Minaj sends fans into a frenzy as she teases a glimpse of her bare breasts under sheer top in VERY racy selfie

  She's no stranger to raunchy displays.

What do you know about "Rihanna" and why she is trending on twitter today?

Rihanna is a Barbadian singer, actress, fashion designer, businesswoman, and philanthropist. She is known for her versatile music, which ranges from Caribbean-inspired dancehall to R&B and pop. She has won nine Grammy Awards, 12 Billboard Music Awards, and 22 American Music Awards. Rihanna is also a successful businesswoman. She is the founder of the Fenty Beauty cosmetics line and the Fenty Skin skincare line. She is also the co-owner of the Savage x Fenty lingerie line. Rihanna is trending on Twitter today because she promoted her Fenty Beauty brand during the Super Bowl halftime show. She also posted a photo of herself on Instagram with her baby bump, which has sparked a lot of excitement among her fans. Here are some of the tweets about Rihanna that are trending on Twitter: "Rihanna promoting Fenty Beauty during the Super Bowl halftime show is everything!" "Rihanna's baby bump is so cute!" "Rihanna is an inspiration to us all." "Rihanna is...

PHILOSOPHY AND GOALS OF EDUCATION IN NIGERIA

1. A nation’s policy on education is government’s way of realizing that part of the national goals which can achieve, using education as a tool. No policy on education, however, can be formulated without first identifying the overall philosophy and goals of the nation. 2. The overall philosophy of Nigeria is to: (a) live in unity and harmony as one indivisible, indissoluble, democratic and sovereign nation founded on the principal of freedom, equally and justice; Promote inter-African solidarity and world peace through understanding. 3 The five main national goals of Nigeria, which have been endorsed as the necessary foundation for the National Policy on education, are the building of;- (a) a free and, democratic society; (b) a just egalitarian society; (c) a united, strong and self-reliant nations; (d) a great and dynamic economy; (e) a land full of bright opportunities for all citizens. 4. In Nigeria’s philosophy of Education, we believe that:- education is an instrument for natio...