I have tried every possible question here on stackoverflow but unable to resolve this issue ...
HTML doesn't have an 'include' mechanism - I'm not sure where you've seen these solutions on StackOverflow. You've probably been looking at answers for a server side language such as PHP or ASP.
You do have the following options for 'pure' HTML where you only have static pages and JavaScript:
See my answer here for sample code and more details (and also a caveat about SEO if that matters to you).