I want to display text and button on the same line, i have tried several ways, also i have searched through internet resources and also viewed many questions on the similar topic on stack overflow. Here is my code..

```
<!DOCTYPE html>
<html>
<body>
   <div>Text Here<button id="button" style="float:right">Click Me!</button></div>
</body>
</html>

```

Here is the Output of above written code:
![Here is the Output of above written code...](https://i.stack.imgur.com/a539j.png)