lesser-equity

Magazine
Go Back   Computer Juice > Computer Software > Web Design, Hosting & SEO

Register


Default HTML Noparse Tags ??

I'm trying to display a link on my blog in HTML. What </> tags are used to make it not parse into a web link? <a title="Visit evilfantasy's blog" href="http://evilfantasy.wordpress.com/">evilfantasy's blog</a>...


Reply
 
Thread Tools
  #1  
Old 18th Feb 2009, 12:59
Moderator Group
 
Skill Level: Advanced
Posts: 7,136
Default HTML Noparse Tags ??

I'm trying to display a link on my blog in HTML. What </> tags are used to make it not parse into a web link?

<a title="Visit evilfantasy's blog" href="http://evilfantasy.wordpress.com/">evilfantasy's blog</a>
__________________

  #2  
Old 18th Feb 2009, 15:56
Moderator Group
 
Skill Level: Advanced
Posts: 2,915
Default HTML Noparse Tags ??

Replace < with &lt;

Replace > with &gt;

Then enclose it in a <pre> and </pre> tag.

So,


[html]<pre>&lt;a title="Visit evilfantasy's blog" href="http://evilfantasy.wordpress.com/"&gt;evilfantasy's blog&lt;/a&gt;</pre>[/html]And a live demo:

http://public.server2.swanmoor.co.uk...arsedhtml.html

Sorry I got a bit carried away here. And I wanted to test it.

I don't think you need the <pre> tag, but it keeps it to standards, and would allow you to format it with a selector if necessary.
__________________
serverguy

__________________

My System: Eclipse

Processor(s):
Intel C2D E7200 OC'd @ 3.6Ghz
Motherboard:
Asus P5Q Pro
RAM Memory:
OCZ 8GB 800Mhz
Graphics Card(s):
Saphire Radeon 4850
Sound Card:
Onboard
Hard Drive(s):
Vast
Optical Drive(s):
Sony al cheapo one.
Case / PSU:
Antec Three Hundred
Cooling:
Arctic Cooler 7 Pro, 3 case fans.
Network / Internet:
Titan ADSL
Monitor(s):
Dual 19" LCD
Operating System(s):
XP SP3
  #3  
Old 18th Feb 2009, 16:03
Moderator Group
 
Skill Level: Advanced
Posts: 7,136
Default HTML Noparse Tags ??

The problem with that is it doesn't parse into a link when copied.pasted. It just stays non parsed.

<a title="Visit evilfantasy's blog" href="http://evilfantasy. wordpress.com/">evilfantasy's blog</a>
__________________

  #4  
Old 18th Feb 2009, 16:16
Moderator Group
 
Skill Level: Advanced
Posts: 2,915
Default HTML Noparse Tags ??

Sorry mate but I'm confused as to what you want to do. :S

As far as I can tell when you copy and paste what I did above it is a HTML link?
__________________
serverguy

  #5  
Old 18th Feb 2009, 16:21
Moderator Group
 
Skill Level: Advanced
Posts: 7,136
Default HTML Noparse Tags ??

When I use this:

<pre><a title="Visit evilfantasy's blog" href="http://evilfantasy.wordpress.com/">evilfantasy's blog</a></pre>

It comes out rightn not parsed. But when you copy/paste the HTML into a web page it stays as HTML instead of parsing into a link.

I want a user to be able to copy it and paste it onto their page and it comes out as a link. Wordpress is a pain when it comes to some things. This being one of those things. It's all HTML or nothing. No ascii or javascript. Only html.
__________________

  #6  
Old 18th Feb 2009, 16:41
Moderator Group
 
Skill Level: Advanced
Posts: 2,915
Default HTML Noparse Tags ??

Oh I see it is because WP is parsing it as well in it's own way.

Here we go:
http://www.anirbanroy.info/wordpress...ess-blog-post/
__________________
serverguy

Reply

Donate

Register

Bookmarks

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Webdesign <div> tag? Ryan C Web Design, Hosting & SEO 4 5th Jan 2009 07:17
MP3 player doesn't recognise ID3 tags. Coolyxxx Sound, Speakers & MP3 Players 4 25th Oct 2008 15:47
Question about html oobrokensilence Web Design, Hosting & SEO 5 20th Jun 2008 13:58
HTML Editors megabyte Web Design, Hosting & SEO 11 21st Apr 2008 15:01
Html help with form. oobrokensilence Web Design, Hosting & SEO 5 19th Feb 2008 16:12
Thread Tools




Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish Ukrainian

Copyright ©2006 - 2009 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2009 Jelsoft Enterprises Ltd. SEO by vBSEO ©2009, Crawlability, Inc.