HTML/CSS/JavaScript Playground
HTML/CSS/JavaScript
HTML
CSS
Javascript
C++
C
PHP
Java
Python
Swift
C#
Ruby
Node.JS
Kotlin
jQuery
Go
R
TypeScript
Start HTML Course
Register
centered button
+11
Author: Keith
Dark
Public
Save
html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<!-- Support forums example -->
<html>
<head>
<title>Using inline CSS to center a button
</title>
</head>
<body>
<div style="text-align:center;">
<button>button</button>
</div>
</body>
</html>
css
css
1
2
3
body {
}
js
js
1
BROWSER
Console