After adding <span> tag, the text disappears
P粉226642568
2023-08-13 19:16:16
<p>I am a newbie in learning Html to design email templates. I need to add text in front of the symbol and make sure the text stays aligned on the next line. I'm using the <li> tag to properly align the text after the symbol. But for some reason it doesn't seem to work. </p>
<p>After adding the <li> tag, the text does not display, it disappears. If I remove <li>, the text reappears. I'm not sure what the cause of this behavior is. Any help is greatly appreciated. Thanks in advance. </p>
<pre class="brush:php;toolbar:false;"><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Browser</title>
</head>
<div class="b opaf v" style=font-size:0;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%>
<table cellpadding=0 style=border:none;vertical-align:top width=100%>
<tr>
<td align=left class=x style=font-size:0;word-break:break-word>
<div style=text-align:left>
<p style=margin:0;text-align:left><span style=font-size:12px;font-family:Arial,sans-serif;font-weight:400;color:#54565b;line-height :14px><span style=color:inherit;font-weight:inherit;font-family:inherit;font-size:65%;vertical-align:4px;line-height:0>§</ span> ;
</span>
</p>
</div>
</td>
</tr>
</table>
</div>
<script src="script.js"></script>
</body>
</html></pre>
I think some basic HTML structure is not followed. I believe this is the desired output.