How to insert images into the template in WordPress?

I want to recode my 1st template from html/css to wordpress but i don’t remember how to insert images in php

For example HTML:

<img src="img/imageOne.jpg">

And PHP?

You have to user wordpress function like this,

<img src="<?php echo get_template_directory_uri(); ?>/img/imageOne.jpg">

Check get_template_directory_uri() for more reference.

images add in WordPress template

<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/imageOne.jpg"/>