使用 <select> 元素时会提交哪些数据?

What data is submitted when using a <select> element?

我在联系表中有以下 <select>
"type" 是作为 <option> value 还是作为与之关联的文本传递给 mail.php

<select name="type" size="1">
    <option value="1">Select A Category</option>
    <option value="2">Questions</option>
    <option value="3">Report Problems</option>
    <option value="4">Suggestion</option>
    <option value="5">Other</option>
    <option value="6">Website Problem</option>
</select>

已提交 <option> 元素的 value 属性。
如果缺少该属性,则提交元素的文本内容。

<option> attributes @ MDN:

value
The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element.

另见 The option element @ w3:

The value attribute provides a value for element. The value of an option element is the value of the value attribute, if there is one, or the textContent of the element, if there isn't.

添加每一个看起来像这样

<option value="Questions">Questions</option>