When opening HTML documents with HTML5-compliant linebreak tags (<br>, rather than XHTML-style <br \>, nothing is rendered after the tag - the document just ends there. Some quick HTML snippets as examples (as github doesn't allow HTML attachments):
Good:
<!DOCTYPE html>
<html lang="en">
<head>
<title>
XHTML-style breaks
</title>
</head>
<body>
Section 1
<br />
Section 2
<br />
Section 3
</body>
</html>
Bad:
<!DOCTYPE html>
<html lang="en">
<head>
<title>
HTML5-style breaks
</title>
</head>
<body>
Section 1
<br>
Section 2
<br>
Section 3
</body>
</html>
When opening HTML documents with HTML5-compliant linebreak tags (
<br>, rather than XHTML-style<br \>, nothing is rendered after the tag - the document just ends there. Some quick HTML snippets as examples (as github doesn't allow HTML attachments):Good:
Bad: