Explore a little.C ProgrammingC++HTMLVisual BasicSystem AnalysisE-CommerceBCA Notes
LEARN SOMETHING NEW

Center tag in Html

Read4BCA learning libraryFree access

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:

Center tag in Html example

This lesson preserves the original Read4BCA material. Some programming examples use older tools and syntax. View original page.