ut&quot;, {readOnly: true}) // uppercase
m(&quot;input[readonly]&quot;)
m(&quot;input[readOnly]&quot;)
</code></pre>
<hr>
<h3 id="style-attribute"><a href="#style-attribute">Style attribute</a></h3>
<p>Mithril supports both strings and objects as valid <code>style</code> values. In other words, all of the following are supported:</p>
<pre><code class="lang-javascript">m(&quot;div&quot;, {style: &quot;background:red;&quot;})
m(&quot;div&quot;, {style: {background: &quot;red&quot;}})
m(&quot;div[style=backgro