HTML代码
<html dir="rtl">
<p>hello (world)</p>
</html>
Run Code Online (Sandbox Code Playgroud)
你会看到这样的页面:
(hello (world
Run Code Online (Sandbox Code Playgroud)
但是,如果我将html代码更改为
<html dir="rtl">
<p>hello (world) again</p>
</html>
Run Code Online (Sandbox Code Playgroud)
然后文本正常显示:
hello (world) again
Run Code Online (Sandbox Code Playgroud)
有谁能解释为什么会这样?如何解决第一个例子?
我的浏览器是chrome