Is it possible to show a different html depending if I'm on a phone or a tablet?

im using ionic 3 and would like to know if it’s possible to show different views (html) depending if the user is using a tablet or a smartphone ? im not talking about a responsive html. but rather 2 differnts .html that can be rendered depending on which device I am on

can you explain more please ?

Whoops sorry, got notification on two posts at the same time. Here’s a better answer!

Use platform to check which platform youre on. Then show the page accordingly. But I wouldn’t use ngIf to display different html on the same page, because ngIf can get expensive. I’d send the user to a different copy of the web site, at the router level.