Open url contents on click of a tab in same tab pane

I am a beginner in web development. I am working on a small project which needs to open a url(something like http://192.168.1.107:8080) content on click of a tab, in the same tab pane. The mentioned url is a client, which displays some runtime data(eg: temperature) continuously.

I could find some code snippets on creating tabs, but I’m keen to get this specific requirement working.

I would appreciate any code snippets, links or information on displaying a url data in same tab pane please.

thanks