title: Can I use href tag in reactjs?
body: <p>I want to redirect a page in reactjs and for that I want to use href tag can I do that?</p>
  
  <p>Here is the code for reference:</p>
  
  <pre><code>import React, { Component } from 'react';
  import { BrowserRouter as Router, Switch, Route, Link } from 'react-router-dom';
  
  // import DoctorImg from './doctor.jpg';
  
  class App extends Component {
    render() {
      return (
  &lt;Router&gt;
    &lt;Link to = 'https://google.com/'&gt;&lt;button&gt;GO GOOGLE&lt;/button&gt;&lt;/Link&gt;
  
  &lt;/Router&gt;
      );
    }
  }
  
  export default App;
  </code></pre>