Center tag in Html

Uses of <center> tag

This tag is used to center align text.


Example:

<!DOCTYPE html>
<html>
<head>
<title>Center tag</title>
</head>

<body>
Normal Text
<center>This text will be displayed in the center.</center>
</body>
</html>

Output of this code will look like this: