HTML Text Alignment Explain
The text-align property defines the horizontal text alignment for an HTML element.
Html Code:
<!DOCTYPE html>
<html>
<body>
<h1 style="text-align:center;">Centered heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Post a Comment