Quote:
Originally Posted by Brett Merkey
To be clear however, when using the horizontal rule to do that job, it is best to keep things simple and not bother combining it with the pseudo-element technique.
|
HTML elements and CSS styling are two different things.
The proper HTML element to create a thematic breaks is
hr. Assistive technologies will understand that. If you use a
p or a
div, AT may try to read it (if 'content' is present).
As for styling, you can decide. On most (all?) browsers and reading systems, if no CSS is applied, then you have a horizontal rule for the
hr element. But you can style it differently, without loosing the correct semantic.