[Solved] Inline Html Elements
[ad_1] <!DOCTYPE html> <html> <body> <div>Text Here <button id=”button” style=”float: ‘right'”>Click Me!</button> </div> </body> </html> The code above works. You’ve missed the ”. Edited – added – It does work when you apply other styles, for instance: <html> <body> <div style=”color:blue;text-align:center; background-color:red”>Text Here <h1 style=”color:blue;text-align:center”>This is a header</h1> <button id=”button” style=”float: ‘right'”>Click Me!</button> </div> </body> … Read more