How to perform the crud operation using html page and doctype

I am trying to insert and view (crud operation) in the doctype data in html page.

First of all,
I am creating the html page inside the templates folder. But the problem is See on website not visible in my doctype only View website is occur But i am clicking the view website its shows the inside page not my html page. So i am not viewing the page. for example (sitename/html file name) is not working.

Secondly i am trying to paste the html file in www folder so its working fine (sitename/html file name) the page is viewing perfectly. Now i am using py file inside the www. Here my doubt how to fetch the doctype fields value in the html page.

I need the crud operation any one help me.