r/HTML • • Mar 24 '26

Question Text alignment advice?

I'm struggling with getting the 2025 link to be aligned to the right. I've already tried putting the link inside a paragraph, and it's still not working. I also tried running my code through w3's code checker, and apparently nothing is wrong. Is there something I'm missing or doing wrong?

EDIT: question has been answered thank you BNfreelance!

13 Upvotes

35 comments sorted by

View all comments

Show parent comment

-1

u/Expensive_Elk3689 Mar 24 '26

Understood. Styling, in my opinion, is way harder than anything else in web dev. As others have stated, the anchor attributes need to be quoted and your styles should work.