HTML読み取り専用属性</h1> <div class="ad4"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4480737146802772" crossorigin="anonymous"></script><!-- jp.wsxdn --><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4480737146802772" data-ad-slot="8732170639" data-ad-format="auto" data-full-width-responsive="true"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div> <div class="article"> <hr /> <p> <textarea>要素のreadonly属性は、textareaを読み取り専用として設定するために使用されます。読み取り専用に設定されている場合、訪問者はテキストエリアのテキストを変更できません。</P> <p> ただし、訪問者はそのコンテンツをコピーできます。</P> <p> 以下は構文です-</P> <pre><textarea readonly></pre> <p> <textarea>要素-</P>の読み取り専用属性を実装する例を見てみましょう。 <h2>例</h2> <pre><!DOCTYPE html> <html> <body> <h2>Interview Questions</h2> <p>Q1</p> <textarea rows="6" cols="70" placeholder="Why do you want go for the Editor Job Profile? (100 words)"> </textarea> <p>Q2</p> <textarea rows="6" cols="70" placeholder="Do you have any previous publishing experience? (100 words)"> </textarea> <p>Guidelines to appear for interview:</p> <textarea rows="6" cols="70" readonly> The interviewee should reach at 10AM with the certificates. </textarea> </body> </html></pre> <h2>出力</h2> <p> <img loading='lazy' alt='HTML textarea 読み取り専用属性 ' src="/article/uploadfiles/202203/2022033116090716.jpg" /> </P> <p> 上記の例では、3つのtextarea-</P>があります。 <pre><p>Q1</p> <textarea rows="6" cols="70" placeholder="Why do you want go for the Editor Job Profile? (100 words)"> </textarea> <p>Q2</p> <textarea rows="6" cols="70" placeholder="Do you have any previous publishing experience? (100 words)"> </textarea> <p>Guidelines to appear for interview:</p> <textarea rows="6" cols="70" readonly> The interviewee should reach at 10AM with the certificates. </textarea></pre> <p> このテキストエリアの1つは読み取り専用に設定されているため、ユーザーはテキストを追加できません-</P> <pre><textarea rows="6" cols="70" readonly> The interviewee should reach at 10AM with the certificates. </textarea></pre> <br> </div> <div class="ad5"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4480737146802772" crossorigin="anonymous"></script> <!-- jp.wsxdn 2 --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4480737146802772" data-ad-slot="2397329591" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> adsbygoogle = window.adsbygoogle || [].push{}; </script></div> <div id="turn-page" class="f-between"> <div class="page up f-align"> <i class="prev"></i> <a class='LinkPrevArticle' href='https://jp.wsxdn.com/pn014i/ay151t/1001064379.html' >HTML<time>タグ </a> </div> <div class="page down f-align"> <a class='LinkNextArticle' href='https://jp.wsxdn.com/pn014i/ay151t/1001064381.html' >HTMLキャンバスfillStyleプロパティ </a> <i class="next"></i> </div> </div> <section class="bottom-list"> <ol> <li class="f-between"> <div> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001065145.html" class="t-over" title="HTML値属性 "> <span>HTML値属性 </span> </a> <p class="r-over r-over-3"> HTML value属性は、HTMLドキュメント内のHTML要素の初期値を定義します。 ボタン、入力、メーター、li、オプション、進行状況に適用できます。 およびparam HTML要素。 構文 以下は構文です- <tagname value=”text”></tagname> HTML値の属性の例を見てみましょう- 例 <!DOCTYPE html> <html> <style> body { color: #000; &n </p> </div> </li> <li class="f-between"> <div> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001065150.html" class="t-over" title="HTML行属性 "> <span>HTML行属性 </span> </a> <p class="r-over r-over-3"> HTML行属性は、テキストエリアの表示される高さを定義します HTMLドキュメントの要素。 構文 以下は構文です- <textarea rows=”number”></textarea> HTML行の例を見てみましょう属性- 例 <!DOCTYPE html> <html> <style> body { color: #000; height: 100vh; </p> </div> </li> </ol> </section> </article> <aside class="box1-r box4-r"> <section class="small-nav"> <ul class="f-between"> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/gd144y/' target="_self">Cプログラミング</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/qo145i/' target="_self">C ++</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/jh146b/' target="_self">Redis</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/hf147z/' target="_self">BASHプログラミング</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/mk148e/' target="_self">Python</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/lj149d/' target="_self">Java</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/ay150s/' target="_self">データベース</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/ay151t/' target="_self">HTML</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/pn152h/' target="_self">Javascript</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/jh153b/' target="_self">プログラミング</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/if154a/' target="_self">CSS</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/ig155a/' target="_self">Ruby</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/jg156b/' target="_self">SQL</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/ig157b/' target="_self">IOS</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/wu158p/' target="_self">Android</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/ge159z/' target="_self">MongoDB</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/jh160b/' target="_self">MySQL</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/ec161w/' target="_self">C#</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/gd165y/' target="_self">PHP</a></li> <li><a class='childclass' href='https://jp.wsxdn.com/pn014i/ig171a/' target="_self">SQL Server</a></li> </ul> </section> <div class="box1-r-list"> <div> <i></i> <span>HTML</span> </div> <ol> <li class="f-start"> <em></em> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001064314.html" class="r-over r-over-2" title="HTML<q>引用属性 ">HTML<q>引用属性 </a> </li> <li class="f-start"> <em></em> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001064338.html" class="r-over r-over-2" title="HTML<textarea>cols属性 ">HTML<textarea>cols属性 </a> </li> <li class="f-start"> <em></em> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001064342.html" class="r-over r-over-2" title="HTML<textarea>オートフォーカス属性 ">HTML<textarea>オートフォーカス属性 </a> </li> <li class="f-start"> <em></em> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001064356.html" class="r-over r-over-2" title="HTML<textarea>プレースホルダー属性 ">HTML<textarea>プレースホルダー属性 </a> </li> <li class="f-start"> <em></em> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001064392.html" class="r-over r-over-2" title="HTML列属性 ">HTML列属性 </a> </li> <li class="f-start"> <em></em> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001064416.html" class="r-over r-over-2" title="HTML<textarea>必須属性 ">HTML<textarea>必須属性 </a> </li> <li class="f-start"> <em></em> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001065058.html" class="r-over r-over-2" title="HTML<textarea>無効属性 ">HTML<textarea>無効属性 </a> </li> <li class="f-start"> <em></em> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001065060.html" class="r-over r-over-2" title="HTML属性 ">HTML属性 </a> </li> <li class="f-start"> <em></em> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001065074.html" class="r-over r-over-2" title="HTML入力読み取り専用属性 ">HTML入力読み取り専用属性 </a> </li> <li class="f-start"> <em></em> <a href="https://jp.wsxdn.com/pn014i/ay151t/1001065075.html" class="r-over r-over-2" title="HTMLID属性 ">HTMLID属性 </a> </li> </ol> </div> </aside> </section> <footer> <section> <span class="container f-center"> 著作権 © <a href="https://jp.wsxdn.com">https://jp.wsxdn.com</a> 全著作権所有 </span> </section> </footer> </body> </html>