For example, if i wanted to replace "mystring" with "myotherstring" in
<!DOCTYPE html>
<html>
<body>
<h1 id="mystring">mystring</h1>
<p>mystring</p>
<script>mystring javascript blah</script>
</body>
</html>
how could i only replace it in the <h1>
and <p>
tags with javascript, or can i do it without js?
mystring
` or stull like ` – Roko C. Buljan Sep 18 '22 at 10:12