This is electrophilic substitution reaction which is determine by electronic effect of \mathrm{OH}\{\mathrm{CH}}_{3}\{\mathrm{NO}}_{2}.
Electrophilic attacks in influence of activating group −OH so it is attached at para position with respect to −OH group.




