How to place text in the middle of the line in html code example
Example 1: html how to center text
<p style="text-align:center;">Centered paragraph.</p>
Example 2: centering in html
<style>
element
{
text-align: center;
}
</style>
-------------------------------------------------------------------------------
style.css
element
{
text-align: center;
}