Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/83.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何使用属性使标签可编辑_Html_Paragraph - Fatal编程技术网

Html 如何使用属性使标签可编辑

Html 如何使用属性使标签可编辑,html,paragraph,Html,Paragraph,我记得有一个属性,你可以设置为一个段落,使其可编辑。 我试图记住它是什么属性,但失败了 我必须指出的是,该属性并没有使标签成为输入,只是可以编辑其中的内容。您正在考虑的 <p contentEditable ></p> 如果您在Google上搜索p editable属性,则第一个结果实际上是正确的答案-1.

我记得有一个属性,你可以设置为一个段落,使其可编辑。 我试图记住它是什么属性,但失败了

我必须指出的是,该属性并没有使标签成为输入,只是可以编辑其中的内容。

您正在考虑的

<p contentEditable ></p>

如果您在Google上搜索p editable属性,则第一个结果实际上是正确的答案-1.