Skip to content

Commit 1c15081

Browse files
committed
DOM
1 parent b813276 commit 1c15081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Notes/DOM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ For example: document.getElementById("myId") gets a node, and you can change its
5353
| `innerText` | Returns or sets the **visible text** of the element (CSS-aware). | ❌ No | ⚠️ Slower | ✅ Yes |
5454

5555

56-
- 💡 **Note:** `innerText` is affected by CSS styles (e.g., `display: none`), while `textContent` is not.
56+
> 💡 **Note:** `innerText` is affected by CSS styles (e.g., `display: none`), while `textContent` is not.
5757
5858
### 4. Changing Attributes
5959
- `title.setAttribute("class", "heading common");`

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy