Blog Archives

Remove a text from a textbox when the it is focused

Webpage should be designed such that the elements/controls occupy less space in any webpage for improving user-friendliness, especially in Home page of any website. This can be achieved in many different ways. One way is instead of displaying the Labels

Posted in General, Html Tagged with: ,

Displaying vertical scroll bar dynamically in HTML elements

Vertical scroll bar in HTML controls/elements/tags such as TEXTAREA and SELECT will be useful if the element has more content/items. But always showing Vertical scroll bar will be occupying some space in the page unnecessarily. So the best way is,

Posted in Html Tagged with: ,

Allowing Users to Change attribute of the HTML tag using javascript

Normally we will set values for attributes of HTML tag during design time. But each user will be expecting different values. For example “scrollamount=’2′” set in marquee tag may not be suitable for all users. Some people will expect more

Posted in Html, Javascript Tagged with: ,

Basics of Session and Cookies

We know that Webpages are getting displayed using stateless Protocol. So there should be someway for keeping the session of the user navigating the webpages within a website. Session variables and Cookie variables can be used for this purpose. Basically Session variables

Posted in Basics of Internet, Html, Php Tagged with: ,

Focusing HTML element immediately after loading the web page

Focusing (i-e putting cursor) appropriate control/HTML element in a webpage will enhance the user experience. It should be done once after loading the page. We can use the below javascript code for doing this ononload event of window. This code should

Posted in General, Html

Cross browser web development

The important challenge for any web developer is making the website work in many different types of browsers(IE, FireFox, Safari, and Chrome) and also in different browser versions. To achieve this, we may need to write separate code for each

Posted in General, Html Tagged with: ,

Ways to improve user experience in any website

As of now, I can think about below things to improve user friendliness or user experience. Put the cursor (i-e give focus) in the appropriate HTML control/element immediately after loading the webpage. If possible provide appropriate/standard shortcut keys. When doing

Posted in General, Html Tagged with: ,

Links

HTML Hyperlinks (Links) A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section within the current document. When you move the cursor over

Posted in Html

Lists

Ordered List : If you want to display the list of items with numbering ,then using <ol> tag , it is a ordered list. It have type attribute which tell its number or capital letters or roman letters etc., -<ol>

Posted in Html