ToolBox HTML Control HTMLDiv

HTML Div Web Server Control

In ASP.NET environment,This Article represents you how to work with HTML Div Control.In HTML environment, Div is an object that represents an Div in an HTML form. The Div control in a HTML form contains all instance of an <div> tag.

There are several functions available to access the HTML Div.some of its funtions are as follows,

  • document.getElementById()
  • document.getElementByName()
Div Objects Properties
  • id -Sets or returns the id of a Select
  • tabIndex -Sets or returns the tab order for a dropdown list
  • align -Sets the alignment of its childs
  • dir -Sets or returns the direction of text
  • lang -Sets or returns the language code for an element
  • title -Sets or returns an element's advisory title
  • className -Sets or returns the class attribute of an element
Methods
  • add() -Adds an option to a dropdown list
  • blur() -Removes focus from a dropdown list
  • focus() -Sets focus on a dropdown list
  • remove() -Removes an option from a dropdown list

The following code snippets explains you the HTML Div in the web form.

in .aspx page,

 
<div id="div1" align="center">
    <span id="spn1" runat="server">
    This sample represents Div control
     </span>
</div>

 
Related Links

Posted by: Admin
Posted on: 9/18/2009 at 4:49 PM
Tags: , ,
Categories: Asp.net
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (14) | Post RSSRSS comment feed

Comments

Onlineatoz.net

Friday, September 18, 2009 4:56 PM

trackback

ToolBox HTML Control HTMLTextArea

ToolBox HTML Control HTMLTextArea

Rapidshare United States

Wednesday, April 28, 2010 3:18 AM

Rapidshare

I\'m happy I found this blog, I couldnt discover any info on this subject matter prior to. I also run a site and if you want to ever serious in a little bit of guest writing for me if possible feel free to let me know, i\'m always look for people to check out my site. Please stop by and leave a comment sometime!

Svitlana.Net.Ua United States

Wednesday, June 16, 2010 4:53 AM

Svitlana.Net.Ua

I would like to thank you for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now.

няня United States

Friday, June 18, 2010 11:49 PM

няня

I would like to thank you for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now.
http://svitlana.net.ua/staff/category/3/ гувернантка, http://svitlana.net.ua/staff/category/5/ повар, http://svitlana.net.ua/staff/category/6/ садовник, http://svitlana.net.ua/staff/category/10/ репетитор, http://svitlana.net.ua/staff/category/4 домработница, http://svitlana.net.ua/staff/category/8/ семейная пара, http://svitlana.net.ua/pages/2/ работа няней.

Лучшие проститутки United States

Thursday, June 24, 2010 8:31 AM

Лучшие проститутки

Но, в тоже время, отдых невозможно себе представить без интим утех и прочих развлечений, которые могут подарить вам проститутки Сочи.  Наша машина плавно подъезжает к Адлеру и начинает  двигаться в глубинку, что бы могли насладиться полным одиночеством и воссоединением с природой. Как правило, у нас это редко получается, потому, что там где мы останавливаемся, всегда достаточно народа, которые предпочитают отдых не в гостиницах и пансионатах, а именно такой, дикий.

ugg boots People's Republic of China

Saturday, June 26, 2010 4:05 AM

ugg boots

Well , the view of the passage is totally correct ,your details is really  reasonable and  you <a href=" http://www.discountbootsonsale.co.uk/
" >wslmart.net </a> guy give us  valuable  informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!

покер United States

Sunday, June 27, 2010 12:41 PM

покер

It\'s an intriguing approach. I commonly see minimalist judgments on the matter but yours it\'s written in a pretty special way. For sure, I will revisit your site for more info.

Магазин сантехники United States

Monday, July 05, 2010 8:47 AM

Магазин сантехники

It\\\'s an intriguing approach. I ordinarily stumble upon ordinary thoughts on the theme but yours it\\\'s written in a pretty special way. Sure enough, I will revisit your website for additional information.

Проститутки в Москве United States

Thursday, July 08, 2010 4:59 PM

Проститутки в Москве

You made fantastic nice points here. I performed a search on the issue and discovered almost all peoples will agree with your blog.

Проститутки United States

Sunday, July 11, 2010 10:11 AM

Проститутки

You gave nice ideas here. I done a research on the issue and learnt most peoples will agree with your blog. Certainly, these practices are unfair; but they say that most of their rules are only to apply to people who overdraw.

Новинки сантехники United States

Monday, July 12, 2010 5:33 AM

Новинки сантехники

I really loved reading your thoughts, obviously you know what are you talking about! Your site is so easy to use too, I’ve bookmark it in my folder :-D

nfl jersey People's Republic of China

Friday, July 23, 2010 9:10 AM

nfl jersey

Thanks for the info!!

Timberland Boots sale United States

Thursday, July 29, 2010 11:41 AM

Timberland Boots sale

Through reading more good articles to improve our quality of life. Your blog make me feel comfortable. At the sametime,http://www.timberlandshoesonline.com I will introduce you to know about a comfortable shoes that makes your life better! you can choice what you like!

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading