docs(common): use <em> instead of <i> in examples (#44648)

Updated the html tag format from <i> to <em> in ts file. <em> tag helps to improve the code quality

PR Close #44648
This commit is contained in:
alkavats1
2022-01-07 00:43:25 +05:30
committed by Andrew Scott
parent de93b6e770
commit 277d2af007
2 changed files with 2 additions and 2 deletions
@@ -1,7 +1,7 @@
<!-- #docregion -->
<h2>Hero List</h2>
<p><i>Select a hero from the list to see details.</i></p>
<p><em>Select a hero from the list to see details.</em></p>
<ul>
<li *ngFor="let hero of heroes" (click)="selectHero(hero)">
{{hero.name}}
@@ -7,7 +7,7 @@ import { TaxRateService } from './tax-rate.service';
selector: 'app-sales-tax',
template: `
<h2>Sales Tax Calculator</h2>
<p><i>Enter a number and press enter to calculate tax.</i></p>
<p><em>Enter a number and press enter to calculate tax.</em></p>
<label for="amount-input">Amount: </label>
<input type="text" id="amount-input" #amountBox (change)="0">
<div *ngIf="amountBox.value">