Baseline Widely available
ìì½í ì¤í¸ ë ¸ë를 ìì±í©ëë¤.
문ë²í
ì¤í¸ = document.createTextNode(ë°ì´í°);
매ê°ë³ì
í
ì¤í¸
ìì±ë í
ì¤í¸ ë
¸ëì
ëë¤.ë°ì´í°
í
ì¤í¸ ë
¸ëì ì°ì¬ì§ë 문ìì´ì
ëë¤.<html>
<head>
<title>createTextNode ìì </title>
<script type="text/javascript">
function addTextNode() {
var newtext = document.createTextNode(" ëì ì¼ë¡ ì¶ê°ëë í
ì¤í¸. ");
var para = document.getElementById("p1");
para.appendChild(newtext);
}
</script>
</head>
<body>
<div style="border: 1px solid red">
<p id="p1">ë¨ë½ì 첫ë²ì§¸ ì¤.<br /></p>
</div>
<br />
<button onclick="addTextNode();">TextNode ì¶ê°í기.</button>
</body>
</html>
ê·ì½
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4