file.html:
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>Hey</title>
</head>
<body>
<div class='element'></div>
</body>
</html>
Python code:
html = '<div id="child">Hello</div>
I want to embed the html in the Python code into the html file inside the div with class "element". How can I achieve this?