<

HTML <center> Tag

The <center> tag is not supported in HTML5. Use CSS instead.The <center> tag is used to center-align text.

Example




<!DOCTYPE html>
<html>
<body>

<p>This is some text.</p>
<center>This text will be center-aligned.</center>
<p>This is some text.</p>

</body>
</html>
















© copyright 2017-2022 Completedone pvt ltd.