HTMLElement and its subinterfaces add what makes each tag useful from script: tables insert rows, selects expose options, form controls validate and videos play. Prefer these typed members to raw attributes and innerHTML.
HTMLElement and its subinterfaces add what makes each tag useful from script: tables insert rows, selects expose options, form controls validate and videos play. Prefer these typed members to raw attributes and innerHTML.