Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Browser Side
/
HTML
7:14 am May 1, 2026
This page requires javascript.
Forum Moderators:
open
Message Too Old, No Replies
Embedding non-compiled js or html in page
jason_m
Msg#:4204902
5:40 pm on Sep 21, 2010
(gmt 0)
hello,
i would like the ability to embed code in my blog posts. what is the commonly used object for this that does not compile contents?
please excuse if compile is not the correct word, but it best demonstrates my end goal.
lammert
Msg#:4205150
7:14 am on Sep 22, 2010
(gmt 0)
If you don't want compiled code, maybe plain JavaScript is the right option? We have a specialized forum on JavaScript here: [
webmasterworld.com
...]
futureX
Msg#:4205245
12:26 pm on Sep 22, 2010
(gmt 0)
I assume what you mean is that you want to post HTML code in your blog to see but not be parsed as part of the page? So you can show code to others.
If this is the case are you using a CMS like Wordpress, a lot of the CMS packages out there already have a built in way to do this like [code][/code].
Personally I don't use any kind of technique but instead just use the html code for angle brackets, so the body tag would look like this:
<body>
I've never thought about it before but there's probably a script out there to do it too :)
EDIT: In fact, have a look here: [
webmasterworld.com
...]
jason_m
Msg#:4205819
2:26 pm on Sep 23, 2010
(gmt 0)
@futureX
thanks. i think i am definitely going to go with the < etc functionality. seems to be the best option.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Apr
,
Mar
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
April 2026 Google Search Observations
what do they want?
SEO question
I need some SEO help
Hello again, it's been a while
Do you get tired of others copying your content?
iPhone Safari 26.4.1 errors: IPv4 & Host
5 SEO Tips That Actually Worked for My Blog in 2026
AdSense Earnings and Observations - April 2026
Home
Forums Index
Browser Side
/
HTML
7:14 am May 1, 2026