Skip to content

Commit 12ec8fa

Browse files
authored
docs(multiple): replace deprecated html tags (#27141)
1 parent 0ca16d5 commit 12ec8fa

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/components-examples/material/chips/chips-form-control/chips-form-control-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<button mat-raised-button (click)="formControl.enable()">Enable form control</button>
44
</div>
55
<p>
6-
<i>Enter video keywords</i>
6+
<em>Enter video keywords</em>
77
</p>
88
<mat-form-field class="example-form-field">
99
<mat-label>Video keywords</mat-label>

src/components-examples/material/dialog/dialog-overview/dialog-overview-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
<button mat-raised-button (click)="openDialog()">Pick one</button>
1010
</li>
1111
<li *ngIf="animal">
12-
You chose: <i>{{animal}}</i>
12+
You chose: <em>{{animal}}</em>
1313
</li>
1414
</ol>

src/components-examples/material/form-field/form-field-label/form-field-label-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<mat-option>-- None --</mat-option>
2929
<mat-option value="option">Option</mat-option>
3030
</mat-select>
31-
<mat-label><mat-icon>favorite</mat-icon> <b> Fancy</b> <i> label</i></mat-label>
31+
<mat-label><mat-icon>favorite</mat-icon> <b> Fancy</b> <em> label</em></mat-label>
3232
</mat-form-field>
3333
</div>
3434
</form>

src/dev-app/input/input-demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ <h4>Textarea</h4>
318318
I <mat-icon>favorite</mat-icon> <b>bold</b> label
319319
</mat-label>
320320
<mat-hint>
321-
I also <mat-icon>home</mat-icon> <i>italic</i> hint labels
321+
I also <mat-icon>home</mat-icon> <em>italic</em> hint labels
322322
</mat-hint>
323323
</mat-form-field>
324324
</p>

src/dev-app/legacy-input/legacy-input-demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ <h4>Textarea</h4>
278278
I <mat-icon>favorite</mat-icon> <b>bold</b> label
279279
</mat-label>
280280
<mat-hint>
281-
I also <mat-icon>home</mat-icon> <i>italic</i> hint labels
281+
I also <mat-icon>home</mat-icon> <em>italic</em> hint labels
282282
</mat-hint>
283283
</mat-form-field>
284284
</p>

src/dev-app/legacy-list/legacy-list-demo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,15 @@ <h2>Line alignment</h2>
187187
<mat-list>
188188
<mat-list-item *ngFor="let link of links">
189189
<span mat-line>{{ link.name }}</span>
190-
<span>Not in an <i>matLine</i></span>
190+
<span>Not in an <em>matLine</em></span>
191191
</mat-list-item>
192192
</mat-list>
193193

194194
<mat-selection-list>
195195
<mat-list-option value="first">First</mat-list-option>
196196
<mat-list-option value="second">
197197
<span matLine>Second</span>
198-
<span>Not in an <i>matLine</i></span>
198+
<span>Not in an <em>matLine</em></span>
199199
</mat-list-option>
200200
</mat-selection-list>
201201
</div>

0 commit comments

Comments
 (0)