I have some experience with Java , C , databases , networking etc..But anything related with Html I am a begginer.The only thing that I am looking for is to center two words
These times full centering is best achieved using either flexbox or grid layout. So if we just want to center some element within its parent we do something like this:
<div class="parent">
<div class="child">Some Stuff</div>
</div>
.parent {
display: flex;
justify-content: center;
align-items: center;
align-content: center;
}
.child {
text-align: center; /* If we want the child element's content horiz centered within its own container */
}