Difference between revisions of "Test verca 5"

From wiki
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!DOCTYPE html>
+
<form action="/action_page.php">
<html>
+
  <label for="cars">Choose a car:</label>
<head>
+
  <select name="cars" id="cars">
<style>
+
    <option value="volvo">Volvo</option>
code {
+
    <option value="saab">Saab</option>
  font-family: Consolas,"courier new";
+
    <option value="opel">Opel</option>
  color: crimson;
+
    <option value="audi">Audi</option>
  background-color: #f1f1f1;
+
  </select>
  padding: 2px;
+
  <br><br>
  font-size: 105%;
+
  <input type="submit" value="Submit">
}
+
</form>
</style>
 
</head>
 
<body>
 
 
 
<h1>The code element + CSS</h1>
 
 
 
<p>The HTML <code>button</code> tag defines a clickable button.</p>
 
<p>The CSS <code>background-color</code> property defines the background color of an element.</p>
 
 
 
</body>
 
</html>
 

Latest revision as of 10:59, 10 June 2022

<form action="/action_page.php">

 <label for="cars">Choose a car:</label>
 <select name="cars" id="cars">
   <option value="volvo">Volvo</option>
   <option value="saab">Saab</option>
   <option value="opel">Opel</option>
   <option value="audi">Audi</option>
 </select>
 

<input type="submit" value="Submit">

</form>