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

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