Home > OS >  how to make html webpage a part of website
how to make html webpage a part of website

Time:11-02

I've just created my own website with my own domain with IONOS.

On the side, I had created a webpage which was hosted using XAMP, so currently to view my webpage I have to use the URL http://localhost/project1/index.html#

However, I'd like to integrate it into my website if possible?

For example have a section on my webpage where I show a thumbnail of the webpage and when clicked it takes me to www.mywebsite.co.uk/project1

I'm not sure how to go about this though?

CodePudding user response:

You can use Iframe. See Html Standard and w3schools for more detail about it.

like:

<iframe src="https://www.w3schools.com" title="W3Schools Free Online Web Tutorials"></iframe>

CodePudding user response:

The <iframe> tag specifies an inline frame. An inline frame is used to embed another document within the current HTML document.

<iframe src="www.mywebsite.co.uk/project1" title="My HTML Page"></iframe>
  • Related