Nitric acid
..
:
..
H
O
O
O
N
:
:
..
..
Electron count of O is 6 (4 electrons from unshared pairs + half of 4 bonded electrons).
A neutral oxygen has 6 electrons.
Therefore, the formal charge of O is 0.
Formal charge of O