我已经尝试了多种解决方案来解决这个问题,但无法弄清楚
我有以下 HTML:
<section id="content4" class="tab-content">
<p>
<div class="Text_Title">Product 1</div>
<div style="display: inline-block;">Red Ball<div></p>
<p>
<div class="Text_Title">Product 2</div>
<div style="display: inline-block;">Green Ball</div></p>
<p>
<div class="Text_Title">Product 3</div>
<div style="display: inline-block;">Yellow Ball</div></p>
我试图从DIV = Text_Title和中提取文本STYLE = display: inline-block;
我试图获得的输出:
Product 1 - Red Ball
Product 2 - Green Ball
Product 3 - Yellow Ball
慕运维8079593
相关分类