如何用Beautifull Soup替换数据

时间:2017-11-20 06:27:40

标签: html replace

我有一些带有下一个数据的HTML:



<body>

<p>Select
<select></select>
</p>

</body>
&#13;
&#13;
&#13;

我必须与之合作 沃尔沃

请帮帮我!

2 个答案:

答案 0 :(得分:0)

Here is documentation for select tag in Russian

In english

&#13;
&#13;
<body>

<p>Select
<select name="car">
  <option id="1">Volvo</option>
  <option id="2">Lada</option>
  <option id="3">Volga</option>
</select>
</p>

</body>
&#13;
&#13;
&#13;

答案 1 :(得分:0)

&#13;
&#13;
<body>

<p>Select
    <select>
       <option value="volvo">Volvo</option>
    </select>
</p>

</body>
&#13;
&#13;
&#13; 你去吧!