एचटीएमएल
<article class="autobot">
<h1>Autobot</h1>
</article>
CSS
.autobot {
display: flex;
}
.autobot > * {
margin: auto;
}
<article class="autobot">
<h1>Autobot</h1>
</article>
.autobot {
display: flex;
}
.autobot > * {
margin: auto;
}
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-10-19 (UTC) को अपडेट किया गया.