use html5 elements (section, footer)
[sheet.git] / termcol.plp
index 4b9103288e5643c4910815c01b334c7948c37d37..ad6ae77836764c05b34f21c3241e2cf38c93fbe9 100644 (file)
@@ -18,7 +18,7 @@ use List::Util 'min';
 :>
 <h1>Terminal colours</h1>
 
 :>
 <h1>Terminal colours</h1>
 
-<div class="section">
+<section>
 <:
 sub luminance {
        # perceived brightness (using ITU-R recommendation 601 luma co-efficients)
 <:
 sub luminance {
        # perceived brightness (using ITU-R recommendation 601 luma co-efficients)
@@ -83,11 +83,11 @@ for my $term (qw/html cga xterm tango/) {
        }
        print "</table>\n\n";
 }
        }
        print "</table>\n\n";
 }
-:></div>
+:></section>
 
 <hr>
 
 
 <hr>
 
-<div class="section">
+<section>
 <h2>88-colour space</h2>
 <:
 for my $r (0 .. 3) {
 <h2>88-colour space</h2>
 <:
 for my $r (0 .. 3) {
@@ -107,11 +107,11 @@ print '<table><tr>';
 print colcell(80+$_, (($_ + 2 + ($_>0)) * 255/11) x 3) for 0 .. 7;
 print "</table>\n\n";
 
 print colcell(80+$_, (($_ + 2 + ($_>0)) * 255/11) x 3) for 0 .. 7;
 print "</table>\n\n";
 
-:></div>
+:></section>
 <: if ($ENV{PATH_INFO} =~ /256/) { :>
 <hr>
 
 <: if ($ENV{PATH_INFO} =~ /256/) { :>
 <hr>
 
-<div class="section">
+<section>
 <h2>256-colour space</h2>
 <:
 for my $r (0 .. 5) {
 <h2>256-colour space</h2>
 <:
 for my $r (0 .. 5) {
@@ -134,7 +134,7 @@ for my $row (0, 12) {
 }
 print "\n";
 
 }
 print "\n";
 
-:></div>
+:></section>
 <: } :>
 <hr>
 
 <: } :>
 <hr>