While yes, you can code
Code:
<p style="text-align:center">* * *</p>
it's being suggested that using a stylesheet and named styles would be more beneficial.
You would want to make a new stylesheet (say
my.css) and it would contain
Code:
.center {
text-align: center;
}
Then you would link my.css to the files within the eBook within Sigil, and in the actual files just code
Code:
<p class="center">* * *</p>
<h2 class="center">Préambule</h2>
Or if you wanted ALL <h2>'s to be centered you could place in
my.css
Code:
h2 {
text-align: center;
}
and then just code