Ask coding questions

← Back to all posts
How do I align these text? Any help is appreciate [HTML]
MatthewADev (18)

So I code in python mainly but I'm now learning html and I need help with aligning this.

Answered by ch1ck3n (2069) [earned 5 cycles]
View Answer
ch1ck3n (2069)
<!DOCTYPE html>
<link rel="shortcut icon" href="nova.favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="">
<link href="" rel="stylesheet">
<script src="script.js"></script>
 <h1 class='header'>Welcome to my website, Here are my socials! :D</h1>
  <p class='header'>TikTok: @matthewzip</p>
   <p class='header'>Replit: @MatthewADev</p>

  <a href="">Tiktok</a><br>
  <a href="">Replit</a>
ch1ck3n (2069)

@MatthewADev if you need any help just ping me


ch1ck3n (2069)

@MatthewADev ooh
im making a help button

just press it when you need help

ch1ck3n (2069)

Where do you want to align it

MatthewADev (18)

@ch1ck3n i want it to be centered
and my rn is TikTok Replit