如何将边框对齐到 html 页面的中心
How can I align the border at the center of the html page
<html>
<body>
<div align="center" style="width=1000;height=100;padding=10;border=10 solid dark-blue ;"> <h> <B> hello </B> </h> <BR></div>
</body>
</html>
这是我的 html 代码。任何人都可以帮助我在不使用 CSS 的情况下将此边框放在页面中间吗?
只需将“div”括在标签中即可。这样就可以了!
<html>
</body>
<center>
<div align="center" style="width:1000px;height:100px;padding:10px;border:10px solid darkblue ;"> <h1> <B> BLABLABLA</B> </h1> <br> </div>
</center></body>
</html>
<html>
<body>
<div align="center" style="width=1000;height=100;padding=10;border=10 solid dark-blue ;"> <h> <B> hello </B> </h> <BR></div>
</body>
</html>
这是我的 html 代码。任何人都可以帮助我在不使用 CSS 的情况下将此边框放在页面中间吗?
只需将“div”括在标签中即可。这样就可以了!
<html>
</body>
<center>
<div align="center" style="width:1000px;height:100px;padding:10px;border:10px solid darkblue ;"> <h1> <B> BLABLABLA</B> </h1> <br> </div>
</center></body>
</html>