When I create a hyperlink from my ESP32 server, its underlined when displayed on my iPad.
I tried adding text-decoration:none to the following section of my program that creates the links but it doesn't work, not sure why.
Any help would be appreciated
Thanks.
for (y = 0; y < i; y++) {
client.print("<a href='" style="text-decoration:none)"; // create hyperlink
client.print(y); // subpage to 192.168.1.100
client.print("'>");
client.print(titlesbuffer[y]);
client.print("</a><br><br>");
If you send a hyperlink to your iPad , it will display it as such .
Why do you want to send a hyperlink and not display it as such ?
The answer is not to send a hyperlink !
modified code above with text-decoration but can't seem to get it to compile
compilation error: expected ')' before 'style'
Need the hyperlinks but the underline can be removed just not figuring out the format
tried this
client.print("<a style="text-decoration: none;" href='");
get error Compilation error: unable to find string literal operator 'operator""text' with 'const char [10]', 'unsigned int' arguments
client.print("<a style=text-decoration: none href='");
compiles but doesn't do anything
If this should be done for severals links on one page, consider to style the anchor globally.
And PLEASE do what you get asked for. If someone asks you to post the HTML - post the HTML. This increases the chance that you get back a working example.