What type of HTML does the Ethernet use?

Hello i was wondering IF just basic HTML the Ethernet can display on the Webserver page. Or can it handle a little more by using Javascript and Json?

Joseph

Ethernet is a transport layer.
HTML is a data layer.
The two are completely independent of each other.

You have to be concrete about what you are trying to achieve here.
Are you intending to run an Arduino based web server with a Ethernet network connection and are wondering if this combination imposes any restrictions on the content of the html pages which can be served to browser clients?

As wvmarle pointed out, you're confusing terms (and layers).

josephchrzempiec:
Or can it handle a little more by using Javascript and Json?

A server does not care what it delivers to the client. Javascript is just additional content to deliver. JSON is a data structure. While a server can deliver it, it can also be used as a way to pass data back.

Of course, it is true that if you use an Arduino as a web client using for example the HTTP GET method, and the web page that the URL returns contains java script, JSON formatted data that is dynamically created client side or anything else that would normally be executed client side in the browser say using the document object model, then that client side scripting would not be executed on the Arduino.

The OP was not very clear and it could just be that this is what he meant.

Hello sorry i have not responded back fast enough i was in dealing with work and high blood pressure problems.
But I'm also sorry for not saying what is my project about.

In a nut shell I'm build LCD display That i would like to bring some Javascript functions to work through the Ethernet module. To be honest I'm not even sure where this is going to do or taking me. I'm just at the moment trying to figure everything out. Right now just trying to ask questions. I wasn't sure if i need the Webserver to do any of this or Just functions of the Ethernet shield.

That's way too much of a nutshell.

What are you trying to do exactly, and where does the javascript come in?

Hello you are right the nut shell is big enough as they say LOL
But i have a few images that are hosting on my website that use Javascript for the Animation function. I can display the Image in the Arduino and to the LCD but not sure howto get the Javascript to work at all. The javascript makes the image move 360 degree's for viewing.

That won't work. Arduinos don't have the processing power nor the memory to do anything like that. Try a Raspberry Pi.

The board I'm using is the Arduino M0 pro. Which i have already displayed 15 images with no problem. And also no Showing of being slow.

When i want to display images in a html code with my Arduino i convert them to URI format which i can then just store in the flash or a sd card its read by all browsers fine, i also recommended making use of the html scaling feature so if you have images that are like 1000px by 1000px resize them to 100px and then use the html code to rescale it back up thus saving loads of memory and data to send.

A super easy way i make an image into a web based URI is upload your image to the web on any server or google then right click the image and open open in a new tab then right click and view source and click the source tab then in the left menu list you will see the image name click that and it will show the base64 code which is the URI code you want. you then just call it like a html link to an image.

Hello KawasakiZx10r thank you for that. But that is one of my problem. I can post the image fine on the screen I just can not get Javascript to work because it needs Javascript for the animation to make the image work correctly.

I have quite an understanding of JS Ajax Curl PHP HTML CSS and Cisco networking and so on show me you html code with the JS, as said the JS is just served by the master once the host then catches it i.e. your computer and then does what ever so in short there is no reason that JS would not work its just how your formatting it to be sent by you C++ code, have you got the browser debugging open what errors you getting ? have you tried just making a default version of this webpage in notepad++ and ran it to confirm it works before converting it to be sent via C++ ?

Hello when i get back to my laptop i will upload some code thank you