Advertisement
Jonny28

HTML Pages

Nov 15th, 2018
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.99 KB | None | 0 0
  1. Prakt6c
  2. -----------------------------------------------------------------------------------------------------------------------------
  3.  
  4. <header id="div_head">Praktikum zur Positionierung</header>
  5.        
  6.     <nav id="div_nav">
  7.             <ul type="none">
  8.                 <li><a href="prakt6a.html">Teil1.Aufgabenbeschreibung</a></li>
  9.                 <li><a href="prakt6b.html">Teil2.Projekte</a></li>
  10.                 <li><a href="pract6c.html">Teil3.Projektanmeldung</a></li>
  11.             </ul>
  12.         </nav>
  13.         <div id="main">
  14.             <form method="get">
  15.                 <fieldset>
  16.                     <legend>Neues Projekt</legend>
  17.                 <p><label for="name" class="lab">Name</label>
  18.                     <input type="text" placeholder="Bitte Name eingeben" class="inp"
  19.                           pattern="[A-Z][a-z]+">
  20.                 </p>
  21.                 <p><label for="vorn" class="lab">Vorname</label>
  22.                     <input type="text" class="inp" pattern="[A-Z][a-z]+">
  23.                 </p>
  24.                 </fieldset>
  25.                 <fieldset>
  26.                     <legend>Projektbeschreibung</legend>
  27.                     <p><label for="tit" class="lab">Titel</label>
  28.                         <input type="text" class="inp" pattern="[A-Z][a-z]+">
  29.                     </p>
  30.                     <p><label for="pro" class="lab">Beschreibung des Projekts</label>
  31.                         <textarea rows="5" class="area"></textarea>
  32.                     </p>
  33.                 </fieldset>
  34.                 <fieldset>
  35.                     <legend>Projektteilnehmer</legend>
  36.                     <p>
  37.                         <label for="teil" class="lab">Teilnehmer</label>
  38.                         Decker
  39.                         <input type="checkbox" name="Teilnehmer" value="ON" />
  40.                         Marker
  41.                         <input type="checkbox" name="Teilnehmer" value="ON" />
  42.                         Sebralla
  43.                         <input type="checkbox" name="Teilnehmer" value="ON" />
  44.                         Wittenzellner
  45.                         <input type="checkbox" name="Teilnehmer" value="ON" />
  46.                     </p>
  47.                 </fieldset>    
  48.                 <fieldset>
  49.                     <legend>Action</legend>
  50.                     <input type="submit" value="Projekt speichern" size="25">
  51.                     <input type="reset" value="Daten löschen" size="25">
  52.                 </fieldset>
  53.             </form>
  54.  
  55.         </div>
  56.         <footer id="div_foot">Status: ok</footer>
  57.  
  58.  
  59. CSS:
  60. -------------------------------------------------------------------------------------------------------------------------------
  61. #div_head{background-color: yellow;position: absolute;top:0px;height:100px;left:0px;right:0px; font-weight: bold}
  62. #div_nav{background-color: lightblue;
  63.          position: absolute; top:100px; bottom: 50px; left: 0px; width: 250px}
  64. #div_foot{background-color: yellow; position: absolute;bottom:0px;height:50px;left:0px;right:0px;}
  65. html, body {height: 100%}
  66. #main {background-color:lightgray; position:absolute; top:100px; bottom:50px; left:250px; right:0px}
  67. .haupt{font-weight: bold}
  68. .end{font-weight: bold}
  69. table{border-collapse: collapse;margin: 30px}
  70. th, td{height:30px}
  71. .proj{font-family: Verdana;font-size: 12pt;font-weight: bold;
  72.       margin-bottom:12px}
  73. nav ul ul{display: none}
  74. nav ul li:hover ul{display: block}
  75. .lab{float: left; width: 120px}
  76. .inp{width: 200px}
  77. .area{width: 370px}
  78.  
  79. Prakt6b
  80. ---------------------------------------------------------------------------------------------------------------------------------
  81.  
  82.         <header id="div_head">Praktikum zur Positionierung</header>
  83.        
  84.         <nav id="div_nav">
  85.             <ul type="none">
  86.                 <li><a href="prakt6a.html">Teil1.Aufgabenbeschreibung</a></li>
  87.                 <li><a href="prakt6b.html">Teil2.Projekte</a>
  88.                     <ul type="none" class="auf">
  89.                         <li>Projekt 1</li>
  90.                         <li>Projekt 2</li>
  91.                     </ul>
  92.                 </li>
  93.                 <li><a href="pract6c.html">Teil3.Projektanmeldung</a></li>
  94.         </ul>
  95.         </nav>
  96.         <div id="main">
  97.             <table border="1">
  98.                 <caption class="proj">Projekteinteilung in der B10a</caption>
  99.                 <thead>
  100.                     <tr>
  101.                         <th class="end">Projektbezeichnung</th>
  102.                         <th class="end">Name</th>
  103.                         <th class="end">Vorname</th>
  104.                     </tr>
  105.                 </thead>
  106.                 <tbody>
  107.                     <tr>
  108.                         <td rowspan="4">Projekt 1</td>
  109.                         <td>Bachmeier</td>
  110.                         <td>Michael</td>
  111.                     </tr>
  112.                     <tr>
  113.                         <td>Bergbauer</td>
  114.                         <td>Eva</td>
  115.                     </tr>
  116.                     <tr>
  117.                         <td>Gurtner</td>
  118.                         <td>Tobias</td>
  119.                     </tr>
  120.                     <tr>
  121.                         <td>Hopf</td>
  122.                         <td>Michael</td>
  123.                     </tr>
  124.                     <tr>
  125.                         <td rowspan="4">Project 2</td>
  126.                         <td>Muche</td>
  127.                         <td>Stefan</td>
  128.                     </tr>
  129.                     <tr>
  130.                         <td>Pledl</td>
  131.                         <td>Daneil</td>
  132.                     </tr>
  133.                     <tr>
  134.                         <td>Schreck</td>
  135.                         <td>Fabian</td>
  136.                     </tr>
  137.                     <tr>
  138.                         <td>Zaglauer</td>
  139.                         <td>Johannes</td>
  140.                     </tr>
  141.                     <tr>
  142.                         <td colspan="3" class="end">Ende der Tabelle</td>
  143.                     </tr>
  144.                 </tbody>
  145.             </table>
  146.         </div>
  147.         <footer id="div_foot">Status: ok</footer>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement