Answers for "add multiple style attributes html"

3

how to add multiple CSS inline html

<p style="color:red;text-align:center;font-weight:bold;font-size:20px;"> Hello there!</p>
Posted by: Guest on August-10-2020
4

how to write multiple style in html

<h1 style="color:blue;text-align:center">This is a header</h1>
<p style="color:green">This is a paragraph.</p>
Posted by: Guest on May-28-2020
0

set multiple attributes css javascript

document.getElementById("myElement").style.cssText = "display: block; position: absolute";
Posted by: Guest on August-03-2020

Code answers related to "add multiple style attributes html"

Browse Popular Code Answers by Language