Skip to content

Commit

Permalink
Update HTML Line-Wrapping examples
Browse files Browse the repository at this point in the history
Replaces the examples in the HTML Line-Wrapping recommendation to include child elements.
  • Loading branch information
tonyruscoe authored May 5, 2022
1 parent 2eb7e16 commit 992ad03
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions htmlcssguide.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,24 +451,27 @@ <h4 id="HTML_Line-Wrapping" class="numbered">HTML Line-Wrapping</h4>
additional spaces from the original line to distinguish wrapped attributes from
child elements.</p>

<pre><code class="language-html good">&lt;md-progress-circular md-mode="indeterminate" class="md-accent"
ng-show="ctrl.loading" md-diameter="35"&gt;
&lt;/md-progress-circular&gt;
</code></pre>

<pre><code class="language-html good">&lt;md-progress-circular
md-mode="indeterminate"
class="md-accent"
ng-show="ctrl.loading"
md-diameter="35"&gt;
&lt;/md-progress-circular&gt;
</code></pre>

<pre><code class="language-html good">&lt;md-progress-circular md-mode="indeterminate"
class="md-accent"
ng-show="ctrl.loading"
md-diameter="35"&gt;
&lt;/md-progress-circular&gt;
<pre><code class="language-html good">&lt;button mat-icon-button color="primary" class="menu-button"
(click)="openMenu()"&gt;
&lt;mat-icon&gt;menu&lt;/mat-icon&gt;
&lt;/button&gt;
</code></pre>

<pre><code class="language-html good">&lt;button
mat-icon-button
color="primary"
class="menu-button"
(click)="openMenu()"&gt;
&lt;mat-icon&gt;menu&lt;/mat-icon&gt;
&lt;/button&gt;
</code></pre>

<pre><code class="language-html good">&lt;button mat-icon-button
color="primary"
class="menu-button"
(click)="openMenu()"&gt;
&lt;mat-icon&gt;menu&lt;/mat-icon&gt;
&lt;/button&gt;
</code></pre>

<h4 id="HTML_Quotation_Marks" class="numbered">HTML Quotation Marks</h4>
Expand Down

0 comments on commit 992ad03

Please sign in to comment.