programming-examples/html/Text/css_text_align.html

13 lines
203 B
HTML
Raw Normal View History

2019-11-15 12:59:38 +01:00
<!DOCTYPE html>
<html>
<head>
<title>Html5</title>
<meta charset="UTF-8">
<style type="text/css">
#center {text-align: center;}
</style>
</head>
<body>
<div id="center">Center text</div>
</body>
</html>