0
<!DOCTYPE html>
<html>
    <body>
    <h1> Title: <span id="my-id"/></h1>
    </body>
</html> 

This works, but in firefox, page source, the </h1> is highlighted red. Am i doing something wrong? (I put the <span> with id inside the header because i want that part of the text to be edited by javascript).

0 Answers0