Is using icons in p tags is correct? [closed]

Is the position of <i> tag have to be in <p> tag or out of it? For example:

<p><i>home icon</i>Home</p> 

or:

<i>home icon</i><p>Home</p> 

Which one is correct?