It only matters in specific cases.
hr is a self closing tag. Just like br, img, etc.
In html the closing slash is optional.
You can use <hr> and <hr />. TinyMCE and JCE are both right.
Though I believe <hr> is the correct syntax.
Browsers ignore the closing / if it is used.
In xhtml a closing slash is necessary.
Simple explanation:
https://www.tutorialstonight.com/self-c ... gs-in-html
More technical:
https://developer.mozilla.org/en-US/doc ... id_element
hr is a self closing tag. Just like br, img, etc.
In html the closing slash is optional.
You can use <hr> and <hr />. TinyMCE and JCE are both right.
Though I believe <hr> is the correct syntax.
Browsers ignore the closing / if it is used.
In xhtml a closing slash is necessary.
Simple explanation:
https://www.tutorialstonight.com/self-c ... gs-in-html
More technical:
https://developer.mozilla.org/en-US/doc ... id_element
Statistics: Posted by Mr. Wimpy — Mon Sep 02, 2024 2:41 pm