I'm making a very simple web page but i need help positioning it in the center. How would I go about vertically and horizontally centering this? I have tried several other posts on here but none seem to work so it would be great if some could help me based on my specific code.
I provided the HTML below:
<!DOCTYPE html>
<html>
<head><meta charset="utf-8">
<title>
example — example & example
</title>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<link rel="stylesheet" href="/assets/stylesheets/main.css">
<link href="https://fonts.googleapis.com/css?family=Dosis" rel="stylesheet">
<style>
body {
font-family: 'Dosis';
}
</style>
</head>
<body>
<div style="text-align: center; font-size:16px; text-transform: uppercase;">
example.IO
<br>
USA
<br><br>
example & example
<br>
coming soon 2018
<br><br>
<a href="mailto:example5@gmail.com" style="color: black; font-weight: 600; text-decoration: none;">support@example.io</a>
<br><br>
<a href="https://example.company.io" style="color: black; font-weight: 600; text-decoration: none;">purchase a example</a>
<br>
<a href="https://example.company.io" style="color: black; font-weight: 600; text-decoration: none;">purchase examples2</a>
<br>
<br>
</div>
</html>