how we connect the database(oracle) with html
You're going to need a program which runs on the server. That program will communicate with the database and output HTML to the browser. Usually, these programs are written in some form of template language such as PHP or ASP.NET, but you need support for these on the web server in order to use it, and you'll also need drivers for the database in whichever language you choose. There are other options as well, say Java servlets or JSP running on a Tomcat web-server. How to do it in practice is WAY out of scope for this question, but please, ask again if there's a more specific problem you're facing.
Sorry.
HTML, is a markup language which is readable for browser only.
We need database connection in order to communicate with the database from our server and for that we need a Server Side language similar to PHP, ASP.NET which after processing the database and other operations, at the end also gives a HTML output to the client's browser.
So It is Impossible.
I suggest:
- Read what is HTML/CSS
- Databases, DataBase Connection
- server side vs client side scripting
You will get your answer, if you are trying to (java) query Oracle Database and trying to display the data in an html page, then you need JDBC, servlets, JSP.
And please, elaborate your question, try to be specific.