Baseline Widely available
text
㯠HTMLAnchorElement
ã®ããããã£ã§ãè¦ç´ å
ã®ããã¹ãã表ãã¾ãã ãã®ããããã£ã¯ Node.textContent
ã¨åãæ
å ±ã表ãã¾ãã
æååã§ãã
ä¾<a id="exampleLink" href="https://example.com">Example Link</a>
<p class="text"></p>
#exampleLink {
font-size: 1.5rem;
}
const anchorElement = document.getElementById("exampleLink");
const pTag = document.querySelector(".text");
pTag.textContent = `Text property: ${anchorElement.text}`;
çµæ 仿§æ¸ ãã©ã¦ã¶ã¼ã®äºææ§ é¢é£æ
å ±
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