diff --git a/htmlcssguide.html b/htmlcssguide.html index 96a88c3..ab961e2 100644 --- a/htmlcssguide.html +++ b/htmlcssguide.html @@ -447,9 +447,19 @@ instead of an error.)
While there is no column limit recommendation for HTML, you may consider wrapping long lines if it significantly improves readability.
-When line-wrapping, each continuation line should be indented at least 4 -additional spaces from the original line to distinguish wrapped attributes from -child elements.
+When line-wrapping, each continuation line should be indented to distinguish +wrapped attributes from child elements. Lines should be wrapped consistently +within a project, ideally enforced by automated code formatting tools.
+ +<button
+ mat-icon-button
+ color="primary"
+ class="menu-button"
+ (click)="openMenu()"
+>
+ <mat-icon>menu</mat-icon>
+</button>
+
<button mat-icon-button color="primary" class="menu-button"
(click)="openMenu()">