html/sections

This commit is contained in:
Marc Beninca 2025-01-24 14:52:14 +01:00
parent eb4f44ac8d
commit c5d3340691
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -2,31 +2,49 @@
<html> <html>
<head> <head>
<title>Title.</title> <title>Title.</title>
</head> </head>
<body> <body>
<header>
Header.
</header>
<main>
<!-- Comment. --> <!-- Comment. -->
<h1>Root heading</h1> <h1>Root heading</h1>
<!-- sections -->
<p>A paragraph.</p> <p>A paragraph.</p>
<section>
<h2>A Heading</h2> <h2>A Heading</h2>
<ol>Ordered: <ol>Ordered:
<li>Some item</li> <li>Some item</li>
<li>Another item</li> <li>Another item</li>
</ol> </ol>
<p>Another paragraph.</p> <p>Another paragraph.</p>
</section>
<section>
<h2>Another Heading</h2> <h2>Another Heading</h2>
<ul>Unordered: <ul>Unordered:
<li>Some item</li> <li>Some item</li>
<li>Another item</li> <li>Another item</li>
</ul> </ul>
<time>Time.</time> <time>Time.</time>
</section>
<footer>Footer.</footer> </main>
<footer>
Footer.
</footer>
</body> </body>