Important differences between textContent and innerText

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 12

  • @RaghavendraMorisetty-ze6uu
    @RaghavendraMorisetty-ze6uu 8 месяцев назад

    Thanks...after seeing so many videos at last your video made me clear

  • @Icode2395
    @Icode2395 11 месяцев назад +1

    Thanks A Lot For Your Clear Explaination.

  • @MarkAngeloTorres-s8g
    @MarkAngeloTorres-s8g Год назад +2

    thanks steve

  • @ajithmoni1712
    @ajithmoni1712 Год назад +1

    Thank you very much. This was really useful

  • @lonniesmith8093
    @lonniesmith8093 Год назад +1

    Great explanation!

  • @anasouardini
    @anasouardini Год назад

    Hmm, I can't find your channel on odysee!!
    Good content BTW.

  • @QaisZayed.work90
    @QaisZayed.work90 6 месяцев назад

    textContent shows the element in the page or console if its hidden by Css display: none; , but innerText doesnt . so how u saying it doesnt shown on textContent Feature??

  • @Konstantin19877
    @Konstantin19877 Год назад

    Thanks

  • @devstefancho
    @devstefancho Год назад

    Thanks, If I understand right, innerText is a better option for navigator.writeText to copy contents same as what user see in web page.

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  Год назад +1

      Probably. My point is just to be aware that there is a difference and consider how it impacts what you are building.

  • @romeojoseph766
    @romeojoseph766 Год назад

    I am in!

  • @Wakkyguy
    @Wakkyguy Год назад

    👏🏻 👏🏻 👏🏻