Answer the question
In order to leave comments, you need to log in
How to add an attribute to html tag?
Good afternoon!
I want to add an attribute to the tag, how can I do it using python?
<td class="highlight-grey" colspan="1" data-highlight-colour="grey">\n
<p><strong>Требование- преемник</strong>
<br />(возможно несколько значений)</p>
</td>\n
<td colspan="4">
<br /> вместо него надо добавить ссылку
</td>
<td class="highlight-grey" colspan="1" data-highlight-colour="grey">\n
<p><strong>Требование- преемник</strong>
<br />(возможно несколько значений)</p>
</td>\n
<td colspan="4" class='confluenceTd'> <a href='тут ссылка'>qwe123<a/>
</td>
Это - "<td colspan="4">" превратить в это - "<td colspan="4" class='confluenceTd'>".
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question