るりまサーチ

最速Rubyリファレンスマニュアル検索!
252件ヒット [101-200件を表示] (0.028秒)
トップページ > クエリ:attribute[x] > ライブラリ:cgi/html[x]

別のキーワード

  1. attribute new
  2. attribute value
  3. element add_attribute
  4. rexml/document attribute
  5. rexml/document add_attribute

モジュール

キーワード

検索結果

<< < 1 2 3 > >>

CGI::HtmlExtension#image_button(attributes) -> String (102.0)

タイプが image の input 要素を生成します。

...タイプが image の input 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
image_button({ "SRC" => "url", "ALT" => "string" })
# <INPUT TYPE="image" SRC="url" ALT="string">...

CGI::HtmlExtension#img(attributes) -> String (102.0)

img 要素を生成します。

...img 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
img({ "SRC" => "src", "ALT" => "alt", "WIDTH" => 100, "HEIGHT" => 50 })
# <IMG SRC="src" ALT="alt" WIDTH="100" HEIGHT="50">...

CGI::HtmlExtension#multipart_form(attributes) -> String (102.0)

enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。

...ットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。

@param attributes 属性をハッシュで指定します。

例:
multipart_form("url"){ "string" }
# <FORM METHOD="post" ACTION="url" ENCTYPE="multipart/f...

CGI::HtmlExtension#multipart_form(attributes) { ... } -> String (102.0)

enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。

...ットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。

@param attributes 属性をハッシュで指定します。

例:
multipart_form("url"){ "string" }
# <FORM METHOD="post" ACTION="url" ENCTYPE="multipart/f...

CGI::HtmlExtension#password_field(attributes) -> String (102.0)

タイプが password である input 要素を生成します。

...タイプが password である input 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
password_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="password" NAME="name" VALUE="value">...

絞り込み条件を変える

CGI::HtmlExtension#popup_menu(attributes) -> String (102.0)

select 要素を生成します。

...select 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
popup_menu({"NAME" => "name", "SIZE" => 2, "MULTIPLE" => true,
"VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"] })
# <SELECT NAME="name" MULTIPLE SIZE="2...

CGI::HtmlExtension#radio_button(attributes) -> String (102.0)

タイプが radio である input 要素を生成します。

...タイプが radio である input 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
radio_button({ "NAME" => "name", "VALUE" => "value", "ID" => "foo" })
# <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo">...

CGI::HtmlExtension#radio_group(attributes) -> String (102.0)

タイプが radio である input 要素のリストを生成します。

...れる input 要素の name 属性はすべて同じになり、
それぞれの input 要素の後ろにはラベルが続きます。

@param attributes 属性をハッシュで指定します。

例:
radio_group({ "NAME" => "name",
"VALUES" => ["foo", "bar", "baz"] })

radi...

CGI::HtmlExtension#reset(attributes) -> String (102.0)

タイプが reset である input 要素を生成します。

...タイプが reset である input 要素を生成します。

@param attributes 属性をハッシュで指定します。

reset({ "VALUE" => "reset", "ID" => "foo" })
# <INPUT TYPE="reset" VALUE="reset" ID="foo">...
<< < 1 2 3 > >>