Cannot align heading text to center


I’ve never seen an “align” attribute before. You are probably trying to style the tag so use the style attribute and put your inline style there.

Hello LOH
remove align="center" from your h1 Tag and add
h1 { text-align: center;} to your <style>...</style> section.
like eoja said align is not an attribute of html tags.
or you can do this also:
<h1 style="text-align: center;">...</h1>.

1 Like

Thanks! I’ve been seeing the words “inline style” in the actual code of some of these. Can you elaborate on that for me?