Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Build Your Own ASP.NET 2.0 Web Site Using CSharp And VB (2006) [eng]-1.pdf
Скачиваний:
142
Добавлен:
16.08.2013
Размер:
15.69 Mб
Скачать

HtmlImage Control

Visible

if set to False, the control won’t be visible

HtmlImage Control

The HTMLImage control corresponds to an HTML img element.

Properties

Align

details alignment of the image with respect to other

 

elements on the page; can be Top, Middle, Bottom,

 

Left, or Right

Alt

a caption to use if the browser doesn’t support images,

 

or the image hasn’t yet downloaded

Attributes

a collection of the element’s attribute names and their

 

values

Border

specifies the width of the border around the image

Disabled

if set to True, the control will be disabled

Height

specifies the height of the image

ID

contains the control’s ID

Src

contains the URL of the image

Style

contains the control’s CSS properties

TagName

returns the element’s tag name

Visible

if set to False, the control won’t be visible

Width

specifies the width of the image

HtmlInputButton Control

HtmlInputButton represents an <input runat="server"> tag with a type attribute of button, submit, or reset.

647