![JSX](/sites/default/files/styles/large/public/2021-09/Picture%201.png?itok=IJLGNrEZ)
ReactJS example to show how it is safe to use JSX.
<html lang="en">
<script src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/babel-standalone@6.15.0/babel.min.js"></script>
<head>
<meta charset="UTF-8">
<title>React Demo</title>
</head>
<body>
<script type="text/babel">
const myDiv="<div>This is test Div</div>";
const element=<div>{myDiv}</div>;
ReactDOM.render(
element,
document.body
);
</script>
</body>
</html>