Hi, I'm programming an Arduino Uno+WiFi shield for a browser client: so Arduino is producing the html page via client.print(...).
Can I include an .html file from internet? This code I'm using doesn't work. The page is blank.
<div w3-include-html='http://www.personalsite.it/utility/LED_RGB/content.html'></div>
Well, I get a 404 error with that link, so the page really is blank.
That is an example url. The real one is ok, I think the problem is the “include” mode. Maybe it’s not supportet or permitted.
I'm trying with javascript:
<head>[...]
<script src='https://www.w3schools.com/lib/w3.js'></script>
[...]</head>
<body>[...]
<div w3-include-html='http://www.sito_esempio.it/utility/LED_RGB/content.html'></div>
<script language='JavaScript' type='text/javascript'>w3.includeHTML();</script>
[...] </body>
but it doesn't work. Maybe I can't use Javascript? Or connect with internet?