HTML5 Server data

I'm an ASP developer trying to understand how HTML5 gets data to display.
With ASP.NET you run server code to query a database and fill a data grid and display it.

If I'm using HTML5 how do I get data in my (SQL Server) database into a HTML5 table or grid?
Do I have to have an API on the server and read JSON data from the API or does HTML5 have functions to read directly from a SQL server database?
105881Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
No, HTML5 is still HTML and only displays data in the web browser.  You still use ASP to get and deliver the data.  ASP.NET unfortunately does a lot to hide the fact that you are populating an HTML page but that is what you are doing.  Browsers only display HTML no matter which version it is.

To see what I'm talking about, take a simple ASP.NET page and compare the ASP source code and the source code you see in the browser using "View Source".

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
105881Author Commented:
I have an HTML page and want to add a SQL server data table to the page. So I still need an ASP or PHP server page to supply the SQL data to the HTML page?
105881Author Commented:
Thanks I understand now.
Dave BaldwinFixer of ProblemsCommented:
You're welcome, glad to help.  Server side code with ASP or PHP is still needed to generate the HTML code from the SQL data.  Even techniques like AJAX depend on a server program to deliver the data to the page.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JSON

From novice to tech pro — start learning today.