HTML alone cannot connect to a database. What you need to do is research server-side web programming languages. There are both scripting and compiled languages. The most popular at the moment is PHP, and Daniweb has a nice PHP forum. The other current contender is ASP.NET from Microsoft, and we have an ASP.NET forum as well.
Welcome to the forum.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
What is an "offline web page"? Of course one can link a page to a database, by means of a program running on the server written in a server-side programming language. The program will connect to the database, perform the queries and logic, and emit an HTML document.
HTML is a declarative syntax for describing a document. A "document" is a static thing - it is NOT a dynamic entity that can interact with a database. HTML is interpreted by a browser, which has strict rules for what it can and cannot do on a user system.
Also, it is client-side technology, so an HTML document cannot interact with anything on the server.
If you want a web program that interacts with a database, you need to use a server-side programming language, such as PHP, ASP, ColdFusion, ASP.NET, or Java. I recommend PHP.
There is no way to answer a question such as "how hard would it be". I find it quite simple. Others struggle to learn PHP. Some already know SQL, others don't know how to pronounce "SQL".
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37