<html>
<head><meta http-equiv="content-security-policy" content="script-src 'none'">
<style>
input:focus {
background-color: yellow;
}
</style>
</head>
<body>
<form action="../action_page.php" method="get">
Имя: <input type="text" name="fname"><br>
Фамилия: <input type="text" name="lname"><br>
<input type="submit" value="Отправить">
</form>
</body>
</html>