Explanation:
<h2>hi dude 15 Alignment, font styles, and horizontal rules</h2><h2>Contents</h2><h2 /><h2>Formatting</h2><h2>Background color</h2><h2>Alignment</h2><h2>Floating objects</h2><h2>Float an object</h2><h2>Float text around an object</h2><h2>Fonts</h2><h2>Font style elements: the TT, I, B, BIG, SMALL, STRIKE, S, and U elements</h2><h2>Font modifier elements: FONT and BASEFONT</h2><h2>Rules: the HR element</h2><h2>This section of the specification discusses some HTML elements and attributes that may be used for visual formatting of elements. Many of them are deprecated.</h2><h2 /><h2>15.1 Formatting</h2><h2>15.1.1 Background color</h2><h2>Attribute definitions</h2><h2 /><h2>bgcolor = color [CI]</h2><h2>Deprecated. This attribute sets the background color for the document body or table cells.</h2><h2>This attribute sets the background color of the canvas for the document body (the BODY element) or for tables (the TABLE, TR, TH, and TD elements). Additional attributes for specifying text color can be used with the BODY element.</h2><h2 /><h2>This attribute has been deprecated in favor of style sheets for specifying background color information.</h2><h2 />
15.1.2 Alignment
<h3>It is possible to align block elements (tables, images, objects, paragraphs, etc.) on the canvas with the align element. Although this attribute may be set for many HTML elements, its range of possible values sometimes differs from element to element. Here we only discuss the meaning of the align attribute for text.</h3><h2 /><h2>Attribute definitions</h2><h2 /><h2>align = left|center|right|justify [CI]</h2><h3>Deprecated. This attribute specifies the horizontal alignment of its element with respect to the surrounding context. Possible values:</h3>
left: text lines are rendered flush left.
center: text lines are centered.
right: text lines are rendered flush right.
justify: text lines are justified to both margins.
The default depends on the base text direction. For left to right text, the default is align=left, while for right to left text, the default is align=right.