Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just noticed the <hr /> tags. Are these for a semantic effect (can't think of what they'd add semantically, but I'm curious), or were they left there accidentally?
Comments
Comment #1
R2-D8 CreditAttribution: R2-D8 commented1) No, this is not an accident.
This is a new html5-option for better declaration of different contents/sections.
A google-search for the keywords "
html5 <hr />
" results in pages like:http://www.w3schools.com/html5/tag_hr.asp
http://html5doctor.com/small-hr-element/
Hint: Be aware converting old fashioned hr-tags when upgrading from html4 to html5 if they don't suite the new thinking. They could/should be replaced with some special styled div or span.
2) Maybe problematic seems the question "
<hr> or <hr />
"The theme actually uses
<hr />
but I've read that html5 shall recognize either html4- or xhtml-coding-standards. If that's true mixed up situations could be a problem but I'm totally unsure about this by now- will test<br>
.Comment #2
adamdicarlo CreditAttribution: adamdicarlo commentedAh, interesting! Thanks, R2-D8. I didn't think to Google that... couldn't imagine
had been brought back from the dead!