I have some HTML:
This is some text in a div element!
The Div is c
A div is a block element, and will span the width of the container unless a width is set. A span is an inline element, and will have the width of the text inside it. Currently, you are trying to set align as a CSS property. Align is an attribute.
This is some text in a div element!
However, the align attribute is deprecated. You should use the CSS text-align
property on the container.
This is some text in a div element!