-->
Page 1 of 2

External link in HTML

PostPosted: Thu Oct 05, 2017 10:07 am
by potz
Hello,

Newbie problem...

The compiler say excepted ')' before http ?
Code: Select allclient.println("<i><a href="http://google.ch">google.ch</a></i><br>");


Thanks

Re: External link in HTML

PostPosted: Thu Oct 05, 2017 10:48 am
by andre_teprom
You have to add a scape character righ before the " symbol within argument, otherwhise compiler will expect the string closing structure (" ")

Re: External link in HTML

PostPosted: Sat Oct 07, 2017 7:53 pm
by QuickFix
What Andre means is this:
Code: Select allclient.println("<i><a href=\"http://google.ch\">google.ch</a></i><br>");

Re: External link in HTML

PostPosted: Tue Oct 10, 2017 6:55 am
by potz
Perfect!!!
Thanks a lot !!