What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

How do I center text on the left/right


New member
I want the text itself to be centered even when it’s not in the center of the actual screen but idk how. My teacher taught us about margins but idk if that is the answer but either way it didn’t work for me unless I did it wrong. I’ve finished most of my website but I just wanted the text on the left and right to be centered and on the left and right side of the screen, but not aligned that way