Hi makenzi.exc,
Use the HTML align attrubute with value as center.
HTML align attribute is used to specify the alignment of the text content of the element.
It has the following possible values.
left, right, center, justify
left - It sets the text left align.
right - It sets the text right align.
center - It sets the text center align.
justify - It stretches the text of a paragraph to set the width of all lines equal.
Refer below example.
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
body { font-family: Arial; font-size: 10pt; }
</style>
</head>
<body>
<div id="dvContent" align="center">
Welcome to ASPSnippets
</div>
</body>
</html>
Demo
Screenshot

Downloads
Download Sample