Stuck in positioning elements
Hi friends I wrote this code but I couldn't position my elements I need help I want to position them on same line at the top but am stuck. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> div { width: 34px; height: 6px; margin: 5px 0px ; background-color:black ; } #joggers { Width: 100%; height: 38px; background-color: yellow ; text-align:center ; Padding-top: 15px ; } </style> </head> <body> <!-- the menu icon--> <div></div> <div></div> <div></div> <!--the header text--> <div id="joggers" ><strong>joggers </strong></div> <!-- this is the login button--> <p style = "background-color: black; color:white; border-radius:30px; padding: 2px 10px 2px 10px; margin:10px 290px 10px 20px;" > <strong>login<strong></p> </body> </html>