我有一个HTML内容,这是一个描述,我想用子串函数剪切它。但它显示错误。
这是我的HTML:
<span style="font-family: verdana; font-size: 13px; color: #000000;"><p><span style="font- family: verdana; font-size: 13px; color: #000000;">There's no need to sacrifice performance with a small system.<br /> <br /> Experience the eco-friendly Small Form Factor (SFF) desktop platform powered by the 2nd generation Intel® Core™ vPro™ processor family.<br /> <br /> The EVO DQ67, coupled with the latest Intel® Active Management Technology (Intel® AMT) 7.0, provides the unprecedented secured and seamless PC remote management in SFF platform, featuring the latest SuperSpeed USB 3.0, SATA 6 Gb/s technologies, and triple graphic port options.<br /> <br /> </span><span style="font-family: verdana; font-size: 13px; color: #000000;">Select from our range of pre configured sytems or tell us what you want and we will build you your own individul bespoke PC.</span></p>
答案 0 :(得分:0)
真的需要更多关于你如何做到这一点的细节。尝试使用反斜杠转义字符串中的引号,以便 style =“font-family:变为 style = \”font-family:。