Thursday, July 1, 2010

TabIndex

It is used to set the focus on the HTML object when user uses tab key. When user pressed tab key then by default it starts from the top, but we want when user press tab key then focus must be given to particular text, buttton, link etc. Then use tabindex property.
< input type="text" id="user" tabindex="1" />

Tuesday, June 29, 2010

Cascading Style Sheet Cascade

If you want to make sure a particual property must be fixed to a html tag, you nees add the !important property to the declaration.
 for e.g. P tag with color red is declared & dont want to change this color property at ant way. Then go for !imprtant
p
{
color : red !important
}
By this way prevent properties from changing value
p
{
color : blue;
}
<p style="color : red">
Both above declaration cannot affect red color of the p tag


 


Monday, June 28, 2010

Posting blog via email

I am trying to post this blog by email. Lets see what happens

Wow This is posted.
Google tussi great ho
Amol.....
9595991644

Auto Refreshing Web Page

I want to see cricket match score on yahoo, i just logged on cricket page. I get what i want, but one thing i notice the page is refreshed after certain seconds. I was just thinking that how it has done. Finally i got my answer which is very simple.

<META http-equiv="REFRESH" content="5";>

Just including this tag in head section of html page, page will auto redirected after every 5 seconds.

<meta http-equiv="REFRESH" content="0;URL='filename.mp3'" >
By this way u can run background music. Instead of that i suggest use embed tag. Using embed tag we can run video files also.

Saturday, June 26, 2010

Drupal - Best Content Management System

I think drupal is better CMS than other like joomla. Drupal is very user friendly cms, it has many contributed modules(daily). With the help of this we can make a pwoerful website in a day. With adding new modules we can add more functionality to our site. & for this its not necessary to have good programming knowledge. Its open source free ware & what u expect yaar every thing is free...

Tuesday, May 11, 2010

If you feel diffcult to type in hindi or marathi like me then a site can help you.
Quillapad
Visit this site select language & type in english. Suppose if you want to write " kasa aahes" in marathi then type like this in editor & u can save this text file.

Saturday, May 8, 2010

XHTML - stricter & cleaner

XHTML

Stands for Extensible Hypertext Markup Language.It is combination of html & xml. We can say it is stricter & cleaner version of html. It is W3C recommendation. All browsers support xhtml.

Why XHTML
There are wide range of browsers available in market. Some browsers runs on computer, some on small devices like pda, moblie phones. These small devices do not have the power to interpret bad markup language. If you write a web page in xhtml it is ensure that it runs in all browsers. So go for xhtml insead of old html.

Difference between html & xhtml

* XHTML elements must be properly nested
* XHTML elements must always be closed
* XHTML elements must be in lowercase
* XHTML documents must have one root element

* Attribute names must be in lower case
* Attribute values must be quoted
* Attribute minimization is forbidden
* The id attribute replaces the name attribute
* The XHTML DTD defines mandatory elements