css text align center

Centre a paragraph of text using the text-align css property

Centre this paragraph

Code

<style>
#mypara {
text-align: center;
}
</style>

<p id="mypara">Centre this paragraph</p>