【发布时间】:2015-05-14 07:17:17
【问题描述】:
您好,我有代码,我在文本区域内编写代码以获得如下格式。但我的问题是文本格式正确,以及如何在文本区域内放置相同的文本格式。
<input type="textarea">
<P align = center>
<B>About Salman Khan </B>
</P>
<P align = left>Salman Khan (pronunciation born Abdul Rashid Salim Salman Khan on 27 December 1965)[5] is an INDIAN film actor and producer. He is cited in the media as one of the most commercially successful actors of Hindi cinema.
</P>
<P>
<ul>
<li>Undertake our tasks and activities in utmost good faith, objectivity, transparency, competence, due care and professionalism.</li>
<li>Abide by the highest standards of politeness and good conduct.</li>
</ul>
</P>
</input>
【问题讨论】:
-
<input type=textarea>不存在。使用<textarea>。但是你不能;不能在里面格式化文本。 -
搜索所见即所得的编辑器
-
尝试使用contenteditable div
-
这是一个有效的标签 ?我认为代码是错误的......