Search notes:

HTML element: legend

The <legend> specifies the caption (i.e. the legend) of a <fieldset>.
<!doctype html>
<html>
<head>
  <title>fieldset and legend</title>
</head>

<body>

  <form action="#">

    <fieldset>                         <!-- fieldset: draw a border               -->
      <legend>Enter your data</legend> <!-- legend: place a title onto the border -->

      <table summary="data panel">
        <tr><td>Value one: </td><td><input type="text" id='val_01'></td></tr>
        <tr><td>Value two  </td><td><input type="text" id='val_02'></td></tr>
        <tr><td>Value three</td><td><input type="text" id='val_02'></td></tr>

      </table>

    </fieldset>

  </form>

</body>
</html>
Github repository about-html, path: /tags/fieldset-legend.html
The html above is rendered like so:
Note the legend (»Enter your data«).

See also

HTML elements

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1745907937, '3.146.221.49', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/web/HTML/tags/legend(72): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78