Can I simply add the react library to my html page using a script tag?

Where can I add the following code so it will be executed?

```
ReactDOM.render(
    <h1>Hello, worl151d!</h1>,
    document.getElementById('root')
);

```