![]() |
|
|||||||
|
|
|
|
|
|
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>...
|
![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
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
|
||||||||||||
|
||||||||||||
|
Replace < with <
Replace > with > Then enclose it in a <pre> and </pre> tag. So, [html]<pre><a title="Visit evilfantasy's blog" href="http://evilfantasy.wordpress.com/">evilfantasy's blog</a></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
|
|
#3
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 |
![]() |
|
| 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 | |
|
|