Title here
Summary here
<button></button>
The <button>
element represents a clickable button that can be used to submit forms or trigger actions on the webpage. It can contain text, images, or other HTML elements.
<button type="submit">Submit</button>
<button type="button" onclick="alert('Hello!')">Click Me!</button>
<select> <option> </option> </select>
The <select>
element creates a drop-down list that allows users to choose one or more options. Each option within the list is defined using the <option>
element.
<label for="weather">Select the weather type today:</label>
<select id="weather">
<option value="">--Make a Choice--</option>
<option value="sunny">Sunny</option>
<option value="rainy">Rainy</option>
<option value="snowing">Snowing</option>
<option value="overcast">Overcast</option>
</select>
<option>
with value=""
is a placeholder that prompts users to make a selection.for
attribute in the <label>
element links it to the <select>
element, enhancing accessibility.