Comment allez-vous obtenir toutes les balises correspondantes dans un fichier html javascript

// Storing all '<li>' tags in a variable (You can do it for id and class)
// eg: document.querySelectorAll('.user-wrapper');

const html_tags = document.querySelectorAll('li');

//For each tag of html_tags variable, do:
html_tags.forEach((tag) => { 
  console.log(tag.innerText); //Will print text inside tag
})
Julio Polycarpo