示例
<!DOCTYPE html> <html> <body> <p>This is demo text from left-to-right.</p> <p dir = "rtl">This is demo text from right-to-left.</p> </body> </html>
以上就是我们如何在HTML中为元素中的内容设置文本方向?的详细内容,更多请关注编程之家其它相关文章!
示例
<!DOCTYPE html> <html> <body> <p>This is demo text from left-to-right.</p> <p dir = "rtl">This is demo text from right-to-left.</p> </body> </html>
以上就是我们如何在HTML中为元素中的内容设置文本方向?的详细内容,更多请关注编程之家其它相关文章!