attribute determines the
hr element’s height in
This code places a ten-pixel-high red horizontal rule after the paragraph:
<p>And with that the actress and the bishop apologized for being a real-life, walking-cliché ending to a non-existent joke.</p> <hr color="red" size="10"/> <div id="footer">© All content copyright 2008. Even the unfunny stuff.</div>
Figure 1 shows a rule that’s 30 pixels high.
This attribute takes as its value a number wrapped in quotes (which is understood and rendered as pixels on screen—there’s no need to specify unit of measurement, as we saw in the example above).
size attribute is well supported, but as a
deprecated (presentational) attribute, it should not be