SWLE
Link exchange

Support - Ask here - How to post a link on short notes

chora - Tue Jan 06, 2009 9:56 pm
Post subject: How to post a link on short notes
Hi,

I'm trying to put a link from this forum in my short notes but i doesn't pass on html check.

Code:
<a href=http://yarold.eu/phpBB2/viewtopic.php?p=36522#36522>Check here</a>


Where am i wrong?

Best Regards,
chora

Tsai - Tue Jan 06, 2009 10:25 pm

Put the link between '

Code:
<a href='http://yarold.eu/phpBB2/viewtopic.php?p=36522#36522'>Check here</a>

70Chevelle - Wed Jan 07, 2009 1:50 am

Tsai wrote:
Put the link between '

Code:
<a href='http://yarold.eu/phpBB2/viewtopic.php?p=36522#36522'>Check here</a>


I thought it was " not '

such as
Code:
<a href="http://yarold.eu/phpBB2/viewtopic.php?p=36522#36522">Check here</a>

chora - Wed Jan 07, 2009 2:16 am

Tsai and 70Chevelle, thank you very much!
Now it's working! :mrgreen:

Ferrari - Wed Jan 07, 2009 7:31 am

70Chevelle wrote :I thought it was " not '

both work, but witch one is right I don't know

tinnidawg - Wed Jan 07, 2009 11:50 am

Generally people use double quotes. And if you want the link to open in another window or tab

just add target="_blank" to the tag

like this
Code:
<a href="http://yarold.eu/phpBB2/viewtopic.php?p=36522#36522" target="_blank">Check Here!</a>

Tsai - Wed Jan 07, 2009 5:22 pm

70Chevelle wrote:
I thought it was " not '

Ferrari wrote:
both work, but witch one is right I don't know

tinnidawg wrote:
Generally people use double quotes.


You can enter double quotes ", since Yarold will automatically replace them by single quotes '
(when you use double quotes, refresh your profile page after clicking the update button, you can check that for yourself)
so why not do it right from the start and use single quotes ' :wink:

Sci - Thu Jan 08, 2009 6:14 am

Just had to point out
" = quotation mark
' = apostrophe
and either are entirely valid though ' is most commonly used

jennielynn - Thu Jan 08, 2009 3:15 pm

I think that you usually see single quotes because in programming, double quotes are used for printing text, and you can't have quotes within quotes or it ends the printed text. So many web applications, print the HTML, and have to have the attributes in single quotes.

And you're correct, it's an apostrophe, when it's used within a word (or at the end of a word), but it's a single quote when it's used to surround something, I believe.

--- Not trying to say you're wrong or anything, I'm agreeing, and giving more info. ;)


Powered by phpBB modified by Przemo © 2003 phpBB Group