我有很长的HTML行.我试着转过身:
<code><othercode>
Run Code Online (Sandbox Code Playgroud)
成
<code><
othercode>
Run Code Online (Sandbox Code Playgroud)
但它打破了HTML,我试过:
<code>
<othercode>
Run Code Online (Sandbox Code Playgroud)
但它在图像之间留出了空间.在python中,你可以在行尾添加一个'\'.HTML中有类似的东西吗?
谢谢.
Chr*_*ell 11
您不能将标记(<)的开头与标记标识符(在本例中为"othercode")分开.所以这不起作用:
<code><
othercode params=...>
Run Code Online (Sandbox Code Playgroud)
但这会:
<code><othercode
params=...>
Run Code Online (Sandbox Code Playgroud)
希望有所帮助.