用html编码标签 [英] Encoding a tab in html

查看:80
本文介绍了用html编码标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在HTML文档中使用 对空格进行编码.制表符是否等效?

I can encode a space using   in an HTML document. Is there an equivalent for the tab character?

我正在尝试使用包含制表符的文本预加载<textarea>,但是我的CMS删除了HTML代码中存在的所有制表符.

I'm trying to preload a <textarea> with text that contains tabs, but my CMS removes any tab characters that exist in the HTML code.

推荐答案

在查看完您的编辑后,答案非常简单:&#9;:)

After reviewing your edit, the answer is very simply: &#9; :)

这篇关于用html编码标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆