How to connect html to database with mysql without php

    how to create database connection in html
    how to connect database in html
    can html connect to database
    how to create database in html
  • How to create database connection in html
  • How to connect sql database to html web page using javascript

  • Database connection in php with mysql
  • Html database example
  • Database connection in php with mysql in xampp code
  • How to connect sql database to html web page
  • Html database example...

    HTML - Web SQL Database



    The Web SQL Database API isn't actually part of the HTML specification but it is a separate specification which introduces a set of APIs to manipulate client-side databases using SQL.

    I'm assuming you are a great web developer and if that is the case then no doubt, you would be well aware of SQL and RDBMS concepts.

    If you still want to have a session with SQL then, you can go through our SQL Tutorial.

    Web SQL Database will work in latest version of Safari, Chrome and Opera.

    The Core Methods

    There are following three core methods defined in the spec that I am going to cover in this tutorial −

    • openDatabase − This method creates the database object either using existing database or creating new one.

    • transaction − This method gives us the ability to control a transaction and performing either commit or rollback based on the situation.

    • executeSql − This method is used to execute actual SQL query.

    Opening Database

    The openDatabase method takes care of opening a database if it already exists, this method will c