What is the difference between adding translation in these two ways:
<div class="row" translate="{{::'newvisitormodal-bannerimage'}}">
<div class="row">{{::'newvisitormodal-bannerimage' | translate}}</div>
And how to used first approach in case of placeholder like this:
<input id="txtresetPassword" type="password" placeholder="{{::'reset-password-enternewpassword' | translate}}" >