From 75f000923cb6b20aa9006223620c64da655776c4 Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Mon, 23 Mar 2026 15:50:33 +0100 Subject: [PATCH] Update deprecated margin attributes on body See https://github.com/whatwg/html/pull/11881 --- .../web/html/reference/elements/body/index.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/files/en-us/web/html/reference/elements/body/index.md b/files/en-us/web/html/reference/elements/body/index.md index d77283ea56bad0b..398c89621bfac1f 100644 --- a/files/en-us/web/html/reference/elements/body/index.md +++ b/files/en-us/web/html/reference/elements/body/index.md @@ -79,23 +79,21 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Reference/Glo - : Background color for the document. Use the CSS {{cssxref("background-color")}} property instead. - `bottommargin` {{deprecated_inline}} - - : The margin of the bottom of the body. - Use the CSS {{cssxref("margin-bottom")}} property (or the logical {{cssxref("margin-block-end")}} property) instead. + - : Ignored. - `leftmargin` {{deprecated_inline}} - - : The margin of the left of the body. - Use the CSS {{cssxref("margin-left")}} property (or the logical {{cssxref("margin-inline-start")}} property) instead. + - : The margin of the left and right of the body. + Use the CSS {{cssxref("margin-left")}} and {{cssxref("margin-right")}} properties (or the logical {{cssxref("margin-inline")}} property) instead. - `link` {{deprecated_inline}} - : Color of text for unvisited hypertext links. Use the CSS {{cssxref("color")}} property in conjunction with the {{cssxref(":link")}} pseudo-class instead. - `rightmargin` {{deprecated_inline}} - - : The margin of the right of the body. - Use the CSS {{cssxref("margin-right")}} property or the logical {{cssxref("margin-inline-end")}} property) instead. + - : Ignored. - `text` {{deprecated_inline}} - : Foreground color of text. Use the CSS {{cssxref("color")}} property instead. - `topmargin` {{deprecated_inline}} - - : The margin of the top of the body. - Use the CSS {{cssxref("margin-top")}} property (or the logical {{cssxref("margin-block-start")}} property) instead. + - : The margin of the top and bottom of the body. + Use the CSS {{cssxref("margin-top")}} and {{cssxref("margin-bottom")}} properties (or the logical {{cssxref("margin-block")}} property) instead. - `vlink` {{deprecated_inline}} - : Color of text for visited hypertext links. Use the CSS {{cssxref("color")}} property in conjunction with the {{cssxref(":visited")}} pseudo-class instead.