我有一些 HTML,如:
<input type="radio" value="red" id="color" name="attribute_color">
<input type="radio" value="blue" id="color" name="attribute_color">
<input type="radio" value="green" id="color" name="attribute_color">
Run Code Online (Sandbox Code Playgroud)
如何在不添加任何 ID 或类的情况下定位不同的输入?我可以按价值定位吗?