when i am using to show data using ourtputfield its not allowing to save the component file. error message is below
Failed to save MyContactComp.cmp: No COMPONENT named markup://lighting:outputfield found
<p class="slds-p-horizontal_small">
<aura:iteration items="{!v.contactList}" var="contact">
<lightning:recordViewForm recordId="{!contact.Id}" objectApiName="contact">
<div class="slds-box slds-theme_default">
<lighting:outputfield fieldName="Name" />
<lighting:outputfield fieldName="Phone" />
<lighting:outputfield fieldName="Email" />
</div>
</lightning:recordViewForm>
</aura:iteration>
</p>
and when i am using direct {!contact.Name} {!contact.Email} its showing data with bad formatting.